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 java.lang.String
LAYER_DEFAULT
Default "layer" tag.static java.lang.String
LAYER_OPTICAL
Optical layer tag.static java.lang.String
LAYER_PACKET
Packet layer tag.
-
Constructor Summary
Constructors Constructor Description UiNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
layer()
Returns the tag for the "layer" that the node should be rendered in when viewed in the oblique view.void
setLayer(java.lang.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 java.lang.String LAYER_DEFAULT
Default "layer" tag.- See Also:
- Constant Field Values
-
LAYER_PACKET
public static final java.lang.String LAYER_PACKET
Packet layer tag.- See Also:
- Constant Field Values
-
LAYER_OPTICAL
public static final java.lang.String LAYER_OPTICAL
Optical layer tag.- See Also:
- Constant Field Values
-
-
Method Detail
-
layer
public java.lang.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(java.lang.String layerTag)
Sets this node's "layer", for layered rendering.- Parameters:
layerTag
- the layer tag to set
-
-