home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / text / DefaultEditorKit$SelectLineAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  768 b   |  19 lines

  1. package javax.swing.text;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import javax.swing.Action;
  5.  
  6. class DefaultEditorKit$SelectLineAction extends TextAction {
  7.    private Action start = new DefaultEditorKit.BeginLineAction("pigdog", false);
  8.    private Action end = new DefaultEditorKit.EndLineAction("pigdog", true);
  9.  
  10.    DefaultEditorKit$SelectLineAction() {
  11.       super("select-line");
  12.    }
  13.  
  14.    public void actionPerformed(ActionEvent var1) {
  15.       this.start.actionPerformed(var1);
  16.       this.end.actionPerformed(var1);
  17.    }
  18. }
  19.