|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vlsolutions.swing.docking.ws.WSDockKey
public class WSDockKey
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(java.lang.String key)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
DockingConstants.Hide |
getAutoHideBorder()
Returns the autohide border of this dockable, or null if not set |
java.lang.String |
getKey()
returns the inner key of this object (which must match a DockKey's 'key' instance variable) |
int |
hashCode()
returns this object's hashcode |
void |
setAutoHideBorder(DockingConstants.Hide border)
Updates the autohide border property |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WSDockKey(java.lang.String key)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String getKey()
public DockingConstants.Hide getAutoHideBorder()
public void setAutoHideBorder(DockingConstants.Hide border)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |