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, uninstallListeners
protected 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.BasicLabelUI
public void uninstallUI(javax.swing.JComponent comp)
uninstallUI
in class javax.swing.plaf.basic.BasicLabelUI
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class javax.swing.plaf.basic.BasicLabelUI
protected void installBorder(AutoHideButton btn)
public void paint(java.awt.Graphics g, javax.swing.JComponent comp)
paint
in class javax.swing.plaf.basic.BasicLabelUI
Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.