public class TimeBar extends ProcessNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_DURATION |
static java.lang.String |
PROP_START |
PROP_ANNOTATION, PROP_BACKGROUND, PROP_HEIGHT, PROP_LABEL, PROP_MODULEID, PROP_REF, PROP_SHADOW, PROP_STEREOTYPE, PROP_TEXT, PROP_WIDTH, PROP_XPOS, PROP_YPOS, TAG_NODE, userObject
contexts, FALSE, PROP_CLASS_TYPE, PROP_ID, TRUE
Constructor and Description |
---|
TimeBar() |
Modifier and Type | Method and Description |
---|---|
int |
getDuration() |
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
Activity |
getParent() |
java.lang.String |
getProperty(java.lang.String key)
Returns a property.
|
int |
getStart() |
protected void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
setParent(Activity parent) |
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property.
|
java.lang.String |
toString() |
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBoundingBox, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getDefaultConnectionPoints, getName, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getVariants, getXmlTag, handleCloning, isCluster, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, setPos, setShadowEnabled, setSize, setSize, setStereotype, setText, setUserObject, setVisible, updateReferences
addContext, addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setPropertyEditor, setSelected
getPropertyKeys, getSerialization, removeProperty
public static final java.lang.String PROP_DURATION
public static final java.lang.String PROP_START
public int getDuration()
public int getStart()
public Activity getParent()
public void setParent(Activity parent)
public void setProperty(java.lang.String key, java.lang.String value)
ProcessObject
setProperty
in class ProcessNode
public java.lang.String getProperty(java.lang.String key)
SerializableProcessObject
getProperty
in class SerializableProcessObject
protected void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class ProcessNode
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class ProcessNode
public java.lang.String toString()
toString
in class ProcessNode