Package ghidra.feature.vt.gui.actions
Enum Class TableSelectionTrackingState
java.lang.Object
java.lang.Enum<TableSelectionTrackingState>
ghidra.feature.vt.gui.actions.TableSelectionTrackingState
- All Implemented Interfaces:
Serializable
,Comparable<TableSelectionTrackingState>
,Constable
An enum to describe the available selection tracking states. By default Ghidra tables will try
to track the selected element, even if its row changes. Some applications do not want this
behavior. As an example, some applications would rather that the selected row index not
change as the table contents change.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTracks selection for the selected row (instead of the selected value).Tracks selection for the user's selected row value (instead of the selected index).No selection tracking takes place. -
Method Summary
Modifier and TypeMethodDescriptionstatic TableSelectionTrackingState
Returns the enum constant of this class with the specified name.static TableSelectionTrackingState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAINTAIN_SELECTED_ROW_VALUE
Tracks selection for the user's selected row value (instead of the selected index). This is useful when the row value changes position in the table due to sorting changes. -
MAINTAIN_SELECTED_ROW_INDEX
Tracks selection for the selected row (instead of the selected value). This has the effect of always keeping the same row selected, even when the row value changes. -
NO_SELECTION_TRACKING
No selection tracking takes place. When a selection is lost, the table will not try to restore it.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-