public abstract class BaseElement extends ProcessNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_ENABLED |
static java.lang.String |
PROP_LABEL |
static java.lang.String |
PROP_REF |
PROP_ANNOTATION, PROP_BACKGROUND, PROP_HEIGHT, PROP_MODULEID, 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 |
---|
BaseElement() |
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
drawLabel(java.awt.Graphics2D g2)
Might be overwritten; is called by getBoundingBox
|
java.awt.Rectangle |
getBoundingBox()
Returns the bounding box for this ProcessNode.
|
java.lang.String |
getLabel() |
void |
initializeProperties() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getDefaultConnectionPoints, getName, getOutlineShape, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getVariants, getXmlTag, handleCloning, isCluster, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintInternal, paintSelection, removeAllConnectionPoints, setBackground, setPos, setPos, setProperty, setShadowEnabled, setSize, setSize, setStereotype, setText, setUserObject, setVisible, toString, updateReferences
addContext, addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setPropertyEditor, setSelected
getProperty, getPropertyKeys, getSerialization, removeProperty
public static final java.lang.String PROP_REF
public static final java.lang.String PROP_LABEL
public static final java.lang.String PROP_ENABLED
public java.lang.String getLabel()
public void initializeProperties()
public java.awt.Rectangle drawLabel(java.awt.Graphics2D g2)
g2
- public java.awt.Rectangle getBoundingBox()
ProcessNode
getBoundingBox
in class ProcessNode
public boolean isEnabled()
public void setEnabled(boolean enabled)