Enum Class ListGridColumnAlignment

java.lang.Object
java.lang.Enum<ListGridColumnAlignment>
com.jbstrap.ui.components.listgrid.enums.ListGridColumnAlignment
All Implemented Interfaces:
Serializable, Comparable<ListGridColumnAlignment>, Constable

public enum ListGridColumnAlignment extends Enum<ListGridColumnAlignment>
List grid content alignments.
Since:
4.0
Author:
JBStrap
  • Enum Constant Details

  • Method Details

    • values

      public static ListGridColumnAlignment[] 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 ListGridColumnAlignment 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
    • getAlignValue

      public String getAlignValue()
      Returns:
      Style class name for the alignment type
    • getDsName

      public String getDsName()
      Returns:
      Alignment parameter value from the DataDescriptor
    • fromDsParam

      public static ListGridColumnAlignment fromDsParam(String name)
      Parameters:
      name - Parameter value from the DataDescriptor
      Returns:
      Alignment type for the specified value or null if there is no alignment type for the specified value