Class RMLinkedText

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, PropertyChangeListener, Cloneable, EventListener

public class RMLinkedText extends RMTextShape
This class is a shape used to render text that didn't fit in a referenced text shape.
  • Constructor Details

    • RMLinkedText

      public RMLinkedText()
      Creates a new linked text.
    • RMLinkedText

      public RMLinkedText(RMTextShape aText)
      Creates a new overfloat text for the given text shape.
  • Method Details

    • getPreviousText

      public RMTextShape getPreviousText()
      Returns the text that this text is linked from.
    • setPreviousText

      public void setPreviousText(RMTextShape aText)
      Sets the text that this text is linked from.
    • getXString

      public RMXString getXString()
      Returns the same xstring as previoust text.
      Overrides:
      getXString in class RMTextShape
    • getFont

      public RMFont getFont()
      Returns the font for char 0 of the start text.
      Overrides:
      getFont in class RMTextShape
    • getVisibleStart

      public int getVisibleStart()
      Overrides text implementation to return index where previous text left off.
      Overrides:
      getVisibleStart in class RMTextShape
    • setParent

      public void setParent(RMParentShape aShape)
      Overrides shape method to rewire linked text linked list.
      Overrides:
      setParent in class RMShape
    • getDrawsClippedLine

      public boolean getDrawsClippedLine()
      Overrides text to indicate that linked texts never show clipped lines.
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML archival.
      Specified by:
      toXML in interface Archivable
      Overrides:
      toXML in class RMTextShape