public class OctagonEventIcon extends NameIcon
Red (tfeng) |
Red (tfeng) |
NamedObj.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
protected double |
_cornerWidth
The width of a corner of a polygon.
|
_labelFont, _roundingValue, _spacingValue, _xPadding, _yPadding, color, rounding, spacing
_containerToBe, _iconCache
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
OctagonEventIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.geom.Point2D |
_getBackgroundSize()
Return the background size.
|
protected java.awt.Paint |
_getFill()
Return the paint to use to fill the icon.
|
protected float |
_getLineWidth()
Return the line width to use in rendering the box.
|
Figure |
createBackgroundFigure()
Create a background Figure.
|
Figure |
createFigure()
Create a Figure.
|
javax.swing.Icon |
createIcon()
Create an icon.
|
_getLabel, attributeChanged, setContainer
_createDefaultBackgroundFigure, _isPropertySet, _recreateFigure, clone, getContainerOrContainerToBe, setContainerToBe
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
public OctagonEventIcon(NamedObj container, java.lang.String name) throws NameDuplicationException, IllegalActionException
container
- The container for this attribute.name
- The name of this attribute.IllegalActionException
- If thrown by the parent
class or while setting an attribute.NameDuplicationException
- If the name coincides with
an attribute already in the container.public Figure createBackgroundFigure()
createBackgroundFigure
in class NameIcon
public Figure createFigure()
createFigure
in class NameIcon
public javax.swing.Icon createIcon()
createIcon
in class NameIcon
protected java.awt.geom.Point2D _getBackgroundSize()
NameIcon
_getBackgroundSize
in class NameIcon
protected java.awt.Paint _getFill()
NameIcon
protected float _getLineWidth()
_getLineWidth
in class NameIcon