public abstract class AbstractLayoutConfiguration extends Attribute
KielerLayoutAction
Modifier and Type | Class and Description |
---|---|
static class |
AbstractLayoutConfiguration.InteractionMode
Available modes of user interaction.
|
NamedObj.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
static double |
DEF_ASPECT_RATIO
Default value for aspectRatio (non-logarithmic).
|
static boolean |
DEF_DECORATIONS
Default value for includeDecorations.
|
static AbstractLayoutConfiguration.InteractionMode |
DEF_INTERACTION_MODE
Default value for interaction mode.
|
static boolean |
DEF_OLD_ALGORITHM
Default value for useOldAlgorithm.
|
static double |
DEF_SPACING
Default value for spacing.
|
StringParameter |
helpURL
Customized help file to be displayed by the layout configuration dialog.
|
Parameter |
includeDecorations
Whether to include unconnected nodes such as comments.
|
ChoiceParameter |
interactionMode
Mode of user interaction: whether user positioning is allowed to affect the layout.
|
DoubleRangeParameter |
logAspectRatio
The aspect ratio for placement of connected components (logarithmic).
|
DoubleRangeParameter |
spacing
The overall spacing between graph elements.
|
Parameter |
useOldAlgorithm
Whether to use Ptolemy's original layout algorithm.
|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
AbstractLayoutConfiguration(NamedObj container,
java.lang.String name)
Create and initialize a layout configuration.
|
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
_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
public Parameter useOldAlgorithm
public Parameter includeDecorations
public DoubleRangeParameter spacing
public DoubleRangeParameter logAspectRatio
public ChoiceParameter interactionMode
public StringParameter helpURL
public static final boolean DEF_OLD_ALGORITHM
public static final boolean DEF_DECORATIONS
public static final double DEF_SPACING
public static final double DEF_ASPECT_RATIO
public static final AbstractLayoutConfiguration.InteractionMode DEF_INTERACTION_MODE
public AbstractLayoutConfiguration(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name of this attribute.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.