home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / plaf / basic / BasicSplitPaneUI$KeyboardUpLeftHandler.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  912 b   |  21 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import java.awt.event.ActionListener;
  5.  
  6. public class BasicSplitPaneUI$KeyboardUpLeftHandler implements ActionListener {
  7.    // $FF: synthetic field
  8.    private final BasicSplitPaneUI this$0;
  9.  
  10.    public BasicSplitPaneUI$KeyboardUpLeftHandler(BasicSplitPaneUI var1) {
  11.       this.this$0 = var1;
  12.    }
  13.  
  14.    public void actionPerformed(ActionEvent var1) {
  15.       if (BasicSplitPaneUI.access$100(this.this$0)) {
  16.          this.this$0.splitPane.setDividerLocation(Math.max(0, this.this$0.getDividerLocation(this.this$0.splitPane) - this.this$0.getKeyboardMoveIncrement()));
  17.       }
  18.  
  19.    }
  20. }
  21.