|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Layers
This interface manages multiple Layer instances.
HierarchicLayouter creates instances of this class and passes them to the instances that handle the
various sub-tasks of the layout process during automatic layout.
Method createInstance() can be used as a factory method to obtain temporary Layers instances.
Layer
| Method Summary | |
|---|---|
Layers |
createInstance()
Creates a new and empty Layers instance that can be used on the same graph instance for temporary results. |
Layer |
getLayer(int i)
Returns the layer at the specified position in this list of layers. |
Layer |
insert(byte type,
int position)
Creates, inserts and returns a layer of a given type associated with this list of layers. |
void |
remove(int index)
Removes the layer at the specified position from this list of layers. |
int |
size()
Returns the number of layers associated with this Layers instance. |
| Method Detail |
|---|
int size()
layers associated with this Layers instance.
Layers instanceLayer getLayer(int i)
layer at the specified position in this list of layers.
i - the zero-based index of the layer to return
layer at the specified position
Layer insert(byte type,
int position)
layer of a given type associated with this list of layers.
type - one of the predefined layer types as defined in Layer interfaceposition - the index at which the specified layer is to be inserted
Layer instancevoid remove(int index)
layer at the specified position from this list of layers.
index - the zero-based index of the layer to removeLayers createInstance()
Layers instance that can be used on the same graph instance for temporary results.
Layers instance
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||