Enum DockingSize.Unit

java.lang.Object
java.lang.Enum<DockingSize.Unit>
com.dlsc.gemsfx.docking.DockingSize.Unit
All Implemented Interfaces:
Serializable, Comparable<DockingSize.Unit>
Enclosing class:
DockingSize

public static enum DockingSize.Unit extends Enum<DockingSize.Unit>
Units supported by a preferred docking size.
  • Enum Constant Details

    • WEIGHT

      public static final DockingSize.Unit WEIGHT
      A fraction of the destination pane's width or height.
    • PIXELS

      public static final DockingSize.Unit PIXELS
      An initial size in JavaFX logical pixels.
  • Method Details

    • values

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

      public static DockingSize.Unit valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null