com.vlsolutions.swing.docking
Class AutoHideButton
JLabel
com.vlsolutions.swing.docking.AutoHideButton
public class AutoHideButton
extends JLabel
The button used to show Dockables in auto-hide borders.
This component displays the label, tooltip and icon properties of a
Dockable
's DockKey, with a custom look and feel.
PROPERTY_ZONE
public static final String PROPERTY_ZONE
property name associated to the "zone" (border) property
uiClassID
public static final String uiClassID
AutoHideButton
public AutoHideButton()
getDockable
public Dockable getDockable()
Returns the dockable this button is for
getKey
public DockKey getKey()
Returns the key of the dockable
getMaximumSize
public Dimension getMaximumSize()
getMinimumSize
public Dimension getMinimumSize()
getPreferredSize
public Dimension getPreferredSize()
getUIClassID
public String getUIClassID()
getZone
public int getZone()
Returns the border zone of this button
init
public void init(Dockable dockable,
int zone)
Initialize the button for a Dockable and a border zone
isSelected
public boolean isSelected()
True when the button is currently selected.
setSelected
public void setSelected(boolean selected)
Selects or unselects the button
© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications