Interface HasAlign<T>

Type Parameters:
T -
All Known Implementing Classes:
AbstractEnhancedLabel, AbstractLegend.SelectorLabel, AbstractSeries.LabelLayout, AxisLabel, HasAxisName.NameTextStyle, Label, LineSeries.EndLabel, RichStyle, Title.SubtextStyle

public interface HasAlign<T>
A component that has alignment.
  • Method Details

    • getAlign

      Align getAlign()
      Returns:
      horizontal alignment of component
    • setAlign

      void setAlign(Align align)
      Sets horizontal alignment of component or replaces an existing one.
      Parameters:
      align - alignment to set
    • withAlign

      default T withAlign(Align align)
      Parameters:
      align - alignment to set
      Returns:
      this
      See Also:
    • getVerticalAlign

      VerticalAlign getVerticalAlign()
      Returns:
      vertical alignment of component
    • setVerticalAlign

      void setVerticalAlign(VerticalAlign verticalAlign)
      Sets vertical alignment of component or replaces an existing one.
      Parameters:
      verticalAlign - alignment to set
    • withVerticalAlign

      default T withVerticalAlign(VerticalAlign verticalAlign)
      Parameters:
      verticalAlign - alignment to set
      Returns:
      this
      See Also: