com.vlsolutions.swing.docking
public class AutoHideButton extends JLabel
This component displays the label, tooltip and icon properties of a
Dockable
's DockKey, with a custom look and feel.
Field Summary | |
---|---|
static String | PROPERTY_ZONE property name associated to the "zone" (border) property |
static String | uiClassID |
Constructor Summary | |
---|---|
AutoHideButton() |
Method Summary | |
---|---|
Dockable | getDockable() Returns the dockable this button is for |
DockKey | getKey() Returns the key of the dockable |
Dimension | getMaximumSize() |
Dimension | getMinimumSize() |
Dimension | getPreferredSize() |
String | getUIClassID() |
int | getZone() Returns the border zone of this button |
void | init(Dockable dockable, int zone) Initialize the button for a Dockable and a border zone |
boolean | isSelected() True when the button is currently selected. |
void | setSelected(boolean selected) Selects or unselects the button |