Package ghidra.program.database.bookmark
Class BookmarkTypeDB
- java.lang.Object
-
- ghidra.program.database.bookmark.BookmarkTypeDB
-
- All Implemented Interfaces:
BookmarkType
public class BookmarkTypeDB extends java.lang.Object implements BookmarkType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.ImageIcon
getIcon()
Returns Icon associated with this type or null if one has not been set by a plugin.java.awt.Color
getMarkerColor()
Returns marker color associated with this type or null if one has not been set by a plugin.int
getMarkerPriority()
Returns marker priority associated with this type or -1 if one has not been set by a plugin.int
getTypeId()
Returns the id associated with this bookmark type.java.lang.String
getTypeString()
Returns the type as a stringboolean
hasBookmarks()
Returns true if there is at least one bookmark defined for this typejava.lang.String
toString()
-
-
-
Method Detail
-
getTypeString
public java.lang.String getTypeString()
Description copied from interface:BookmarkType
Returns the type as a string- Specified by:
getTypeString
in interfaceBookmarkType
-
hasBookmarks
public boolean hasBookmarks()
Description copied from interface:BookmarkType
Returns true if there is at least one bookmark defined for this type- Specified by:
hasBookmarks
in interfaceBookmarkType
-
getTypeId
public int getTypeId()
Description copied from interface:BookmarkType
Returns the id associated with this bookmark type.- Specified by:
getTypeId
in interfaceBookmarkType
-
getIcon
public javax.swing.ImageIcon getIcon()
Description copied from interface:BookmarkType
Returns Icon associated with this type or null if one has not been set by a plugin.- Specified by:
getIcon
in interfaceBookmarkType
-
getMarkerColor
public java.awt.Color getMarkerColor()
Description copied from interface:BookmarkType
Returns marker color associated with this type or null if one has not been set by a plugin.- Specified by:
getMarkerColor
in interfaceBookmarkType
-
getMarkerPriority
public int getMarkerPriority()
Description copied from interface:BookmarkType
Returns marker priority associated with this type or -1 if one has not been set by a plugin.- Specified by:
getMarkerPriority
in interfaceBookmarkType
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-