public class ValueIcon extends XMLIcon
NamedObj.ContainedObjectsIterator| Modifier and Type | Field and Description |
|---|---|
Parameter |
displayWidth
The number of characters to display.
|
Parameter |
numberOfLines
The number of lines to display.
|
_figures_containerToBe, _iconCache_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS| Constructor and Description |
|---|
ValueIcon(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 diva.canvas.Figure |
_createDefaultBackgroundFigure()
Create a new default background figure, which is a bullet.
|
diva.canvas.Figure |
createBackgroundFigure()
Create a background figure based on this icon, which is a text
element with the name of the container, a colon, and its value.
|
diva.canvas.Figure |
createFigure()
Create a new Diva figure that visually represents this icon.
|
_description, _recreateFigure, clone, createIcon, getXMLIcon, getXMLIcon, paintedList, toString, valueChanged_addLiveFigure, _liveFigureIterator, _trimLiveFigures_isPropertySet, getContainerOrContainerToBe, setContainerToBe_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, 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, uniqueName, validateSettables, workspacepublic Parameter displayWidth
public Parameter numberOfLines
public ValueIcon(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 diva.canvas.Figure createBackgroundFigure()
createBackgroundFigure in class XMLIconpublic diva.canvas.Figure createFigure()
createFigure in class EditorIconprotected diva.canvas.Figure _createDefaultBackgroundFigure()
_createDefaultBackgroundFigure in class EditorIcon