Class ExtendedMode

java.lang.Object
bibliothek.gui.dock.common.mode.ExtendedMode

@ClientOnly public class ExtendedMode extends Object
A extendible set of unique singleton identifiers for the various instances of mode.
Author:
Benjamin Sigg
  • Field Details

  • Constructor Details

    • ExtendedMode

      public ExtendedMode(Path modeIdentifier)
      Creates a new key.
      Parameters:
      modeIdentifier - the unique identifier of the mode
  • Method Details

    • getModeIdentifier

      public Path getModeIdentifier()
      Gets the unique identifier of the mode.
      Returns:
      the identifier, not null
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object