Class BookmarkTypeDB

java.lang.Object
ghidra.program.database.bookmark.BookmarkTypeDB
All Implemented Interfaces:
BookmarkType

public class BookmarkTypeDB extends Object implements BookmarkType
  • Method Details

    • getTypeString

      public String getTypeString()
      Description copied from interface: BookmarkType
      Returns the type as a string.
      Specified by:
      getTypeString in interface BookmarkType
      Returns:
      the type as a string.
    • 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 interface BookmarkType
      Returns:
      true if there is at least one bookmark defined for this type.
    • getTypeId

      public int getTypeId()
      Description copied from interface: BookmarkType
      Returns the id associated with this bookmark type.
      Specified by:
      getTypeId in interface BookmarkType
      Returns:
      the id associated with this bookmark type.
    • getIcon

      public Icon 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 interface BookmarkType
      Returns:
      the icon.
    • getMarkerColor

      public 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 interface BookmarkType
      Returns:
      the color.
    • 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 interface BookmarkType
      Returns:
      the priority.
    • toString

      public String toString()
      Overrides:
      toString in class Object