Package ghidra.graph.viewer.options
Class VisualGraphOptions
- java.lang.Object
-
- ghidra.graph.viewer.options.VisualGraphOptions
-
public class VisualGraphOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Color
DEFAULT_GRAPH_BACKGROUND_COLOR
static java.lang.String
GRAPH_BACKGROUND_COLOR_DESCRPTION
static java.lang.String
GRAPH_BACKGROUND_COLOR_KEY
protected java.awt.Color
graphBackgroundColor
static java.lang.String
SCROLL_WHEEL_PANS_DESCRIPTION
static java.lang.String
SCROLL_WHEEL_PANS_KEY
protected boolean
scrollWheelPans
static java.lang.String
SHOW_ANIMATION_DESCRIPTION
static java.lang.String
SHOW_ANIMATION_OPTIONS_KEY
static java.lang.String
USE_CONDENSED_LAYOUT_DESCRIPTION
static java.lang.String
USE_CONDENSED_LAYOUT_KEY
static java.lang.String
USE_MOUSE_RELATIVE_ZOOM_DESCRIPTION
static java.lang.String
USE_MOUSE_RELATIVE_ZOOM_KEY
static java.lang.String
USE_STICKY_SELECTION_DESCRIPTION
static java.lang.String
USE_STICKY_SELECTION_KEY
protected boolean
useAnimation
protected boolean
useCondensedLayout
protected boolean
useMouseRelativeZoom
This should be true by default when 'scrollWheelPans' is true by defaultstatic java.lang.String
VIEW_RESTORE_OPTIONS_DESCRIPTION
static java.lang.String
VIEW_RESTORE_OPTIONS_KEY
protected ViewRestoreOption
viewRestoreOption
-
Constructor Summary
Constructors Constructor Description VisualGraphOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
getGraphBackgroundColor()
boolean
getScrollWheelPans()
ViewRestoreOption
getViewRestoreOption()
void
loadOptions(Options options)
void
registerOptions(Options options, HelpLocation help)
void
setUseAnimation(boolean useAnimation)
boolean
useAnimation()
boolean
useCondensedLayout()
boolean
useMouseRelativeZoom()
-
-
-
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
-
viewRestoreOption
protected ViewRestoreOption viewRestoreOption
-
-
Method Detail
-
getGraphBackgroundColor
public java.awt.Color getGraphBackgroundColor()
-
getScrollWheelPans
public boolean getScrollWheelPans()
-
getViewRestoreOption
public ViewRestoreOption getViewRestoreOption()
-
setUseAnimation
public void setUseAnimation(boolean useAnimation)
-
useAnimation
public boolean useAnimation()
-
useMouseRelativeZoom
public boolean useMouseRelativeZoom()
-
useCondensedLayout
public boolean useCondensedLayout()
-
registerOptions
public void registerOptions(Options options, HelpLocation help)
-
loadOptions
public void loadOptions(Options options)
-
-