Class TadukooLabelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
com.github.tadukoo.view.lookandfeel.componentui.TadukooLabelUI
- All Implemented Interfaces:
TComponentUIUtil
,PropertyChangeListener
,EventListener
A
ComponentUI
class for use with Label
s, used by TadukooLookAndFeel
to
provide customizations for the Labels beyond those present in existing Look & Feels.- Version:
- Alpha v.0.3
- Author:
- Logan Ferree (Tadukoo)
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
Returns an instance ofTadukooLabelUI
.Retrieves the Property Prefix string present on the Component UI class.void
protected void
paintDisabledText
(JLabel l, Graphics g, String s, int textX, int textY) protected void
paintEnabledText
(JLabel l, Graphics g, String s, int textX, int textY) void
void
update
(Graphics g, JComponent c) Methods inherited from class javax.swing.plaf.basic.BasicLabelUI
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installKeyboardActions, installListeners, installUI, layoutCL, paint, propertyChange, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.tadukoo.view.lookandfeel.componentui.TComponentUIUtil
getBackgroundPaint, getBackgroundPaint, getDisabledForegroundPaint, getDisabledForegroundPaint, getDisabledTextPaint, getDisabledTextPaint, getFocusPaint, getFocusPaint, getForegroundPaint, getForegroundPaint, getSelectPaint, getSelectPaint, getShape, getShape, installHasDisabledForegroundPaint, installHasDisabledForegroundPaintDefaults, installHasDisabledTextPaint, installHasDisabledTextPaintDefaults, installHasSelectAndFocusPaints, installHasSelectAndFocusPaintsDefaults, installHasSizablePaints, installShaped, installTComponent, installTComponentDefaults, paintBackground, uninstallHasDisabledForegroundPaint, uninstallHasDisabledForegroundPaintDefaults, uninstallHasDisabledTextPaint, uninstallHasDisabledTextPaintDefaults, uninstallHasSelectAndFocusPaints, uninstallHasSelectAndFocusPaintsDefaults, uninstallHasSizablePaints, uninstallShaped, uninstallTComponent, uninstallTComponentDefaults
-
Constructor Details
-
TadukooLabelUI
public TadukooLabelUI()
-
-
Method Details
-
createUI
Returns an instance ofTadukooLabelUI
.- Parameters:
c
- a component- Returns:
- an instance of
TadukooLabelUI
-
getPropertyPrefixString
Retrieves the Property Prefix string present on the Component UI class.
This method is necessary due to the normal propertyPrefix method being default, so it's not available here in this interface.- Specified by:
getPropertyPrefixString
in interfaceTComponentUIUtil
- Returns:
- The property prefix string for this Component UI
-
installDefaults
- Overrides:
installDefaults
in classBasicLabelUI
-
uninstallDefaults
- Overrides:
uninstallDefaults
in classBasicLabelUI
-
update
- Overrides:
update
in classComponentUI
-
paintEnabledText
- Overrides:
paintEnabledText
in classBasicLabelUI
-
paintDisabledText
- Overrides:
paintDisabledText
in classBasicLabelUI
-