Package org.onosproject.ui.model.topo
Class UiNode
- java.lang.Object
-
- org.onosproject.ui.model.topo.UiElement
-
- org.onosproject.ui.model.topo.UiNode
-
-
Field Summary
Fields Modifier and Type Field Description static StringLAYER_DEFAULTDefault "layer" tag.static StringLAYER_OPTICALOptical layer tag.static StringLAYER_PACKETPacket layer tag.
-
Constructor Summary
Constructors Constructor Description UiNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlayer()Returns the tag for the "layer" that the node should be rendered in when viewed in the oblique view.voidsetLayer(String layerTag)Sets this node's "layer", for layered rendering.-
Methods inherited from class org.onosproject.ui.model.topo.UiElement
destroy, idAsString, name
-
-
-
-
Field Detail
-
LAYER_DEFAULT
public static final String LAYER_DEFAULT
Default "layer" tag.- See Also:
- Constant Field Values
-
LAYER_PACKET
public static final String LAYER_PACKET
Packet layer tag.- See Also:
- Constant Field Values
-
LAYER_OPTICAL
public static final String LAYER_OPTICAL
Optical layer tag.- See Also:
- Constant Field Values
-
-
Method Detail
-
layer
public String layer()
Returns the tag for the "layer" that the node should be rendered in when viewed in the oblique view.- Returns:
- the node's layer
-
setLayer
public void setLayer(String layerTag)
Sets this node's "layer", for layered rendering.- Parameters:
layerTag- the layer tag to set
-
-