java.lang.Object
java.lang.Enum<MetisViewerResource>
io.github.tonywasher.joceanus.metis.viewer.MetisViewerResource
All Implemented Interfaces:
MetisDataItem.MetisDataFieldId, OceanusBundleId, Serializable, Comparable<MetisViewerResource>, Constable

public enum MetisViewerResource extends Enum<MetisViewerResource> implements OceanusBundleId, MetisDataItem.MetisDataFieldId
Resource IDs for Metis viewer.
  • Enum Constant Details

    • VIEWER_TITLE

      public static final MetisViewerResource VIEWER_TITLE
      Viewer window title.
    • VIEWER_ROOT

      public static final MetisViewerResource VIEWER_ROOT
      Viewer Root title.
    • VIEWER_COLUMN_FIELD

      public static final MetisViewerResource VIEWER_COLUMN_FIELD
      Field column title.
    • VIEWER_COLUMN_VALUE

      public static final MetisViewerResource VIEWER_COLUMN_VALUE
      Value column title.
    • VIEWER_COLUMN_KEY

      public static final MetisViewerResource VIEWER_COLUMN_KEY
      Key column title.
    • VIEWER_TABLE_MAP

      public static final MetisViewerResource VIEWER_TABLE_MAP
      Map table.
    • VIEWER_TABLE_SECTIONS

      public static final MetisViewerResource VIEWER_TABLE_SECTIONS
      Sections table.
    • VIEWER_TABLE_STACKTRACE

      public static final MetisViewerResource VIEWER_TABLE_STACKTRACE
      StackTrace table.
    • VIEWER_SELECT_ITEM

      public static final MetisViewerResource VIEWER_SELECT_ITEM
      ItemSelect item text.
    • VIEWER_SELECT_OF

      public static final MetisViewerResource VIEWER_SELECT_OF
      ItemSelect Of Text.
    • VIEWER_SELECT_SHOWHDR

      public static final MetisViewerResource VIEWER_SELECT_SHOWHDR
      ItemSelect ShowHdr text.
    • VIEWER_SELECT_SHOWITEMS

      public static final MetisViewerResource VIEWER_SELECT_SHOWITEMS
      ItemSelect ShowItem text.
    • VIEWER_ENTRY_ERROR

      public static final MetisViewerResource VIEWER_ENTRY_ERROR
      Error Entry.
    • VIEWER_ENTRY_PROFILE

      public static final MetisViewerResource VIEWER_ENTRY_PROFILE
      Profile Entry.
    • VIEWER_ENTRY_DATA

      public static final MetisViewerResource VIEWER_ENTRY_DATA
      Data Entry.
    • VIEWER_ENTRY_UPDATES

      public static final MetisViewerResource VIEWER_ENTRY_UPDATES
      Updates Entry.
    • VIEWER_ENTRY_VIEW

      public static final MetisViewerResource VIEWER_ENTRY_VIEW
      View Entry.
    • VIEWER_ENTRY_PREF

      public static final MetisViewerResource VIEWER_ENTRY_PREF
      Preferences Entry.
    • VIEWER_ERROR_CLASS

      public static final MetisViewerResource VIEWER_ERROR_CLASS
      Exception Class.
    • VIEWER_ERROR_MESSAGE

      public static final MetisViewerResource VIEWER_ERROR_MESSAGE
      Exception Message.
    • VIEWER_ERROR_ORIGIN

      public static final MetisViewerResource VIEWER_ERROR_ORIGIN
      Exception Origin.
    • VIEWER_ERROR_CAUSE

      public static final MetisViewerResource VIEWER_ERROR_CAUSE
      Exception Cause.
    • VIEWER_ERROR_OBJECT

      public static final MetisViewerResource VIEWER_ERROR_OBJECT
      Exception Object.
    • VIEWER_ERROR_STACK

      public static final MetisViewerResource VIEWER_ERROR_STACK
      Exception Stack.
  • Method Details

    • values

      public static MetisViewerResource[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MetisViewerResource valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getKeyName

      public String getKeyName()
      Description copied from interface: OceanusBundleId
      Get Key Name.
      Specified by:
      getKeyName in interface OceanusBundleId
      Returns:
      the key name.
    • getNameSpace

      public String getNameSpace()
      Description copied from interface: OceanusBundleId
      Get NameSpace.
      Specified by:
      getNameSpace in interface OceanusBundleId
      Returns:
      the nameSpace.
    • getValue

      public String getValue()
      Description copied from interface: OceanusBundleId
      Get Value.
      Specified by:
      getValue in interface OceanusBundleId
      Returns:
      the value.
    • getId

      public String getId()
      Description copied from interface: MetisDataItem.MetisDataFieldId
      Obtain the fieldId.
      Specified by:
      getId in interface MetisDataItem.MetisDataFieldId
      Returns:
      the fieldId
    • getKeyForStdEntry

      static OceanusBundleId getKeyForStdEntry(MetisViewerStandardEntry pEntry)
      Obtain key for stdEntry.
      Parameters:
      pEntry - the entry
      Returns:
      the resource key