jET
1.0alpha4


org.jet.tracks
Class AbstractTrackProp.AbstractTextAction

java.lang.Object
  |
  +--org.jet.tracks.AbstractTrackProp.AbstractTextAction
All Implemented Interfaces:
javax.swing.event.DocumentListener, java.util.EventListener
Direct Known Subclasses:
AbstractTrackProp.Colorizer
Enclosing class:
AbstractTrackProp

protected abstract class AbstractTrackProp.AbstractTextAction
extends java.lang.Object
implements javax.swing.event.DocumentListener

Inner class for updating values in other text components.


Constructor Summary
protected AbstractTrackProp.AbstractTextAction()
           
 
Method Summary
protected abstract  void act(javax.swing.event.DocumentEvent de)
          Deals with document events.
 void changedUpdate(javax.swing.event.DocumentEvent de)
          Unused, because plain text components does not use it.
 void insertUpdate(javax.swing.event.DocumentEvent de)
          Invoked when there is some insert action in document.
 void removeUpdate(javax.swing.event.DocumentEvent de)
          Invoked when there is some remove action in document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTrackProp.AbstractTextAction

protected AbstractTrackProp.AbstractTextAction()
Method Detail

changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent de)
Unused, because plain text components does not use it.

Specified by:
changedUpdate in interface javax.swing.event.DocumentListener

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent de)
Invoked when there is some insert action in document. It invokes act(DocumentEvent) method.

Specified by:
insertUpdate in interface javax.swing.event.DocumentListener
Parameters:
de - Event.
See Also:
act(DocumentEvent)

removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent de)
Invoked when there is some remove action in document. It invokes act(DocumentEvent) method.

Specified by:
removeUpdate in interface javax.swing.event.DocumentListener
Parameters:
de - Event.
See Also:
act(DocumentEvent)

act

protected abstract void act(javax.swing.event.DocumentEvent de)
Deals with document events.

Parameters:
de - Document event.

jET
1.0alpha4