jni.gui
Class JNIActorEditorFactory
java.lang.Object
ptolemy.kernel.util.NamedObj
ptolemy.kernel.util.Attribute
ptolemy.actor.gui.EditorFactory
jni.gui.JNIActorEditorFactory
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Changeable, Debuggable, DebugListener, Derivable, ModelErrorHandler, MoMLExportable, Moveable, Nameable
Deprecated. This code is old, hard to use and unmaintained. See
EmbeddedCActor for a more recent implementation.
public class JNIActorEditorFactory
- extends EditorFactory
An editor for GenericJNIActor.
The editor has two choices: the usual parameter editor and a special
editor for editing arguments to the native method.
- Since:
- Ptolemy II 2.0
- Version:
- $Id: JNIActorEditorFactory.java 53042 2009-04-10 20:31:21Z cxh $
- Author:
- Christopher Brooks, based on AnnotationEditorFactory by Edward A. Lee
- See Also:
- Serialized Form
- Accepted Rating:
- Proposed Rating:
|
Field Summary |
private static java.lang.String[] |
_moreButtons
Deprecated. |
| 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 |
JNIActorEditorFactory(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.kernel.util.Attribute |
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent |
| Methods inherited from class ptolemy.kernel.util.NamedObj |
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _debug, _debug, _debug, _debug, _debug, _description, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _propagateValue, _recordDecoratedAttributes, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, attributeChanged, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, 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, propagateExistence, propagateValue, propagateValues, removeChangeListener, removeDebugListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_moreButtons
private static java.lang.String[] _moreButtons
- Deprecated.
JNIActorEditorFactory
public JNIActorEditorFactory(NamedObj container,
java.lang.String name)
throws IllegalActionException,
NameDuplicationException
- Deprecated.
- Construct a factory with the specified container and name.
- Parameters:
container - The container.name - The name of the factory.
- Throws:
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.
createEditor
public void createEditor(NamedObj object,
java.awt.Frame parent)
- Deprecated.
- Create an editor for configuring the specified object.
- Specified by:
createEditor in class EditorFactory
- Parameters:
object - The object to configure.parent - The parent window, or null if there is none.
createEditorPane
public java.awt.Component createEditorPane()
- Deprecated.
- Return a new widget for configuring the container.
- Returns:
- A JPanel that is a text editor for editing the annotation text.