Interface Alignable

All Known Implementing Classes:
ExponentFormat, FloatFormat, HexFormat, IntegerFormat, NumberFormat, ObjectFormat, OctalFormat, StringFormat, TemplateDateFormat, TextFormat

public interface Alignable
To be implemented by document parts that can be aligned.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    align(int i)
    Sets the alignment of the object.
    int
    Gets the alignment.
  • Field Details

  • Method Details

    • align

      void align(int i)
      Sets the alignment of the object.
      Parameters:
      i - one of the public constants specifying the alignment.
    • getAlignment

      int getAlignment()
      Gets the alignment.
      Returns:
      the alignment.