Package ptolemy.vergil.basic.layout
Class ModalLayoutConfiguration
- java.lang.Object
-
- ptolemy.kernel.util.NamedObj
-
- ptolemy.kernel.util.Attribute
-
- ptolemy.vergil.basic.layout.AbstractLayoutConfiguration
-
- ptolemy.vergil.basic.layout.ModalLayoutConfiguration
-
- All Implemented Interfaces:
java.lang.Cloneable
,Changeable
,Debuggable
,DebugListener
,Derivable
,ModelErrorHandler
,MoMLExportable
,Moveable
,Nameable
public class ModalLayoutConfiguration extends AbstractLayoutConfiguration
Specialized layout configuration dialog forFSMGraphModel
s.- Since:
- Ptolemy II 11.0
- Version:
- $Id$
- Author:
- Ulf Rueegg
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.vergil.basic.layout.AbstractLayoutConfiguration
AbstractLayoutConfiguration.InteractionMode
-
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj
NamedObj.ContainedObjectsIterator
-
-
Field Summary
Fields Modifier and Type Field Description static de.cau.cs.kieler.kiml.options.Direction
DEF_DIRECTION
Default direction.static boolean
DEF_USE_SPLINES
Default value for useSplines.ChoiceParameter
direction
Specifies the direction into which the "flow" of the layout points.Parameter
drawSplines
Whether the edges of FSMs should be routed and drawn as splines.-
Fields inherited from class ptolemy.vergil.basic.layout.AbstractLayoutConfiguration
DEF_ASPECT_RATIO, DEF_DECORATIONS, DEF_INTERACTION_MODE, DEF_OLD_ALGORITHM, DEF_SPACING, helpURL, includeDecorations, interactionMode, logAspectRatio, spacing, useOldAlgorithm
-
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 ModalLayoutConfiguration(NamedObj container, java.lang.String name)
Creates an initializes a layout configuration specifically tailored forFSMGraphModel
s.
-
Method Summary
-
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, _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
-
-
-
-
Field Detail
-
drawSplines
public Parameter drawSplines
Whether the edges of FSMs should be routed and drawn as splines.
-
DEF_USE_SPLINES
public static final boolean DEF_USE_SPLINES
Default value for useSplines.- See Also:
- Constant Field Values
-
direction
public ChoiceParameter direction
Specifies the direction into which the "flow" of the layout points.
-
DEF_DIRECTION
public static final de.cau.cs.kieler.kiml.options.Direction DEF_DIRECTION
Default direction.
-
-
Constructor Detail
-
ModalLayoutConfiguration
public ModalLayoutConfiguration(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
Creates an initializes a layout configuration specifically tailored forFSMGraphModel
s.- Parameters:
container
- The container.name
- The name of this attribute.- Throws:
IllegalActionException
- If the attribute is not of an acceptable class for the container, or if the name contains a period.NameDuplicationException
- If the name coincides with an attribute already in the container.
-
-