Package org.onosproject.ui.topo
Class AbstractHighlight
- java.lang.Object
-
- org.onosproject.ui.topo.AbstractHighlight
-
- Direct Known Subclasses:
LinkHighlight
,NodeHighlight
public abstract class AbstractHighlight extends Object
Partial implementation of the highlighting to apply to topology view elements.
-
-
Constructor Summary
Constructors Constructor Description AbstractHighlight(TopoElementType type, String elementId)
Constructs the highlight.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
elementId()
Returns the element identifier.void
keepSubdued()
Sets a flag to tell the renderer to keep this element subdued.boolean
subdued()
Returns the subdued flag.TopoElementType
type()
Returns the element type.
-
-
-
Constructor Detail
-
AbstractHighlight
public AbstractHighlight(TopoElementType type, String elementId)
Constructs the highlight.- Parameters:
type
- highlight element typeelementId
- element identifier
-
-
Method Detail
-
keepSubdued
public void keepSubdued()
Sets a flag to tell the renderer to keep this element subdued.
-
type
public TopoElementType type()
Returns the element type.- Returns:
- element type
-
elementId
public String elementId()
Returns the element identifier.- Returns:
- element identifier
-
subdued
public boolean subdued()
Returns the subdued flag.- Returns:
- subdued flag
-
-