T
- public interface GJLayerInterface<T>
Modifier and Type | Method and Description |
---|---|
T |
add(T graph)
Adds a graph as a child of this graph.
|
T |
getAncestorGraph()
Returns the graph that forms the view in this graph's ancestry.
|
T |
getCurrentLayer()
Returns the currently selected layer
|
int |
getCurrentLayerIndex()
Returns the index of the current layer.
|
T |
getLayer(int n)
Returns the layer at the specified index
|
java.util.ArrayList<T> |
getLayers()
Returns a list of the layers for this graph.
|
int |
indexOf()
Returns the index of this graph as a layer in the view.
|
void |
setCurrentLayer(T layer)
Sets the current layer for this graph.
|
void |
setCurrentLayerIndex(int n)
Sets the current layer by index.
|
T getAncestorGraph()
java.util.ArrayList<T> getLayers()
T add(T graph)
graph
- T getLayer(int n)
n
- the layer number - zero is this layerT getCurrentLayer()
void setCurrentLayer(T layer)
layer
- int getCurrentLayerIndex()
void setCurrentLayerIndex(int n)
n
- int indexOf()