Package org.sexydock.tabs.jhrome
Class JhromeNewTabButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
org.sexydock.tabs.jhrome.JhromeNewTabButtonUI
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected float
animate
(float curr, float target) static Icon
static JhromeNewTabButtonUI
void
void
paint
(Graphics g, JComponent c) void
paintFill
(Graphics g, JComponent c) void
protected void
update
(AbstractButton button) Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
Constructor Details
-
JhromeNewTabButtonUI
public JhromeNewTabButtonUI()
-
-
Method Details
-
createUI
-
createNewTabButtonIcon
-
installUI
- Overrides:
installUI
in classBasicButtonUI
-
uninstallUI
- Overrides:
uninstallUI
in classBasicButtonUI
-
paint
- Overrides:
paint
in classBasicButtonUI
-
paintFill
-
animate
protected float animate(float curr, float target) -
update
-
getMinimumSize
- Overrides:
getMinimumSize
in classBasicButtonUI
-
getPreferredSize
- Overrides:
getPreferredSize
in classBasicButtonUI
-
getMaximumSize
- Overrides:
getMaximumSize
in classBasicButtonUI
-