com.vlsolutions.swing.docking.ui
Class AutoHideButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
com.vlsolutions.swing.docking.ui.AutoHideButtonUI
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener
public class AutoHideButtonUI
- extends javax.swing.plaf.basic.BasicLabelUI
- implements java.beans.PropertyChangeListener
The UI delegate for AutoHideButtons.
This UI uses the following properties :
- UIManager.getBorder("AutoHideButton.expandBorderTop")
- UIManager.getBorder("AutoHideButton.expandBorderLeft")
- UIManager.getBorder("AutoHideButton.expandBorderBottom")
- UIManager.getBorder("AutoHideButton.expandBorderRight")
Feel free to provide different borders they will be used accordingly to the
positionning of the button (TOP, LEFT..)
- See Also:
DockingUISettings
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI |
labelUI |
Method Summary |
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)
|
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI |
getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, layoutCL, paintDisabledText, paintEnabledText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static AutoHideButtonUI instance
AutoHideButtonUI
public AutoHideButtonUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
- Creates a new DockingSplitPaneUI instance
installUI
public void installUI(javax.swing.JComponent comp)
- Overrides:
installUI
in class javax.swing.plaf.basic.BasicLabelUI
uninstallUI
public void uninstallUI(javax.swing.JComponent comp)
- Overrides:
uninstallUI
in class javax.swing.plaf.basic.BasicLabelUI
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
- Overrides:
propertyChange
in class javax.swing.plaf.basic.BasicLabelUI
installBorder
protected void installBorder(AutoHideButton btn)
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent comp)
- Overriden to paint properly the button on vertical sides.
- Overrides:
paint
in class javax.swing.plaf.basic.BasicLabelUI
© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications