bibliothek.gui.dock.common.intern
Interface CDockableAccess


public interface CDockableAccess

An interface giving access to the internal methods of an CDockable. Only CDockables should create instances of this interface.

Author:
Benjamin Sigg

Method Summary
 String getUniqueId()
          Gets the unique id of this dockable.
 void informMode(CDockable.ExtendedMode mode)
          Called after the mode of the CDockable has changed.
 void informVisibility(boolean visible)
          Called after the visibility of the CDockable has changed.
 CLocation internalLocation()
          Gets the user set location of this dockable.
 void setUniqueId(String id)
          Tells which unique id the owning CDockable has.
 

Method Detail

informVisibility

void informVisibility(boolean visible)
Called after the visibility of the CDockable has changed.

Parameters:
visible - the new state

informMode

void informMode(CDockable.ExtendedMode mode)
Called after the mode of the CDockable has changed.

Parameters:
mode - the new mode

setUniqueId

void setUniqueId(String id)
Tells which unique id the owning CDockable has.

Parameters:
id - the unique id

getUniqueId

String getUniqueId()
Gets the unique id of this dockable.

Returns:
the unique id

internalLocation

CLocation internalLocation()
Gets the user set location of this dockable. Sets the location to null.

Returns:
the location