Class AbstractLayoutConfiguration

    • Field Detail

      • useOldAlgorithm

        public Parameter useOldAlgorithm
        Whether to use Ptolemy's original layout algorithm.
      • includeDecorations

        public Parameter includeDecorations
        Whether to include unconnected nodes such as comments.
      • logAspectRatio

        public DoubleRangeParameter logAspectRatio
        The aspect ratio for placement of connected components (logarithmic).
      • interactionMode

        public ChoiceParameter interactionMode
        Mode of user interaction: whether user positioning is allowed to affect the layout.
      • helpURL

        public StringParameter helpURL
        Customized help file to be displayed by the layout configuration dialog.
      • DEF_OLD_ALGORITHM

        public static final boolean DEF_OLD_ALGORITHM
        Default value for useOldAlgorithm.
        See Also:
        Constant Field Values
      • DEF_DECORATIONS

        public static final boolean DEF_DECORATIONS
        Default value for includeDecorations.
        See Also:
        Constant Field Values
      • DEF_SPACING

        public static final double DEF_SPACING
        Default value for spacing.
        See Also:
        Constant Field Values
      • DEF_ASPECT_RATIO

        public static final double DEF_ASPECT_RATIO
        Default value for aspectRatio (non-logarithmic).
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractLayoutConfiguration

        public AbstractLayoutConfiguration​(NamedObj container,
                                           java.lang.String name)
                                    throws IllegalActionException,
                                           NameDuplicationException
        Create and initialize a layout configuration.
        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.