Enum Class TabPlacement

java.lang.Object
java.lang.Enum<TabPlacement>
com.github.tadukoo.view.constants.TabPlacement
All Implemented Interfaces:
Serializable, Comparable<TabPlacement>, Constable

public enum TabPlacement extends Enum<TabPlacement>
Tab Placement is used to determine where tabs should be placed in a Tabbed Form.
Version:
Alpha v.0.3.3
Author:
Logan Ferree (Tadukoo)
  • 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
    Tabs are placed at the bottom of the form
    Tabs are placed to the left of the form
    Tabs are placed to the right of the form
    Tabs are placed at the top of the form
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    The int value used to represent the placement option
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    TabPlacement(int value)
    Constructs a new Tab Placement with the given value
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    Returns the enum constant of this class with the specified name.
    static TabPlacement[]
    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

    • TOP

      public static final TabPlacement TOP
      Tabs are placed at the top of the form
    • BOTTOM

      public static final TabPlacement BOTTOM
      Tabs are placed at the bottom of the form
    • LEFT

      public static final TabPlacement LEFT
      Tabs are placed to the left of the form
  • Field Details

    • value

      private final int value
      The int value used to represent the placement option
  • Constructor Details

    • TabPlacement

      private TabPlacement(int value)
      Constructs a new Tab Placement with the given value
      Parameters:
      value - The int value used to represent the placement option
  • Method Details

    • values

      public static TabPlacement[] 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 TabPlacement 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
    • getValue

      public int getValue()
      Returns:
      The int value used to represent the placement option