public class AutoHideButtonUI
extends javax.swing.plaf.basic.BasicLabelUI
implements java.beans.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 |
| Constructor and Description |
|---|
AutoHideButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent x)
Creates a new DockingSplitPaneUI instance
|
protected void |
installBorder(AutoHideButton btn) |
void |
installUI(javax.swing.JComponent comp) |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent comp)
Overriden to paint properly the button on vertical sides.
|
void |
propertyChange(java.beans.PropertyChangeEvent e) |
void |
uninstallUI(javax.swing.JComponent comp) |
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, layoutCL, paintDisabledText, paintEnabledText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListenersprotected static AutoHideButtonUI instance
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
public void installUI(javax.swing.JComponent comp)
installUI in class javax.swing.plaf.basic.BasicLabelUIpublic void uninstallUI(javax.swing.JComponent comp)
uninstallUI in class javax.swing.plaf.basic.BasicLabelUIpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class javax.swing.plaf.basic.BasicLabelUIprotected void installBorder(AutoHideButton btn)
public void paint(java.awt.Graphics g,
javax.swing.JComponent comp)
paint in class javax.swing.plaf.basic.BasicLabelUI© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications