Class RSyntaxTextArea.BracketMatchingTimer

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener
    Enclosing class:
    RSyntaxTextArea

    private class RSyntaxTextArea.BracketMatchingTimer
    extends javax.swing.Timer
    implements java.awt.event.ActionListener
    A timer that animates the "bracket matching" animation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int pulseCount  
      • Fields inherited from class javax.swing.Timer

        listenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(java.awt.event.ActionEvent e)  
      private void init​(java.awt.Rectangle r)  
      void start()  
      private void updateAndInvalidate​(java.awt.Rectangle r)  
      • Methods inherited from class javax.swing.Timer

        addActionListener, fireActionPerformed, getActionCommand, getActionListeners, getDelay, getInitialDelay, getListeners, getLogTimers, isCoalesce, isRepeats, isRunning, removeActionListener, restart, setActionCommand, setCoalesce, setDelay, setInitialDelay, setLogTimers, setRepeats, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pulseCount

        private int pulseCount
    • Constructor Detail

      • BracketMatchingTimer

        BracketMatchingTimer()
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • init

        private void init​(java.awt.Rectangle r)
      • start

        public void start()
        Overrides:
        start in class javax.swing.Timer
      • updateAndInvalidate

        private void updateAndInvalidate​(java.awt.Rectangle r)