Class VisualGraphOptions


  • public class VisualGraphOptions
    extends java.lang.Object
    • Field Detail

      • GRAPH_BACKGROUND_COLOR_KEY

        public static final java.lang.String GRAPH_BACKGROUND_COLOR_KEY
        See Also:
        Constant Field Values
      • GRAPH_BACKGROUND_COLOR_DESCRPTION

        public static final java.lang.String GRAPH_BACKGROUND_COLOR_DESCRPTION
        See Also:
        Constant Field Values
      • SHOW_ANIMATION_OPTIONS_KEY

        public static final java.lang.String SHOW_ANIMATION_OPTIONS_KEY
        See Also:
        Constant Field Values
      • SHOW_ANIMATION_DESCRIPTION

        public static final java.lang.String SHOW_ANIMATION_DESCRIPTION
        See Also:
        Constant Field Values
      • USE_MOUSE_RELATIVE_ZOOM_KEY

        public static final java.lang.String USE_MOUSE_RELATIVE_ZOOM_KEY
        See Also:
        Constant Field Values
      • USE_MOUSE_RELATIVE_ZOOM_DESCRIPTION

        public static final java.lang.String USE_MOUSE_RELATIVE_ZOOM_DESCRIPTION
        See Also:
        Constant Field Values
      • USE_CONDENSED_LAYOUT_KEY

        public static final java.lang.String USE_CONDENSED_LAYOUT_KEY
        See Also:
        Constant Field Values
      • USE_CONDENSED_LAYOUT_DESCRIPTION

        public static final java.lang.String USE_CONDENSED_LAYOUT_DESCRIPTION
        See Also:
        Constant Field Values
      • SCROLL_WHEEL_PANS_KEY

        public static final java.lang.String SCROLL_WHEEL_PANS_KEY
        See Also:
        Constant Field Values
      • SCROLL_WHEEL_PANS_DESCRIPTION

        public static final java.lang.String SCROLL_WHEEL_PANS_DESCRIPTION
      • USE_STICKY_SELECTION_KEY

        public static final java.lang.String USE_STICKY_SELECTION_KEY
        See Also:
        Constant Field Values
      • USE_STICKY_SELECTION_DESCRIPTION

        public static final java.lang.String USE_STICKY_SELECTION_DESCRIPTION
        See Also:
        Constant Field Values
      • VIEW_RESTORE_OPTIONS_KEY

        public static final java.lang.String VIEW_RESTORE_OPTIONS_KEY
        See Also:
        Constant Field Values
      • VIEW_RESTORE_OPTIONS_DESCRIPTION

        public static final java.lang.String VIEW_RESTORE_OPTIONS_DESCRIPTION
        See Also:
        Constant Field Values
      • DEFAULT_GRAPH_BACKGROUND_COLOR

        public static final java.awt.Color DEFAULT_GRAPH_BACKGROUND_COLOR
      • graphBackgroundColor

        protected java.awt.Color graphBackgroundColor
      • useAnimation

        protected boolean useAnimation
      • scrollWheelPans

        protected boolean scrollWheelPans
      • useMouseRelativeZoom

        protected boolean useMouseRelativeZoom
        This should be true by default when 'scrollWheelPans' is true by default
      • useCondensedLayout

        protected boolean useCondensedLayout
    • Constructor Detail

      • VisualGraphOptions

        public VisualGraphOptions()
    • Method Detail

      • getGraphBackgroundColor

        public java.awt.Color getGraphBackgroundColor()
      • getScrollWheelPans

        public boolean getScrollWheelPans()
      • setUseAnimation

        public void setUseAnimation​(boolean useAnimation)
      • useAnimation

        public boolean useAnimation()
      • useMouseRelativeZoom

        public boolean useMouseRelativeZoom()
      • useCondensedLayout

        public boolean useCondensedLayout()
      • loadOptions

        public void loadOptions​(Options options)