Class jclass.table.JCResizeCellInfo
All Packages Class Hierarchy This Package Previous Next Index
Class jclass.table.JCResizeCellInfo
java.lang.Object
|
+----jclass.table.JCResizeCellInfo
- public class JCResizeCellInfo
- extends Object
JCResizeCellInfo is the info parameter of a RESIZE_CELL callback.
- See Also:
- RESIZE_CELL
-
column
- The row/column being resized (read-only).
-
current_column_width
- The current column width (read-only).
-
current_row_height
- The current row height (read-only).
-
doit
- Determines whether or not to allow an interactive resize.
-
event
- The event which initiated the action (read-only).
-
new_column_width
- The new column width (read-write).
-
new_row_height
- The new row height (read-write).
-
param
- The resize stage:
START Begin interactive resize
MOVE Select new height/width
END Finish resize selection
CANCEL Cancels the current resize
-
row
- The row/column being resized (read-only).
-
stage
- This is either JCTblCallback.BEGIN or JCTblCallback.END (read-only).
-
JCResizeCellInfo(Event, int, int, String, int, int)
-
event
public Event event
- The event which initiated the action (read-only).
row
public int row
- The row/column being resized (read-only). If only a row is resized, column is JCTblEnum.NOVALUE and vice versa.
column
public int column
- The row/column being resized (read-only). If only a row is resized, column is JCTblEnum.NOVALUE and vice versa.
stage
public int stage
- This is either JCTblCallback.BEGIN or JCTblCallback.END (read-only).
param
public String param
- The resize stage:
START Begin interactive resize
MOVE Select new height/width
END Finish resize selection
CANCEL Cancels the current resize
current_row_height
public int current_row_height
- The current row height (read-only).
current_column_width
public int current_column_width
- The current column width (read-only).
new_row_height
public int new_row_height
- The new row height (read-write). This is set to JCTblEnum.NOVALUE if
the user only resizes a column. This may be changed if stage is END.
new_column_width
public int new_column_width
- The new column width (read-write). This is set to JCTblEnum.NOVALUE if
the user only resizes a row. This may be changed if stage is END.
doit
public boolean doit
- Determines whether or not to allow an interactive resize. Initially set to true.
JCResizeCellInfo
public JCResizeCellInfo(Event ev,
int r,
int c,
String param,
int curr_width,
int curr_height)
All Packages Class Hierarchy This Package Previous Next Index