Package ghidra.framework.options
Class EditorState
- java.lang.Object
-
- ghidra.framework.options.EditorState
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
public class EditorState extends java.lang.Object implements java.beans.PropertyChangeListener
-
-
Constructor Summary
Constructors Constructor Description EditorState(Options options, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyNonDefaults(Options save)
void
applyValue()
boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
java.awt.Component
getEditorComponent()
java.lang.String
getTitle()
int
hashCode()
boolean
hasSameValue(Options compareTo)
boolean
isValueChanged()
void
loadFrom(Options loadFrom)
void
propertyChange(java.beans.PropertyChangeEvent evt)
boolean
supportsCustomOptionsEditor()
Returns true if the contained PropertyEditor desired to render and handle it's options directly, as opposed to using the generic framework.
-
-
-
Constructor Detail
-
EditorState
public EditorState(Options options, java.lang.String name)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
isValueChanged
public boolean isValueChanged()
-
applyNonDefaults
public void applyNonDefaults(Options save)
-
loadFrom
public void loadFrom(Options loadFrom)
-
hasSameValue
public boolean hasSameValue(Options compareTo)
-
applyValue
public void applyValue()
-
supportsCustomOptionsEditor
public boolean supportsCustomOptionsEditor()
Returns true if the contained PropertyEditor desired to render and handle it's options directly, as opposed to using the generic framework.- Returns:
- true if the contained PropertyEditor desired to render and handle it's options directly, as opposed to using the generic framework.
-
getEditorComponent
public java.awt.Component getEditorComponent()
-
getTitle
public java.lang.String getTitle()
-
getDescription
public java.lang.String getDescription()
-
-