Package ghidra.app.util.viewer.options
Class ListingDisplayOptionsEditor
java.lang.Object
ghidra.app.util.viewer.options.ListingDisplayOptionsEditor
- All Implemented Interfaces:
OptionsEditor
Class for editing Listing display properties.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListingDisplayOptionsEditor(Options options) Constructs a new ListingDisplayOptionsEditor. -
Method Summary
Modifier and TypeMethodDescriptionvoidapply()Apply the changes.voidcancel()Cancel the changes.voiddispose()Dispose this editorgetEditorComponent(Options editableOptions, EditorStateFactory editorStateFactory) Get the editor component.booleanReturns true if this component has "good" resizing behavior.voidreload()A signal to reload the GUI widgets in the component created by this editor.voidSets the options change listener
-
Field Details
-
DEFAULT_FONT_ID
- See Also:
-
-
Constructor Details
-
ListingDisplayOptionsEditor
Constructs a new ListingDisplayOptionsEditor.- Parameters:
options- the options object to edit
-
-
Method Details
-
dispose
public void dispose()Description copied from interface:OptionsEditorDispose this editor- Specified by:
disposein interfaceOptionsEditor
-
apply
public void apply()Description copied from interface:OptionsEditorApply the changes.- Specified by:
applyin interfaceOptionsEditor
-
cancel
public void cancel()Description copied from interface:OptionsEditorCancel the changes.- Specified by:
cancelin interfaceOptionsEditor
-
reload
public void reload()Description copied from interface:OptionsEditorA signal to reload the GUI widgets in the component created by this editor. This will happen when the options change out from under the editor, such as when the user restores the default options values.- Specified by:
reloadin interfaceOptionsEditor
-
setOptionsPropertyChangeListener
Description copied from interface:OptionsEditorSets the options change listener- Specified by:
setOptionsPropertyChangeListenerin interfaceOptionsEditor- Parameters:
listener-
-
isResizable
public boolean isResizable()Returns true if this component has "good" resizing behavior. Components that do not have this property will be placed in a scrolled pane.- Returns:
- true if resizable
-
getEditorComponent
public JComponent getEditorComponent(Options editableOptions, EditorStateFactory editorStateFactory) Description copied from interface:OptionsEditorGet the editor component.- Specified by:
getEditorComponentin interfaceOptionsEditor- Parameters:
editableOptions- The editable options that for which a GUI component will be creatededitorStateFactory- The factory that will provide state objects this options editor
-