Class SourceInTime

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

class SourceInTime extends JPanel
Display a source text with real-timed cursors.
  • Field Details

    • nominalFontSize

      protected int nominalFontSize
      Configuration parameter. Can be overwritten by subclasses.
    • textArea

      final JTextArea textArea
    • glassPane

      final JPanel glassPane
    • layeredPane

      final JLayeredPane layeredPane
    • jscroll

      final JScrollPane jscroll
    • source

      final String source
    • ts

      final TimeScape ts
    • tp2lastLine

      final Map<Tp,Integer> tp2lastLine
    • tp2lastAccoladeLine

      final Map<Tp,Integer> tp2lastAccoladeLine
    • event2lastLine

      final Map<Event,Integer> event2lastLine
    • countColumns

      int countColumns
    • countLines

      int countLines
    • pxPerLine

      int pxPerLine
    • pxPerColumn

      int pxPerColumn
    • showColor

      final Color showColor
    • rubOut

      final Color rubOut
    • showStates

      final Map<Event,SourceInTime.ShowStates> showStates
  • Constructor Details

  • Method Details

    • countLinesAndColumns

      void countLinesAndColumns(String text)
    • cacheLastLines

      void cacheLastLines(TimeScape ts, Part part)
    • unshowCursor

      void unshowCursor(Event ev)
    • showCursor

      void showCursor(Event ev)
    • main

      public static void main(String[] args) throws IOException
      Throws:
      IOException