Package org.fife.ui.rsyntaxtextarea
Class RSyntaxTextArea.MatchedBracketPopupTimer
java.lang.Object
javax.swing.Timer
org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.MatchedBracketPopupTimer
- All Implemented Interfaces:
ActionListener
,Serializable
,EventListener
,CaretListener
- Enclosing class:
RSyntaxTextArea
private final class RSyntaxTextArea.MatchedBracketPopupTimer
extends Timer
implements ActionListener, CaretListener
Renders the text on the line containing the "matched bracket" after a
delay.
-
Field Summary
FieldsFields inherited from class javax.swing.Timer
listenerList
-
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
popup
-
origDot
private int origDot -
matchedBracketOffs
private int matchedBracketOffs
-
-
Constructor Details
-
MatchedBracketPopupTimer
private MatchedBracketPopupTimer()
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
caretUpdate
- Specified by:
caretUpdate
in interfaceCaretListener
-
restart
public void restart(int matchedBracketOffs) Restarts this timer, and stores a new offset to paint.- Parameters:
matchedBracketOffs
- The offset of the new matched bracket.
-
start
public void start()
-