public interface LocationEstimationMap
DockFactory
, telling what children a DockElement
has.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)
.Modifier and Type | Method and Description |
---|---|
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 . |
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. This includes direct
children and grand-children.childIndex
- the key of some elementchildIndex
DockLayoutInfo getSubChild(int childIndex, int subChildIndex)
subChildIndex
'th child of childIndex
. This includes direct
children and grand-children.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