|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CControlAccess
Gives access to the internal methods of a CControl
.
This class is not intended to be used by clients, using it wrongly can result in weird
behavior of its owning CControl
.
Method Summary | |
---|---|
CDockableAccess |
access(CDockable dockable)
Grants access to the internal methods of a CDockable . |
DockAction |
createCloseAction(CDockable dockable)
Gets an action that closes dockable when clicked. |
void |
fillMultiFactories(CSetting setting)
Fills the property multiple factory dockables
in setting . |
String |
getFactoryId(MultipleCDockableFactory<?,?> factory)
Gets the id of factory . |
CLocationModeManager |
getLocationManager()
Gets the manager that is responsible to change the extended mode of the Dockable s. |
CControl |
getOwner()
Gets the control to which this object gives access. |
MutableCControlRegister |
getRegister()
Gets the mutable register of the CControl . |
void |
hide(CDockable dockable)
Makes dockable invisible. |
boolean |
isVisible(CDockable dockable)
Tells whether dockable is visible or not. |
void |
link(CDockable dockable,
CDockableAccess access)
Gives or removes access to internal properties of an CDockable . |
String |
shouldStore(CDockable dockable)
Tells whether information about dockable should remain stored even if
the element is removed from the CControl . |
boolean |
shouldStore(String key)
Calls one of the shouldStore methods of MissingCDockableStrategy if
key has the correct format |
void |
show(CDockable dockable)
Makes dockable visible. |
Method Detail |
---|
CControl getOwner()
void show(CDockable dockable)
dockable
visible.
dockable
- the element that will be made visiblevoid hide(CDockable dockable)
dockable
invisible.
dockable
- the element that will be made invisibleboolean isVisible(CDockable dockable)
dockable
is visible or not.
dockable
- the dockable whose visibility-state is in question
true
if dockable
is visibleString getFactoryId(MultipleCDockableFactory<?,?> factory)
factory
.
factory
- the factory to search
null
CLocationModeManager getLocationManager()
Dockable
s.
DockAction createCloseAction(CDockable dockable)
dockable
when clicked.
dockable
- the element to close
void link(CDockable dockable, CDockableAccess access)
CDockable
.
dockable
- the element which changes its accessaccess
- the new access, might be null
CDockableAccess access(CDockable dockable)
CDockable
.
dockable
- the element whose access is searched
null
boolean shouldStore(String key)
shouldStore
methods of MissingCDockableStrategy
if
key
has the correct format
key
- the key for which a dockable might be stored
true
if layout information for key
should
be stored, false
otherwiseString shouldStore(CDockable dockable)
dockable
should remain stored even if
the element is removed from the CControl
.
dockable
- the element to check
null
if nothing should be stored, the unique encoded identifier of dockable
if data should remain storedMutableCControlRegister getRegister()
CControl
. Note that clients should
only query this register, but not change anything in it.
void fillMultiFactories(CSetting setting)
multiple factory dockables
in setting
.
setting
- the setting to fill
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |