public class MultipleConceptIcon extends ConceptIcon
FlatTokenRepresentativeConcept
.NamedObj.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
Parameter |
translation
The amount of translation to apply to the background figure.
|
_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 |
---|
MultipleConceptIcon(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 LabelFigure |
_getLabel(CompositeFigure background,
java.lang.String name)
Get the label to put on the specified background
figure based on the specified name.
|
Figure |
createBackgroundFigure()
Create a new background figure.
|
javax.swing.Icon |
createIcon()
Create an icon.
|
_getFill, _getLineWidth
_getBackgroundSize, attributeChanged, createFigure, 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 Parameter translation
public MultipleConceptIcon(NamedObj container, java.lang.String name) throws NameDuplicationException, IllegalActionException
container
- The specified container.name
- The specified name.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 javax.swing.Icon createIcon()
createIcon
in class NameIcon
protected LabelFigure _getLabel(CompositeFigure background, java.lang.String name)