com.vlsolutions.swing.docking.ui
Class AutoHideButtonUI
BasicLabelUI
com.vlsolutions.swing.docking.ui.AutoHideButtonUI
- PropertyChangeListener
public class AutoHideButtonUI
extends BasicLabelUI
implements 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..)
AutoHideButtonUI
public AutoHideButtonUI()
createUI
public static ComponentUI createUI(JComponent x)
Creates a new DockingSplitPaneUI instance
installUI
public void installUI(JComponent comp)
paint
public void paint(Graphics g,
JComponent comp)
Overriden to paint properly the button on vertical sides.
propertyChange
public void propertyChange(PropertyChangeEvent e)
uninstallUI
public void uninstallUI(JComponent comp)
© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications