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 Labels, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIReturns an instance ofTadukooLabelUI.Retrieves the Property Prefix string present on the Component UI class.voidprotected voidpaintDisabledText(JLabel l, Graphics g, String s, int textX, int textY) protected voidpaintEnabledText(JLabel l, Graphics g, String s, int textX, int textY) voidvoidupdate(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, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getPropertyPrefixStringin interfaceTComponentUIUtil- Returns:
- The property prefix string for this Component UI
-
installDefaults
- Overrides:
installDefaultsin classBasicLabelUI
-
uninstallDefaults
- Overrides:
uninstallDefaultsin classBasicLabelUI
-
update
- Overrides:
updatein classComponentUI
-
paintEnabledText
- Overrides:
paintEnabledTextin classBasicLabelUI
-
paintDisabledText
- Overrides:
paintDisabledTextin classBasicLabelUI
-