public class CheckBox extends BaseElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_SELECTED |
PROP_ENABLED, PROP_LABEL, 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 |
---|
CheckBox() |
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
drawLabel(java.awt.Graphics2D g2)
Might be overwritten; is called by getBoundingBox
|
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
java.awt.Point |
getSelectionOffset() |
void |
initializeProperties() |
protected void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Set fixed size.
|
getBoundingBox, getLabel, isEnabled, setEnabled
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getDefaultConnectionPoints, getName, getParentClusters, getPos, 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, 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_SELECTED
public void initializeProperties()
initializeProperties
in class BaseElement
public void setProperty(java.lang.String key, java.lang.String value)
setProperty
in class ProcessNode
key
- value
- protected void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class ProcessNode
public java.awt.Rectangle drawLabel(java.awt.Graphics2D g2)
BaseElement
drawLabel
in class BaseElement
public java.awt.Point getSelectionOffset()
getSelectionOffset
in class ProcessNode
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class ProcessNode