Class AbstractVertex
- java.lang.Object
-
- org.opennms.features.topology.api.topo.AbstractRef
-
- org.opennms.features.topology.api.topo.DefaultVertexRef
-
- org.opennms.features.topology.api.topo.AbstractVertex
-
- All Implemented Interfaces:
Comparable<Ref>,Ref,Vertex,VertexRef
- Direct Known Subclasses:
AbstractCollapsibleVertex,AbstractLevelAwareVertex,GraphMLVertex,LegacyVertex,SimpleLeafVertex
public class AbstractVertex extends DefaultVertexRef implements Vertex
-
-
Field Summary
-
Fields inherited from class org.opennms.features.topology.api.topo.AbstractRef
m_id
-
-
Constructor Summary
Constructors Constructor Description AbstractVertex(String namespace, String id)Deprecated.AbstractVertex(String namespace, String id, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IntegergetEdgePathOffset()StringgetIconKey()StringgetIpAddress()com.vaadin.v7.data.ItemgetItem()StringgetKey()Deprecated.Use namespace/id tupleIntegergetNodeID()StringgetStyleName()StringgetTooltipText()IntegergetX()IntegergetY()booleanisLocked()booleanisSelected()voidsetEdgePathOffset(Integer edgePathOffset)voidsetIconKey(String iconKey)voidsetIpAddress(String ipAddr)voidsetLocked(boolean locked)voidsetNodeID(Integer nodeID)voidsetSelected(boolean selected)voidsetStyleName(String styleName)voidsetTooltipText(String tooltpText)voidsetX(Integer x)voidsetY(Integer y)StringtoString()-
Methods inherited from class org.opennms.features.topology.api.topo.DefaultVertexRef
equals
-
Methods inherited from class org.opennms.features.topology.api.topo.AbstractRef
compareTo, getId, getLabel, getNamespace, hashCode, setLabel
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.opennms.features.topology.api.topo.Ref
getId, getNamespace
-
-
-
-
Method Detail
-
getKey
public final String getKey()
Deprecated.Use namespace/id tuple
-
getTooltipText
public String getTooltipText()
- Specified by:
getTooltipTextin interfaceVertex
-
setTooltipText
public final void setTooltipText(String tooltpText)
-
getIconKey
public String getIconKey()
- Specified by:
getIconKeyin interfaceVertex
-
setIconKey
public final void setIconKey(String iconKey)
-
getStyleName
public String getStyleName()
- Specified by:
getStyleNamein interfaceVertex
-
setStyleName
public final void setStyleName(String styleName)
-
setX
public final void setX(Integer x)
-
setY
public final void setY(Integer y)
-
setLocked
public final void setLocked(boolean locked)
-
isSelected
public final boolean isSelected()
- Specified by:
isSelectedin interfaceVertex
-
setSelected
public final void setSelected(boolean selected)
-
getIpAddress
public String getIpAddress()
- Specified by:
getIpAddressin interfaceVertex
-
setIpAddress
public final void setIpAddress(String ipAddr)
-
setNodeID
public final void setNodeID(Integer nodeID)
-
getEdgePathOffset
public Integer getEdgePathOffset()
- Specified by:
getEdgePathOffsetin interfaceVertex
-
setEdgePathOffset
public void setEdgePathOffset(Integer edgePathOffset)
-
toString
public String toString()
- Overrides:
toStringin classDefaultVertexRef
-
-