Enum Class MiniViewers.SyncType

java.lang.Object
java.lang.Enum<MiniViewers.SyncType>
qupath.lib.gui.commands.MiniViewers.SyncType
All Implemented Interfaces:
Serializable, Comparable<MiniViewers.SyncType>, Constable
Enclosing class:
MiniViewers

public static enum MiniViewers.SyncType extends Enum<MiniViewers.SyncType>
The type of synchronization to use for mini viewers.
  • Enum Constant Details

    • CURSOR

      public static final MiniViewers.SyncType CURSOR
      Center the miniviewer based on the cursor location over the main viewer.
    • VIEWER_CENTER

      public static final MiniViewers.SyncType VIEWER_CENTER
      Center the miniviewer using the central pixel in the main viewer.
    • SELECTED_OBJECT

      public static final MiniViewers.SyncType SELECTED_OBJECT
      Center the miniviewer using the last selected object in the main viewer, of the main viewer center if no object is selected.
    • NONE

      public static final MiniViewers.SyncType NONE
      Do not synchronize to the main viewer at all.
  • Method Details

    • values

      public static MiniViewers.SyncType[] 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 MiniViewers.SyncType 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