|
||||||||||
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 | |
---|---|
void |
add(DockableDisplayer displayer)
Adds a displayer to the list of all known displayers. |
PutInfo |
checkPutInfo(PutInfo info)
Checks whether info is valid or not. |
Leaf |
createLeaf(Dockable dockable)
Adds dockable to the list of children, generates a
title and a Leaf for dockable , but does not
add the leaf to this 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. |
double |
validateDivider(double divider,
Node node)
Tests whether the given value of the divider is a legal value or not. |
Method Detail |
---|
SplitDockStation getOwner()
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
.void add(DockableDisplayer displayer)
displayer
- the new displayerLeaf createLeaf(Dockable dockable)
dockable
to the list of children, generates a
title and a Leaf
for dockable
, but does not
add the leaf to this station. The location of the leaf has be set by
the caller.
dockable
- the new child of this station.
Leaf
for dockable
boolean 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 checkPutInfo(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 |