Interface AlignmentContext


public interface AlignmentContext
An object used to determine the used value of an alignment.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.faceless.publisher.type.Alignment
     
    org.faceless.publisher.type.CSSStyle
    Returns the style of the parent box.
    org.faceless.publisher.type.CSSStyle
    Returns the style of this box.
    boolean
    Indicates whether this box has an intrinsic aspect ratio.
    boolean
    Indicates whether this box has a parent.
    boolean
    Indicates whether this is a replaced box (a box generated by a replaced element).
  • Method Details

    • hasParent

      boolean hasParent()
      Indicates whether this box has a parent.
    • isReplaced

      boolean isReplaced()
      Indicates whether this is a replaced box (a box generated by a replaced element).
    • hasIntrinsicAspectRatio

      boolean hasIntrinsicAspectRatio()
      Indicates whether this box has an intrinsic aspect ratio.
    • getStyle

      org.faceless.publisher.type.CSSStyle getStyle()
      Returns the style of this box.
    • getParentStyle

      org.faceless.publisher.type.CSSStyle getParentStyle()
      Returns the style of the parent box.
    • getNonLegacyJustifyItems

      org.faceless.publisher.type.Alignment getNonLegacyJustifyItems()