|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocationEstimationMap
A map used for DockFactory
, telling what children a DockElement
has.
This map is also a list of DockLayoutInfo
s. The element at index
in this list matches the Dockable
that was stored with key
index
in the map of DockConverter.getLayout(DockElement, java.util.Map)
.
Method Summary | |
---|---|
DockLayoutInfo |
getChild(int childIndex)
Gets the DockLayoutInfo that is associated with key childIndex . |
int |
getChildCount()
Gets the number of children of this map |
DockLayoutInfo |
getSubChild(int childIndex,
int subChildIndex)
Gets the subChildIndex 'th child of childIndex . |
int |
getSubChildCount(int childIndex)
Gets the number of children the item childIndex has. |
void |
setLocation(int childIndex,
DockableProperty location)
Informs this map that the jump from this station to childIndex can be described
by location . |
void |
setLocation(int childIndex,
int subChildIndex,
DockableProperty location)
Informs this map that the path to child childIndex, subChildIndex contains
location . |
Method Detail |
---|
int getChildCount()
DockLayoutInfo getChild(int childIndex)
DockLayoutInfo
that is associated with key childIndex
.
childIndex
- some key between 0 and getChildCount()
null
int getSubChildCount(int childIndex)
childIndex
has.
childIndex
- the key of some element
childIndex
DockLayoutInfo getSubChild(int childIndex, int subChildIndex)
subChildIndex
'th child of childIndex
.
childIndex
- the key to some childsubChildIndex
- the index of some child of childIndex
null
void setLocation(int childIndex, DockableProperty location)
childIndex
can be described
by location
.
childIndex
- the key of some childlocation
- the location of childIndex
, null
will be ignoredvoid setLocation(int childIndex, int subChildIndex, DockableProperty location)
childIndex, subChildIndex
contains
location
. The part location
describes the jump from this
station to the child childIndex
.
childIndex
- the key of some childsubChildIndex
- the index of some grand-childlocation
- the location, null
will be ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |