com.vlsolutions.swing.docking.ui
Class AutoHideButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.LabelUI
          extended by javax.swing.plaf.basic.BasicLabelUI
              extended by 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 :

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
           
 
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
 
Constructor Summary
AutoHideButtonUI()
           
 
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
 

Field Detail

instance

protected static AutoHideButtonUI instance
Constructor Detail

AutoHideButtonUI

public AutoHideButtonUI()
Method Detail

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