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 Integer
getEdgePathOffset()
String
getIconKey()
String
getIpAddress()
com.vaadin.v7.data.Item
getItem()
String
getKey()
Deprecated.Use namespace/id tupleInteger
getNodeID()
String
getStyleName()
String
getTooltipText()
Integer
getX()
Integer
getY()
boolean
isLocked()
boolean
isSelected()
void
setEdgePathOffset(Integer edgePathOffset)
void
setIconKey(String iconKey)
void
setIpAddress(String ipAddr)
void
setLocked(boolean locked)
void
setNodeID(Integer nodeID)
void
setSelected(boolean selected)
void
setStyleName(String styleName)
void
setTooltipText(String tooltpText)
void
setX(Integer x)
void
setY(Integer y)
String
toString()
-
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:
getTooltipText
in interfaceVertex
-
setTooltipText
public final void setTooltipText(String tooltpText)
-
getIconKey
public String getIconKey()
- Specified by:
getIconKey
in interfaceVertex
-
setIconKey
public final void setIconKey(String iconKey)
-
getStyleName
public String getStyleName()
- Specified by:
getStyleName
in 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:
isSelected
in interfaceVertex
-
setSelected
public final void setSelected(boolean selected)
-
getIpAddress
public String getIpAddress()
- Specified by:
getIpAddress
in interfaceVertex
-
setIpAddress
public final void setIpAddress(String ipAddr)
-
setNodeID
public final void setNodeID(Integer nodeID)
-
getEdgePathOffset
public Integer getEdgePathOffset()
- Specified by:
getEdgePathOffset
in interfaceVertex
-
setEdgePathOffset
public void setEdgePathOffset(Integer edgePathOffset)
-
toString
public String toString()
- Overrides:
toString
in classDefaultVertexRef
-
-