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 Details

    • 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(boolean reset)
      Gets the user set location of this dockable. Sets the location to null.
      Parameters:
      reset - if true, then the location is reset 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