|
|||||||||
| 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.actor.gui.EditorFactory
ptolemy.vergil.toolbox.AnnotationEditorFactory
public class AnnotationEditorFactory
If this class is contained by a visible attribute (one that has an attribute called "_iconDescription"), then double clicking on that attribute will invoke an editor for a textual annotation. This class is contained by visible attribute in the Vergil utilities library, which provides a facility for adding visual annotations to diagrams.
| Red (johnr) |
| Red (eal) |
| Nested Class Summary | |
|---|---|
class |
AnnotationEditorFactory.AnnotationTextEditor
Deprecated. A text widget for editing textual annotations (which are visible attributes). |
| Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj |
|---|
NamedObj.ContainedObjectsIterator |
| Field Summary | |
|---|---|
private NamedObj |
_container
Deprecated. The container. |
private java.lang.String |
_fontColor
Deprecated. |
private java.lang.String |
_fontFamily
Deprecated. |
(package private) Query |
_fontProperties
Deprecated. Query box for font properties. |
private java.lang.String |
_fontSize
Deprecated. Font characteristic. |
private ConfigurableAttribute |
_iconDescription
Deprecated. The attribute containing the icon description. |
private javax.swing.JTextArea |
_textArea
Deprecated. The text area of the editor. |
| 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 | |
|---|---|
AnnotationEditorFactory(NamedObj container,
java.lang.String name)
Deprecated. Construct a factory with the specified container and name. |
|
| Method Summary | |
|---|---|
void |
createEditor(NamedObj object,
java.awt.Frame parent)
Deprecated. Create an editor for configuring the specified object. |
java.awt.Component |
createEditorPane()
Deprecated. Return a new widget for configuring the container. |
| Methods inherited from class ptolemy.actor.gui.EditorFactory |
|---|
createEditor, createEditor |
| Methods inherited from class ptolemy.kernel.util.Attribute |
|---|
_checkContainer, _getContainedObject, _propagateExistence, clone, 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 |
|---|
private NamedObj _container
Query _fontProperties
private java.lang.String _fontSize
private java.lang.String _fontFamily
private java.lang.String _fontColor
private ConfigurableAttribute _iconDescription
private javax.swing.JTextArea _textArea
| Constructor Detail |
|---|
public AnnotationEditorFactory(NamedObj container,
java.lang.String name)
throws IllegalActionException,
NameDuplicationException
container - The container.name - The name of the factory.
IllegalActionException - If the factory is not of an
acceptable attribute for the container.
NameDuplicationException - If the name coincides with
an attribute already in the container.| Method Detail |
|---|
public void createEditor(NamedObj object,
java.awt.Frame parent)
createEditor in class EditorFactoryobject - The object to configure.parent - The parent window, or null if there is none.public java.awt.Component createEditorPane()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||