Package ghidra.app.util.viewer.field
Class AddressFieldOptionsWrappedOption
- java.lang.Object
-
- ghidra.app.util.viewer.field.AddressFieldOptionsWrappedOption
-
- All Implemented Interfaces:
CustomOption
public class AddressFieldOptionsWrappedOption extends java.lang.Object implements CustomOption
An option class that allows the user to edit a related group of options pertaining to address field display.
-
-
Constructor Summary
Constructors Constructor Description AddressFieldOptionsWrappedOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getMinimumHexDigits()
int
hashCode()
boolean
padWithZeros()
void
readState(SaveState saveState)
Concrete subclass of WrappedOption should read all of its state from the given saveState object.boolean
rightJustify()
void
setMinimumHexDigits(int numDigits)
void
setPadWithZeros(boolean padWithZeros)
void
setRightJustify(boolean b)
void
setShowBlockName(boolean b)
boolean
showBlockName()
void
writeState(SaveState saveState)
Concrete subclass of WrappedOption should write all of its state to the given saveState object.
-
-
-
Method Detail
-
padWithZeros
public boolean padWithZeros()
-
getMinimumHexDigits
public int getMinimumHexDigits()
-
rightJustify
public boolean rightJustify()
-
showBlockName
public boolean showBlockName()
-
setPadWithZeros
public void setPadWithZeros(boolean padWithZeros)
-
setMinimumHexDigits
public void setMinimumHexDigits(int numDigits)
-
setShowBlockName
public void setShowBlockName(boolean b)
-
setRightJustify
public void setRightJustify(boolean b)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
readState
public void readState(SaveState saveState)
Description copied from interface:CustomOption
Concrete subclass of WrappedOption should read all of its state from the given saveState object.- Specified by:
readState
in interfaceCustomOption
- Parameters:
saveState
- container of state information
-
writeState
public void writeState(SaveState saveState)
Description copied from interface:CustomOption
Concrete subclass of WrappedOption should write all of its state to the given saveState object.- Specified by:
writeState
in interfaceCustomOption
- Parameters:
saveState
- container of state information
-
-