groovy.ui
Class ConsoleTextEditor.UpdateCaretListener

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by groovy.ui.ConsoleTextEditor.UpdateCaretListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, javax.swing.event.DocumentListener
Direct Known Subclasses:
ConsoleTextEditor.RedoAction, ConsoleTextEditor.UndoAction
Enclosing class:
ConsoleTextEditor

private abstract class ConsoleTextEditor.UpdateCaretListener
extends javax.swing.AbstractAction
implements javax.swing.event.DocumentListener


Field Summary
protected  int lastUpdate
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
private ConsoleTextEditor.UpdateCaretListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 void changedUpdate(javax.swing.event.DocumentEvent de)
           
 void insertUpdate(javax.swing.event.DocumentEvent de)
           
 void removeUpdate(javax.swing.event.DocumentEvent de)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastUpdate

protected int lastUpdate
Constructor Detail

ConsoleTextEditor.UpdateCaretListener

private ConsoleTextEditor.UpdateCaretListener()
Method Detail

changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent de)
Specified by:
changedUpdate in interface javax.swing.event.DocumentListener

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent de)
Specified by:
insertUpdate in interface javax.swing.event.DocumentListener

removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent de)
Specified by:
removeUpdate in interface javax.swing.event.DocumentListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Specified by:
actionPerformed in interface java.awt.event.ActionListener


Copyright © ${year} The Codehaus. All Rights Reserved.