com.vlsolutions.swing.docking.ws

Class WSDockKey

public class WSDockKey extends 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.

Constructor Summary
WSDockKey(String key)
Method Summary
booleanequals(Object o)
DockingConstants.HidegetAutoHideBorder()
Returns the autohide border of this dockable, or null if not set
StringgetKey()
returns the inner key of this object (which must match a DockKey's 'key' instance variable)
inthashCode()
returns this object's hashcode
voidsetAutoHideBorder(DockingConstants.Hide border)
Updates the autohide border property
StringtoString()

Constructor Detail

WSDockKey

public WSDockKey(String key)

Method Detail

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-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications