Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_INPUT
DataObject type is Input
|
static java.lang.String |
DATA_NONE
DataObject type is not input/output
|
static java.lang.String |
DATA_OUTPUT
DataObject type is Output
|
static int |
DEFAULT_HEIGHT |
static int |
DEFAULT_WIDTH |
static java.lang.String |
PROP_COLLECTION
Property if this Data Object is a collection (0=FALSE, 1=TRUE)
|
static java.lang.String |
PROP_DATA
Property if this Data Object is Input or Output)
|
static java.lang.String |
PROP_STATE
Property to hold the state of the DataObject
|
static ReferenceChooserRestriction |
restrictions |
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 |
---|
DataObject() |
DataObject(int xPos,
int yPos,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawDataArrow(java.awt.Graphics2D g2,
boolean fill)
Draws INPUT/OUTPUT arrow
|
protected void |
drawMultiInstance(java.awt.Graphics2D g2) |
java.awt.Rectangle |
getBoundingBox()
Returns the bounding box for this ProcessNode.
|
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
ReferenceChooserRestriction |
getReferenceRestrictions() |
java.lang.String |
getState() |
protected void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
setState(java.lang.String state) |
java.lang.String |
toString() |
getVariants
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getDefaultConnectionPoints, getName, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getXmlTag, handleCloning, isCluster, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, setPos, setProperty, setShadowEnabled, setSize, setSize, setStereotype, setText, setUserObject, setVisible, updateReferences
addContext, addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setPropertyEditor, setSelected
getProperty, getPropertyKeys, getSerialization, removeProperty
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
public static final java.lang.String PROP_COLLECTION
public static final java.lang.String PROP_DATA
public static final java.lang.String PROP_STATE
public static final java.lang.String DATA_NONE
public static final java.lang.String DATA_INPUT
public static final java.lang.String DATA_OUTPUT
public static ReferenceChooserRestriction restrictions
public DataObject()
public DataObject(int xPos, int yPos, java.lang.String text)
public java.lang.String getState()
public void setState(java.lang.String state)
protected void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class Artifact
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class Artifact
public java.awt.Rectangle getBoundingBox()
ProcessNode
getBoundingBox
in class ProcessNode
protected void drawMultiInstance(java.awt.Graphics2D g2)
g2
- protected void drawDataArrow(java.awt.Graphics2D g2, boolean fill)
g2
- fill
- public java.lang.String toString()
toString
in class ProcessNode
public ReferenceChooserRestriction getReferenceRestrictions()
getReferenceRestrictions
in interface Linkable
ReferenceChooserRestriction
.