|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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.NameIcon
ptolemy.vergil.icon.DesignPatternIcon
public class DesignPatternIcon
The icon for groups representing design patterns.
Red (tfeng) |
Red (tfeng) |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj |
---|
NamedObj.ContainedObjectsIterator |
Field Summary | |
---|---|
protected javax.swing.Icon |
_iconCache
The cached Swing icon. |
Fields inherited from class ptolemy.vergil.icon.NameIcon |
---|
_labelFont, _roundingValue, _spacingValue, _xPadding, _yPadding, rounding, spacing |
Fields inherited from class ptolemy.vergil.icon.EditorIcon |
---|
_containerToBe |
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 | |
---|---|
DesignPatternIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container. |
Method Summary | |
---|---|
javax.swing.Icon |
createIcon()
Create an icon. |
Methods inherited from class ptolemy.vergil.icon.NameIcon |
---|
_getBackgroundSize, _getFill, _getLineWidth, attributeChanged, createBackgroundFigure, createFigure, setContainer |
Methods inherited from class ptolemy.vergil.icon.EditorIcon |
---|
_createDefaultBackgroundFigure, _isPropertySet, _recreateFigure, clone, getContainerOrContainerToBe, setContainerToBe |
Methods inherited from class ptolemy.kernel.util.Attribute |
---|
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setName, updateContent |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected javax.swing.Icon _iconCache
Constructor Detail |
---|
public DesignPatternIcon(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 javax.swing.Icon createIcon()
createIcon
in class EditorIcon
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |