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
Modifier and TypeMethodDescriptionA double click listener which will be informed about double click events that happen on the owner of this access.A focus listener which will be informed whenever the owner of thisCDockableAccessexperiences a change in the focus.A keyboard listener which will be informed about key events that happen on the owner of this access.Gets the unique id of this dockable.voidinformMode(ExtendedMode mode) Called after the mode of theCDockablemay have changed.voidinformVisibility(boolean visible) Called after the visibility of theCDockablehas changed.internalLocation(boolean reset) Gets the user set location of this dockable.voidsetUniqueId(String id) Tells which unique id the owningCDockablehas.
-
Method Details
-
informVisibility
void informVisibility(boolean visible) Called after the visibility of theCDockablehas changed.- Parameters:
visible- the new state
-
informMode
Called after the mode of theCDockablemay have changed.- Parameters:
mode- the new mode
-
setUniqueId
Tells which unique id the owningCDockablehas.- Parameters:
id- the unique id
-
getUniqueId
String getUniqueId()Gets the unique id of this dockable.- Returns:
- the unique id
-
internalLocation
Gets the user set location of this dockable. Sets the location tonull.- Parameters:
reset- iftrue, then the location is reset tonull- Returns:
- the location
-
getFocusListener
CFocusListener getFocusListener()A focus listener which will be informed whenever the owner of thisCDockableAccessexperiences 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
-