Package ghidra.app.util.viewer.field
Interface ListingField
-
- All Superinterfaces:
Field
- All Known Implementing Classes:
ErrorListingField
,ImageFactoryField
,IndentField
,ListingTextField
,OpenCloseField
public interface ListingField extends Field
Interface that extends the Field interface to add addition information that the browser needs from the fields.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getClickedObject(FieldLocation fieldLocation)
Returns the object that was clicked on a Field for the given FieldLocation.FieldFactory
getFieldFactory()
Returns the FieldFactory that generated this FieldFieldFormatModel
getFieldModel()
Returns the fieldModel that has the FieldFactory that generated this field.int
getHeightAbove()
Returns the height above the imaginary base line used for alignment of fields.int
getHeightBelow()
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 Detail
-
getFieldFactory
FieldFactory getFieldFactory()
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.
-
getProxy
ProxyObj getProxy()
Returns the object that the fieldFactory used to generate the information in this field.
-
getClickedObject
java.lang.Object getClickedObject(FieldLocation fieldLocation)
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
-
-