Class IgnitionSynthButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.synth.SynthButtonUI
com.inductiveautomation.ignition.client.util.gui.ui.IgnitionSynthButtonUI
- All Implemented Interfaces:
- PropertyChangeListener,- EventListener,- SynthConstants,- SynthUI
Overrides the 
Any future changes to this class should be handled with care as this is applied in the UIManager and will affect all buttons who use the default ButtonUI.
SynthButtonUI and performs some additional checks on the component state to ensure that the
 correct foreground color is set on the Graphics object before painting the buttons text. Both the
 SynthConstants.DEFAULT and SynthConstants.DISABLED states are used to determine the expected
 default color. Any future changes to this class should be handled with care as this is applied in the UIManager and will affect all buttons who use the default ButtonUI.
- 
Field SummaryFields inherited from class javax.swing.plaf.basic.BasicButtonUIdefaultTextIconGap, defaultTextShiftOffsetFields inherited from interface javax.swing.plaf.synth.SynthConstantsDEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ComponentUIprotected voidpaint(SynthContext context, Graphics g) Methods inherited from class javax.swing.plaf.synth.SynthButtonUIgetBaseline, getContext, getDefaultIcon, getIcon, getMaximumSize, getMinimumSize, getPreferredSize, getSizingIcon, installDefaults, installListeners, paint, paintBorder, propertyChange, uninstallDefaults, uninstallListeners, updateMethods inherited from class javax.swing.plaf.basic.BasicButtonUIclearTextShiftOffset, createButtonListener, getBaselineResizeBehavior, getDefaultTextIconGap, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUIcontains, getAccessibleChild, getAccessibleChildrenCount
- 
Constructor Details- 
IgnitionSynthButtonUIpublic IgnitionSynthButtonUI()
 
- 
- 
Method Details- 
createUI
- 
paint- Overrides:
- paintin class- SynthButtonUI
 
 
-