Class Alignment

System.Object
EasyXLS.Constants.Alignment

public class Alignment extends System.Object
This class contains the constants for vertical and horizontal text alignment when formatting cells.
  • Constant Summary

    Fields
    Modifier and Type
    Field
    Description
    const System.String
    A constant indicating bottom vertical text alignment.
    const System.String
    A constant indicating center horizontal text alignment.
    const System.String
    A constant indicating center across selection horizontal text alignment.
    const System.String
    A constant indicating distributed horizontal or vertical text alignment.
    const System.String
    A constant indicating fill horizontal text alignment.
    const System.String
    A constant indicating general horizontal text alignment.
    const System.String
    A constant indicating justify horizontal or vertical text alignment.
    const System.String
    A constant indicating left horizontal text alignment.
    const System.String
    A constant indicating middle vertical text alignment.
    const System.String
    A constant indicating right horizontal text alignment.
    const System.String
    A constant indicating top vertical text alignment.
    const int
    A constant indicating Context text direction.
    const int
    A constant indicating Left-to-right text direction.
    const int
    A constant indicating Right-to-left text direction.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class System.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ALIGNMENT_GENERAL

      public const final System.String ALIGNMENT_GENERAL
      A constant indicating general horizontal text alignment. Embedded value is "general".
      See Also:
      Constant Values
    • ALIGNMENT_CENTER

      public const final System.String ALIGNMENT_CENTER
      A constant indicating center horizontal text alignment. Embedded value is "center".
      See Also:
      Constant Values
    • ALIGNMENT_LEFT

      public const final System.String ALIGNMENT_LEFT
      A constant indicating left horizontal text alignment. Embedded value is "left".
      See Also:
      Constant Values
    • ALIGNMENT_RIGHT

      public const final System.String ALIGNMENT_RIGHT
      A constant indicating right horizontal text alignment. Embedded value is "right".
      See Also:
      Constant Values
    • ALIGNMENT_FILL

      public const final System.String ALIGNMENT_FILL
      A constant indicating fill horizontal text alignment. Embedded value is "fill".
      See Also:
      Constant Values
    • ALIGNMENT_JUSTIFY

      public const final System.String ALIGNMENT_JUSTIFY
      A constant indicating justify horizontal or vertical text alignment. Embedded value is "justify".
      See Also:
      Constant Values
    • ALIGNMENT_CENTER_ACROSS_SELECTION

      public const final System.String ALIGNMENT_CENTER_ACROSS_SELECTION
      A constant indicating center across selection horizontal text alignment. Embedded value is "center across selection".
      See Also:
      Constant Values
    • ALIGNMENT_DISTRIBUTED

      public const final System.String ALIGNMENT_DISTRIBUTED
      A constant indicating distributed horizontal or vertical text alignment. Embedded value is "distributed".
      See Also:
      Constant Values
    • ALIGNMENT_TOP

      public const final System.String ALIGNMENT_TOP
      A constant indicating top vertical text alignment. Embedded value is "top".
      See Also:
      Constant Values
    • ALIGNMENT_MIDDLE

      public const final System.String ALIGNMENT_MIDDLE
      A constant indicating middle vertical text alignment. Embedded value is "middle".
      See Also:
      Constant Values
    • ALIGNMENT_BOTTOM

      public const final System.String ALIGNMENT_BOTTOM
      A constant indicating bottom vertical text alignment. Embedded value is "bottom".
      See Also:
      Constant Values
    • TEXT_DIRECTION_CONTEXT

      public const final int TEXT_DIRECTION_CONTEXT
      A constant indicating Context text direction. Embedded value is 0.
      See Also:
      Constant Values
    • TEXT_DIRECTION_LEFT_TO_RIGHT

      public const final int TEXT_DIRECTION_LEFT_TO_RIGHT
      A constant indicating Left-to-right text direction. Embedded value is 1.
      See Also:
      Constant Values
    • TEXT_DIRECTION_RIGHT_TO_LEFT

      public const final int TEXT_DIRECTION_RIGHT_TO_LEFT
      A constant indicating Right-to-left text direction. Embedded value is 2.
      See Also:
      Constant Values
  • Constructor Details

    • Alignment

      public Alignment()