|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.traceAnalysis.filter.visualization.graph.AbstractGraphElement<O>
O
- The type of the objects which caused the creation of this graph elementpublic abstract class AbstractGraphElement<O>
Superclass for graph elements, i.e. edges and vertices, in the visualization package.
Constructor Summary | |
---|---|
protected |
AbstractGraphElement(O origin,
IOriginRetentionPolicy originPolicy)
This constructor initializes the element based on the given parameters. |
Method Summary | |
---|---|
void |
addOrigin(O origin)
Adds a new origin object to this element. |
Color |
getColor()
Returns this graph element's color. |
java.lang.String |
getDescription()
Returns this graph element's description. |
abstract java.lang.String |
getIdentifier()
Returns an identifier for this graph element (e.g., a label). |
java.util.Set<O> |
getOrigins()
Returns the objects which caused the creation of this element. |
void |
setColor(Color color)
Sets this graph element's color. |
void |
setDescription(java.lang.String description)
Sets this graph element's description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractGraphElement(O origin, IOriginRetentionPolicy originPolicy)
origin
- The origin of this element.originPolicy
- The origin policy of this element.Method Detail |
---|
public Color getColor()
public void setColor(Color color)
color
- The color to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to setpublic java.util.Set<O> getOrigins()
public final void addOrigin(O origin)
origin
- The origin objectpublic abstract java.lang.String getIdentifier()
null
if no identifier can be determined
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |