public class AutoHideButtonUI extends BasicLabelUI implements PropertyChangeListener
This UI uses the following properties :
Feel free to provide different borders they will be used accordingly to the positionning of the button (TOP, LEFT..)
DockingUISettings| Modifier and Type | Field and Description |
|---|---|
protected static AutoHideButtonUI |
instance |
labelUI| Constructor and Description |
|---|
AutoHideButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent x)
Creates a new DockingSplitPaneUI instance
|
protected void |
installBorder(AutoHideButton btn) |
void |
installUI(JComponent comp) |
void |
paint(Graphics g,
JComponent comp)
Overriden to paint properly the button on vertical sides.
|
void |
propertyChange(PropertyChangeEvent e) |
void |
uninstallUI(JComponent comp) |
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, layoutCL, paintDisabledText, paintEnabledText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListenerscontains, getAccessibleChild, getAccessibleChildrenCount, updateprotected static AutoHideButtonUI instance
public static ComponentUI createUI(JComponent x)
public void installUI(JComponent comp)
installUI in class BasicLabelUIpublic void uninstallUI(JComponent comp)
uninstallUI in class BasicLabelUIpublic void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListenerpropertyChange in class BasicLabelUIprotected void installBorder(AutoHideButton btn)
public void paint(Graphics g, JComponent comp)
paint in class BasicLabelUI© Copyright 2004-2013 Lilian Chamontin. All Rights Reserved.