Class RMLinkedText

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

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

      • RMLinkedText

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

        public RMLinkedText​(RMText aText)
        Creates a new overfloat text for the given text shape.
    • Method Detail

      • getPreviousText

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

        public void setPreviousText​(RMText 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 RMText
      • getVisibleStart

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

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

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

        public java.lang.String getToolClassName()
        Editor method - indicates that linked text should use normal text inspector.
        Overrides:
        getToolClassName in class RMShape