com.vlsolutions.swing.docking.ws
Class WSDockKey
java.lang.Object
com.vlsolutions.swing.docking.ws.WSDockKey
public class WSDockKey
extends java.lang.Object
Defines a key associated to a dockable in a workspace.
The internal "key" will have to match the one of a DockKey when the
worspace is applied to a DockingContext.
example :
if your application uses a dockable with DockKey k = new DockKey("testDockable");
than your corresponding WSDockKey will be wsdk = new WSDockKey("testDockable");
Design note : We use this class insted of DockKey because sometimes dockkeys are lazily
created (at dockable creation) and thus aren't already available when specifying a
workspace.
WSDockKey
public WSDockKey(String key)
equals
public boolean equals(Object o)
getAutoHideBorder
public DockingConstants.Hide getAutoHideBorder()
Returns the autohide border of this dockable, or null if not set
getKey
public String getKey()
returns the inner key of this object (which must match a DockKey's 'key' instance variable)
hashCode
public int hashCode()
returns this object's hashcode
setAutoHideBorder
public void setAutoHideBorder(DockingConstants.Hide border)
Updates the autohide border property
toString
public String toString()
© Copyright 2004-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications