Package ptolemy.chic
Class ChicControllerFactory
- java.lang.Object
 - 
- ptolemy.kernel.util.NamedObj
 - 
- ptolemy.kernel.util.Attribute
 - 
- ptolemy.kernel.util.SingletonAttribute
 - 
- ptolemy.vergil.basic.NodeControllerFactory
 - 
- ptolemy.chic.ChicControllerFactory
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.lang.Cloneable,Changeable,Debuggable,DebugListener,Derivable,ModelErrorHandler,MoMLExportable,Moveable,Nameable,Singleton
public class ChicControllerFactory extends NodeControllerFactory
This is an attribute that produces a custom node controller for Chic visible attributes. This class creates an instance of ChicController, for controlling Chic visible attributes in a ptolemy model.- Since:
 - Ptolemy II 3.0
 - Version:
 - $Id$
 - Author:
 - Eleftherios Matsikoudis
 - Pt.AcceptedRating:
 - Red (cxh)
 - Pt.ProposedRating:
 - Red (cxh)
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj
NamedObj.ContainedObjectsIterator 
 - 
 
- 
Field Summary
- 
Fields inherited from class ptolemy.kernel.util.NamedObj
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ChicControllerFactory(NamedObj container, java.lang.String name)Construct a new attribute with the given container and name. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedObjControllercreate(GraphController controller)Return a new node controller.- 
Methods inherited from class ptolemy.kernel.util.SingletonAttribute
setContainer 
- 
Methods inherited from class ptolemy.kernel.util.Attribute
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setName, updateContent 
- 
Methods inherited from class ptolemy.kernel.util.NamedObj
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _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, toString, uniqueName, validateSettables, workspace 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ChicControllerFactory
public ChicControllerFactory(NamedObj container, java.lang.String name) throws NameDuplicationException, IllegalActionException
Construct a new attribute with the given container and name.- Parameters:
 container- The container.name- The name.- Throws:
 IllegalActionException- If the attribute cannot be contained by the proposed container.NameDuplicationException- If the container already has an attribute with this name.
 
 - 
 
- 
Method Detail
- 
create
public NamedObjController create(GraphController controller)
Return a new node controller. This method returns an instance of ChicController.- Overrides:
 createin classNodeControllerFactory- Parameters:
 controller- The associated graph controller.- Returns:
 - A new node controller.
 
 
 - 
 
 -