|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LockedTableModel
LockedTableModel is the model that holds the number of locked rows/columns at the 4 edges of the table.
Field Summary | |
---|---|
static int |
BOTTOM_DIRECTION
constant indicating the bottom side of the table. |
static int |
LEFT_DIRECTION
constant indicating the left side of the table. |
static int |
RIGHT_DIRECTION
constant indicating the right side of the table. |
static int |
TOP_DIRECTION
constant indicating the top side of the table. |
Method Summary | |
---|---|
void |
addLockedTableModelListener(LockedTableModelListener l)
Adds a LockedTableModelListener that is notified each time a locked row/column is added/removed from the table. |
int |
getLockedColumns(int direction)
Returns the locked columns at the top or bottom of the table. |
int |
getLockedRows(int direction)
Returns the locked rows at the left or right of the table. |
void |
removeLockedTableModelListener(LockedTableModelListener l)
Removes a LockedTableModelListener from the list that is notified each time a locked row/column is added/removed from the table. |
void |
setLockedColumns(int columns,
int direction)
Assigns the locked columns at the top or bottom of the table. |
void |
setLockedRows(int rows,
int direction)
Assigns the locked rows at the left or right of the table. |
Field Detail |
---|
static final int LEFT_DIRECTION
static final int RIGHT_DIRECTION
static final int TOP_DIRECTION
static final int BOTTOM_DIRECTION
Method Detail |
---|
void addLockedTableModelListener(LockedTableModelListener l)
l
- the LockedTableModelListener to addint getLockedColumns(int direction)
direction
- the direction - either TOP or BOTTOM.
int getLockedRows(int direction)
direction
- the direction - either LEFT or RIGHT.
void removeLockedTableModelListener(LockedTableModelListener l)
l
- the LockedTableModelListener to removevoid setLockedColumns(int columns, int direction)
columns
- the number of locked columnsdirection
- the direction - either TOP or BOTTOM.void setLockedRows(int rows, int direction)
rows
- the number of locked rowsdirection
- the direction - either LEFT or RIGHT.
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |