Module org.snapfx

Enum Class DockTitleBarMode

java.lang.Object
java.lang.Enum<DockTitleBarMode>
org.snapfx.view.DockTitleBarMode
All Implemented Interfaces:
Serializable, Comparable<DockTitleBarMode>, Constable

public enum DockTitleBarMode extends Enum<DockTitleBarMode>
Controls when DockNode title bars are shown.
  • Enum Constant Details

    • ALWAYS

      public static final DockTitleBarMode ALWAYS
      Always show the title bar, even when docked inside a tab pane.
    • NEVER

      public static final DockTitleBarMode NEVER
      Never show the title bar, even when docked outside a tab pane.
    • AUTO

      public static final DockTitleBarMode AUTO
      Show the title bar only when the node is not inside a tab pane.
  • Method Details

    • values

      public static DockTitleBarMode[] 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 DockTitleBarMode 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