|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.util.Attribute
ptolemy.vergil.icon.EditorIcon
ptolemy.vergil.icon.DynamicEditorIcon
ptolemy.vergil.icon.XMLIcon
ptolemy.vergil.icon.AttributeValueIcon
ptolemy.vergil.icon.BoxedValueIcon
public class BoxedValueIcon
An icon that displays the value of an attribute of the container in a box that resizes according to the width of the attribute value. The attribute is assumed to be an instance of Settable, and its name is given by the parameter attributeName.
| Red (johnr) |
| Yellow (eal) |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj |
|---|
NamedObj.ContainedObjectsIterator |
| Field Summary | |
|---|---|
ColorAttribute |
boxColor
Color of the box. |
| Fields inherited from class ptolemy.vergil.icon.AttributeValueIcon |
|---|
_labelFont, attributeName, displayHeight, displayWidth, entityName |
| Fields inherited from class ptolemy.vergil.icon.EditorIcon |
|---|
_containerToBe, _iconCache |
| Fields inherited from class ptolemy.kernel.util.NamedObj |
|---|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
| Constructor Summary | |
|---|---|
BoxedValueIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container. |
|
| Method Summary | |
|---|---|
Figure |
createBackgroundFigure()
Create a new background figure. |
| Methods inherited from class ptolemy.vergil.icon.AttributeValueIcon |
|---|
_displayString, createFigure |
| Methods inherited from class ptolemy.vergil.icon.XMLIcon |
|---|
_description, _recreateFigure, clone, createIcon, getXMLIcon, getXMLIcon, paintedList, toString, valueChanged |
| Methods inherited from class ptolemy.vergil.icon.DynamicEditorIcon |
|---|
_addLiveFigure, _liveFigureIterator, _trimLiveFigures |
| Methods inherited from class ptolemy.vergil.icon.EditorIcon |
|---|
_createDefaultBackgroundFigure, _isPropertySet, getContainerOrContainerToBe, setContainerToBe |
| Methods inherited from class ptolemy.kernel.util.Attribute |
|---|
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public ColorAttribute boxColor
| Constructor Detail |
|---|
public BoxedValueIcon(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.| Method Detail |
|---|
public Figure createBackgroundFigure()
createBackgroundFigure in class XMLIcon
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||