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 String
LAYER_DEFAULT
Default "layer" tag.static String
LAYER_OPTICAL
Optical layer tag.static 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 String
layer()
Returns the tag for the "layer" that the node should be rendered in when viewed in the oblique view.void
setLayer(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
-
-