|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Layers
Container class that manages multiple Layer
instances.
HierarchicLayouter
creates instances of this class and passes them
to the instances that handle the various subtasks of the layout process during
automatic layout. Method createInstance()
can be used like 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 a layer by index |
Layer |
insert(byte type,
int position)
Creates, inserts and returns a layer of a given type. |
void |
remove(int index)
Removes a layer by index. |
int |
size()
Returns the number of layers in this instance |
Method Detail |
---|
int size()
Layer getLayer(int i)
i
- the zero-based index
Layer insert(byte type, int position)
type
- a type constant as defined in the Layer
interfaceposition
- the position where this layer will be inserted
void remove(int index)
index
- the zero-based index of the layerLayers createInstance()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |