Package ghidra.app.util.viewer.field
Interface ListingField
- All Superinterfaces:
Field
- All Known Implementing Classes:
ErrorListingField
,ImageFactoryField
,IndentField
,ListingTextField
,OpenCloseField
Interface that extends the Field interface to add addition information that
the browser needs from the fields.
-
Method Summary
Modifier and TypeMethodDescriptiongetClickedObject
(FieldLocation fieldLocation) Returns the object that was clicked on a Field for the given FieldLocation.Returns the FieldFactory that generated this FieldReturns the fieldModel that has the FieldFactory that generated this field.int
Returns the height above the imaginary base line used for alignment of fields.int
Returns the height below the imaginary base line used for alignment of fields.ProxyObj<?>
getProxy()
Returns the object that the fieldFactory used to generate the information in this field.Methods inherited from interface docking.widgets.fieldpanel.field.Field
contains, getCol, getCursorBounds, getHeight, getNumCols, getNumDataRows, getNumRows, getPreferredWidth, getRow, getScrollableUnitIncrement, getStartX, getText, getTextWithLineSeparators, getWidth, getX, getY, isPrimary, isValid, paint, rowHeightChanged, screenLocationToTextOffset, textOffsetToScreenLocation
-
Method Details
-
getFieldFactory
FieldFactory getFieldFactory()Returns the FieldFactory that generated this Field- Returns:
- the FieldFactory that generated this Field
-
getHeightAbove
int getHeightAbove()Returns the height above the imaginary base line used for alignment of fields.- Specified by:
getHeightAbove
in interfaceField
- Returns:
- the height above
-
getHeightBelow
int getHeightBelow()Returns the height below the imaginary base line used for alignment of fields.- Specified by:
getHeightBelow
in interfaceField
- Returns:
- the height below
-
getFieldModel
FieldFormatModel getFieldModel()Returns the fieldModel that has the FieldFactory that generated this field.- Returns:
- the fieldModel that has the FieldFactory that generated this field.
-
getProxy
ProxyObj<?> getProxy()Returns the object that the fieldFactory used to generate the information in this field.- Returns:
- the object that the fieldFactory used to generate the information in this field.
-
getClickedObject
Returns the object that was clicked on a Field for the given FieldLocation. This may be the field itself or a lower-level entity, such as a FieldElement.- Parameters:
fieldLocation
- The location that was clicked.- Returns:
- the object that was clicked
-