java.lang.Object
com.aquima.interactions.composer.model.table.AlignType
All Implemented Interfaces:
Serializable

public final class AlignType extends Object implements Serializable
This class defines the possible alignment types for table cells.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final AlignType
    This member defines the LEFT align type.
    static final AlignType
    This member defines the MIDDLE align type.
    static final AlignType
    This member defines the alignment type NONE (no alignment specified).
    static final AlignType
    This member defines the RIGHT align type.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    This method will compare this instance against the object passed to the method, and return true when both are identical.
    int
    This method return the unique id of this aligntype.
    This method return the name of the aligntype.
    int
    This method returns a hash code based on the id of the align type.
    This method returns a string containing descriptive information about this aligntype.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • NONE

      public static final AlignType NONE
      This member defines the alignment type NONE (no alignment specified).
    • LEFT

      public static final AlignType LEFT
      This member defines the LEFT align type.
    • MIDDLE

      public static final AlignType MIDDLE
      This member defines the MIDDLE align type.
  • Method Details

    • getId

      public int getId()
      This method return the unique id of this aligntype.
      Returns:
      int containing the unique id of the aligntype.
    • getName

      public String getName()
      This method return the name of the aligntype.
      Returns:
      String containing the name of the aligntype.
    • toString

      public String toString()
      This method returns a string containing descriptive information about this aligntype.
      Overrides:
      toString in class Object
      Returns:
      String containing descriptive information about this aligntype.
    • hashCode

      public int hashCode()
      This method returns a hash code based on the id of the align type.
      Overrides:
      hashCode in class Object
      Returns:
      hash code based on the align type id.
    • equals

      public boolean equals(Object obj)
      This method will compare this instance against the object passed to the method, and return true when both are identical.
      Overrides:
      equals in class Object
      Parameters:
      obj - The object that should be used to compare this align type to.
      Returns:
      boolean indicating if the object passed is identical to this align type.