Enum Class SplitterPosition

java.lang.Object
java.lang.Enum<SplitterPosition>
com.jbstrap.ui.components.layout.splitter.SplitterPosition
All Implemented Interfaces:
Serializable, Comparable<SplitterPosition>, Constable

public enum SplitterPosition extends Enum<SplitterPosition>
Enum containing the named positions of the splitter component’s separator line
Since:
4.0
Author:
JBStrap
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The line separating the splitter component’s containers is located at the bottom of the component Only for horizontal splitter
    The line separating the splitter component’s containers is located in the middle of the component For horizontal as well as vertical splitters
    The line separating the splitter component’s containers is located on the left side of the component Only for horizontal splitter
    The line separating the splitter component’s containers is located on the right side of the component Only for horizontal splitter
    The line separating the splitter component’s containers is located on the top of the component Only for horizontal splitter
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected List<com.jbstrap.ui.components.layout.splitter.SplitterOrientation>
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • LEFT

      public static final SplitterPosition LEFT
      The line separating the splitter component’s containers is located on the left side of the component Only for horizontal splitter
    • CENTER

      public static final SplitterPosition CENTER
      The line separating the splitter component’s containers is located in the middle of the component For horizontal as well as vertical splitters
    • TOP

      public static final SplitterPosition TOP
      The line separating the splitter component’s containers is located on the top of the component Only for horizontal splitter
    • BOTTOM

      public static final SplitterPosition BOTTOM
      The line separating the splitter component’s containers is located at the bottom of the component Only for horizontal splitter
  • Method Details

    • values

      public static SplitterPosition[] 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 SplitterPosition 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
    • getJsName

      protected String getJsName()
      Returns:
      The name of the position used in JavaScript
    • getOrientations

      protected List<com.jbstrap.ui.components.layout.splitter.SplitterOrientation> getOrientations()
      Returns:
      A list of all splitter orientations enabling the named position for use