public interface ILayers
ILayer
instances.
HierarchicLayoutCore
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 ILayers
instances.
ILayer
Modifier and Type | Method and Description |
---|---|
ILayers |
createInstance()
Creates a new and empty
ILayers instance that can be used on the same graph instance for temporary results. |
ILayer |
getLayer(int i)
Returns the
layer at the specified position in this list of layers . |
ILayer |
insert(LayerType 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()
|
ILayers createInstance()
ILayers
instance that can be used on the same graph instance for temporary results.ILayers
instanceILayer getLayer(int i)
layer
at the specified position in this list of layers
.ILayer insert(LayerType type, int position)
layer
of a given type associated with this
list of layers
.void remove(int index)
layer
at the specified position from this list of layers
.index
- the zero-based index of the layer
to removeint size()
ILayers
instance