|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SplitDockAccess
Provides access to some internal methods and attributes of a SplitDockStation
. An access
is granted only to a few selected friend classes.
Method Summary | |
---|---|
DockableDisplayer |
addDisplayer(Dockable dockable,
boolean fire)
Creates a DockableDisplayer for dockable and adds
the displayer to the station. |
boolean |
drop(Dockable dockable,
SplitDockProperty property,
SplitNode root)
Tries to add Dockable such that the boundaries given
by property are full filled. |
DockableDisplayer |
getFullScreenDockable()
Gets the DockableDisplayer which is currently in fullscreen-mode. |
SplitDockStation |
getOwner()
Gets the station to which this object grants access. |
DockTitleVersion |
getTitleVersion()
Gets the kind of title owner uses. |
void |
removeDisplayer(DockableDisplayer displayer,
boolean fire)
Removes a DockableDisplayer from the station. |
double |
validateDivider(double divider,
Node node)
Tests whether the given value of the divider is a legal value or not. |
PutInfo |
validatePutInfo(PutInfo info)
Checks whether info is valid or not. |
Method Detail |
---|
SplitDockStation getOwner()
DockTitleVersion getTitleVersion()
owner
uses.
null
DockableDisplayer getFullScreenDockable()
DockableDisplayer
which is currently in fullscreen-mode.
null
double validateDivider(double divider, Node node)
divider
- The value of the dividernode
- the node for which the divider is validated
divider
.DockableDisplayer addDisplayer(Dockable dockable, boolean fire)
DockableDisplayer
for dockable
and adds
the displayer to the station. Binds dockable
.
dockable
- the new Dockable
fire
- whether to inform DockStationListener
s about
the new element
void removeDisplayer(DockableDisplayer displayer, boolean fire)
DockableDisplayer
from the station. The Dockable
of displayer
will be unbound.
displayer
- the element to removefire
- whether to inform DockStationListener
s about
the changeboolean drop(Dockable dockable, SplitDockProperty property, SplitNode root)
Dockable
such that the boundaries given
by property
are full filled.
dockable
- a new child of this stationproperty
- the preferred location of the childroot
- the root of all possible parents where the child could be inserted
true
if the child could be added, false
if no location could be foundPutInfo validatePutInfo(PutInfo info)
info
is valid or not.
info
- the preferred drop location
info
if it is valid, null
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |