home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / javax / swing / JTable$DropLocation.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  1.4 KB  |  44 lines

  1. package javax.swing;
  2.  
  3. import java.awt.Point;
  4.  
  5. public final class JTable$DropLocation extends TransferHandler.DropLocation {
  6.    private final int row;
  7.    private final int col;
  8.    private final boolean isInsertRow;
  9.    private final boolean isInsertCol;
  10.  
  11.    private JTable$DropLocation(Point var1, int var2, int var3, boolean var4, boolean var5) {
  12.       super(var1);
  13.       this.row = var2;
  14.       this.col = var3;
  15.       this.isInsertRow = var4;
  16.       this.isInsertCol = var5;
  17.    }
  18.  
  19.    public int getRow() {
  20.       return this.row;
  21.    }
  22.  
  23.    public int getColumn() {
  24.       return this.col;
  25.    }
  26.  
  27.    public boolean isInsertRow() {
  28.       return this.isInsertRow;
  29.    }
  30.  
  31.    public boolean isInsertColumn() {
  32.       return this.isInsertCol;
  33.    }
  34.  
  35.    public String toString() {
  36.       return this.getClass().getName() + "[dropPoint=" + this.getDropPoint() + "," + "row=" + this.row + "," + "column=" + this.col + "," + "insertRow=" + this.isInsertRow + "," + "insertColumn=" + this.isInsertCol + "]";
  37.    }
  38.  
  39.    // $FF: synthetic method
  40.    JTable$DropLocation(Point var1, int var2, int var3, boolean var4, boolean var5, JTable.1 var6) {
  41.       this(var1, var2, var3, var4, var5);
  42.    }
  43. }
  44.