Package ghidra.program.model.listing
Interface BookmarkType
- All Known Implementing Classes:
BookmarkTypeDB
public interface BookmarkType
Interface for bookmark types.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
Returns Icon associated with this type or null if one has not been set by a plugin.Returns marker color associated with this type or null if one has not been set by a plugin.int
Returns marker priority associated with this type or -1 if one has not been set by a plugin.int
Returns the id associated with this bookmark type.Returns the type as a string.boolean
Returns true if there is at least one bookmark defined for this type.
-
Field Details
-
NOTE
- See Also:
-
INFO
- See Also:
-
ERROR
- See Also:
-
WARNING
- See Also:
-
ANALYSIS
- See Also:
-
-
Method Details
-
getTypeString
String getTypeString()Returns the type as a string.- Returns:
- the type as a string.
-
getIcon
Icon getIcon()Returns Icon associated with this type or null if one has not been set by a plugin.- Returns:
- the icon.
-
getMarkerColor
Color getMarkerColor()Returns marker color associated with this type or null if one has not been set by a plugin.- Returns:
- the color.
-
getMarkerPriority
int getMarkerPriority()Returns marker priority associated with this type or -1 if one has not been set by a plugin.- Returns:
- the priority.
-
hasBookmarks
boolean hasBookmarks()Returns true if there is at least one bookmark defined for this type.- Returns:
- true if there is at least one bookmark defined for this type.
-
getTypeId
int getTypeId()Returns the id associated with this bookmark type.- Returns:
- the id associated with this bookmark type.
-