bibliothek.gui.dock.common.intern
Interface CDockableAccess


public interface CDockableAccess

An interface giving access to the hidden properties of a CDockable. This interface should only be implemented by inner classes of a CDockable. Instances should only be used for calling CControlAccess.link(CDockable, CDockableAccess).

Author:
Benjamin Sigg

Method Summary
 CDoubleClickListener getDoubleClickListener()
          A double click listener which will be informed about double click events that happen on the owner of this access.
 CFocusListener getFocusListener()
          A focus listener which will be informed whenever the owner of this CDockableAccess experiences a change in the focus.
 CKeyboardListener getKeyboardListener()
          A keyboard listener which will be informed about key events that happen on the owner of this access.
 String getUniqueId()
          Gets the unique id of this dockable.
 void informMode(ExtendedMode mode)
          Called after the mode of the CDockable may have 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(ExtendedMode mode)
Called after the mode of the CDockable may have 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

getFocusListener

CFocusListener getFocusListener()
A focus listener which will be informed whenever the owner of this CDockableAccess experiences a change in the focus.

Returns:
the listener

getKeyboardListener

CKeyboardListener getKeyboardListener()
A keyboard listener which will be informed about key events that happen on the owner of this access.

Returns:
the listener

getDoubleClickListener

CDoubleClickListener getDoubleClickListener()
A double click listener which will be informed about double click events that happen on the owner of this access.

Returns:
the listener