Class Leader

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class Leader
    extends InlineArea
    This is a leader inline area. This class is only used for leader with leader-pattern of rule.
    See Also:
    Serialized Form
    • Constructor Detail

      • Leader

        public Leader()
        Create a new leader area.
    • Method Detail

      • setRuleStyle

        public void setRuleStyle​(int style)
        Set the rule style of this leader area.
        Parameters:
        style - the rule style for the leader line
      • setRuleStyle

        public void setRuleStyle​(java.lang.String style)
        Set the rule style of this leader area.
        Parameters:
        style - the rule style for the leader area (XSL enum values)
      • setRuleThickness

        public void setRuleThickness​(int rt)
        Set the rule thickness of the rule in miilipoints.
        Parameters:
        rt - the rule thickness in millipoints
      • getRuleStyle

        public int getRuleStyle()
        Get the rule style of this leader.
        Returns:
        the rule style
      • getRuleStyleAsString

        public java.lang.String getRuleStyleAsString()
        Returns:
        the rule style as string
      • getRuleThickness

        public int getRuleThickness()
        Get the rule thickness of the rule in miilipoints.
        Returns:
        the rule thickness in millipoints