com.vlsolutions.swing.docking.ui

Class AutoHideButtonUI

Implemented Interfaces:
PropertyChangeListener

public class AutoHideButtonUI
extends BasicLabelUI
implements PropertyChangeListener

The UI delegate for AutoHideButtons.

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..)

See Also:
DockingUISettings

Field Summary

protected static AutoHideButtonUI
instance

Constructor Summary

AutoHideButtonUI()

Method Summary

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)

Field Details

instance

protected static AutoHideButtonUI instance

Constructor Details

AutoHideButtonUI

public AutoHideButtonUI()

Method Details

createUI

public static ComponentUI createUI(JComponent x)
Creates a new DockingSplitPaneUI instance

installBorder

protected void installBorder(AutoHideButton btn)

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