edu.psu.geovista.app.spreadsheet.table
Class SortRange
java.lang.Object
edu.psu.geovista.app.spreadsheet.table.SortRange
- public class SortRange
- extends java.lang.Object
|
Method Summary |
boolean |
containCell(int x,
int y)
See if cell(x,y) in sortRange
assume x, y is within the table |
boolean |
containColumn(int y)
See if cell(x,y) in sortRange
assume y is within the table |
boolean |
containRow(int x)
See if rowX in sortRange
assume x is within the table |
boolean |
contains(int y)
true if the SortRange contains a column index |
java.util.HashSet |
getColumns()
|
java.util.HashSet |
getRows()
|
int |
getType()
|
void |
setColumn(int y)
|
void |
setRow(int x)
|
void |
setType(int type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENTIRE_TABLE
public static final int ENTIRE_TABLE
- See Also:
- Constant Field Values
COLUMNS
public static final int COLUMNS
- See Also:
- Constant Field Values
ROWS
public static final int ROWS
- See Also:
- Constant Field Values
RANGE
public static final int RANGE
- See Also:
- Constant Field Values
SortRange
public SortRange()
containCell
public boolean containCell(int x,
int y)
- See if cell(x,y) in sortRange
assume x, y is within the table
containRow
public boolean containRow(int x)
- See if rowX in sortRange
assume x is within the table
containColumn
public boolean containColumn(int y)
- See if cell(x,y) in sortRange
assume y is within the table
getType
public int getType()
setType
public void setType(int type)
getColumns
public java.util.HashSet getColumns()
setColumn
public void setColumn(int y)
contains
public boolean contains(int y)
- true if the SortRange contains a column index
getRows
public java.util.HashSet getRows()
setRow
public void setRow(int x)
Copyright © 1996-2003 GeoVista Center. All Rights Reserved.