|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the requirements for an object responsible for cell dimensions.
Method Summary | |
void |
addColumns(int start_column,
int num_columns)
Inserts the given number of columns. |
void |
addRows(int start_row,
int num_rows)
Inserts the given number of rows. |
void |
deleteColumns(int start_column,
int num_columns)
Deletes the given number of columns. |
void |
deleteRows(int start_row,
int num_rows)
Deletes the given number of rows. |
Rectangle |
getBounds(int row,
int column)
Returns the bounds of the given cell or label. |
Rectangle |
getBounds(int start_row,
int start_column,
int end_row,
int end_column)
Returns the bounds of a cell range. |
Rectangle |
getBounds(int start_row,
int start_column,
int end_row,
int end_column,
Rectangle r)
Gets the bounds of a cell range using the given Rectangle. |
Rectangle |
getBounds(int row,
int column,
Rectangle r)
Gets the bounds of the given cell or label using the given Rectangle. |
int |
getColumn(int x,
int y)
Determines the column that contains the given (x,y) coordinate. |
int |
getColumnPosition(int column)
Returns the start position of a column. |
int |
getHeight(int row)
Returns the height of a row. |
int |
getRow(int x,
int y)
Determines the row that contains the given (x,y) coordinate. |
int |
getRowPosition(int row)
Returns the start position of a row. |
com.klg.jclass.table.JCTable |
getTable()
Returns the JCTable. |
int |
getWidth(int column)
Returns the width of a column. |
void |
moveColumns(int start_column,
int num_columns,
int destination)
Moves a set of columns to a position left of the destination. |
void |
moveRows(int start_row,
int num_rows,
int destination)
Moves a set of rows to a position above the destination. |
void |
remapColumns(int[] current_map,
int[] new_map)
Remaps widths after the column map changes. |
void |
remapRows(int[] current_map,
int[] new_map)
Remaps heights after the row map changes. |
void |
resetColumns()
Remove cached width information. |
void |
resetRows()
Remove cached height information. |
void |
setHeight(int row,
int value)
Sets the height of a row. |
void |
setHeight(int start_row,
int end_row,
int value)
Sets the height of a sequence of rows. |
void |
setTable(com.klg.jclass.table.JCTable table)
Sets the JCTable. |
void |
setWidth(int column,
int value)
Sets the width of a column. |
void |
setWidth(int start_column,
int end_column,
int value)
Sets the height of a sequence of columns. |
Method Detail |
public com.klg.jclass.table.JCTable getTable()
public void setTable(com.klg.jclass.table.JCTable table)
public Rectangle getBounds(int row, int column)
public Rectangle getBounds(int row, int column, Rectangle r)
public int getHeight(int row)
public void setHeight(int row, int value)
public void setHeight(int start_row, int end_row, int value)
public int getWidth(int column)
public void setWidth(int column, int value)
public void setWidth(int start_column, int end_column, int value)
public int getColumn(int x, int y)
public int getRow(int x, int y)
public int getColumnPosition(int column)
public int getRowPosition(int row)
public Rectangle getBounds(int start_row, int start_column, int end_row, int end_column, Rectangle r)
public Rectangle getBounds(int start_row, int start_column, int end_row, int end_column)
public void moveRows(int start_row, int num_rows, int destination)
JCTableEnum.MAXINT
.
start_row
- the first rownum_rows
- the number of rows to movedestination
- the row before which the moved rows are insertedpublic void moveColumns(int start_column, int num_columns, int destination)
JCTableEnum.MAXINT
.
start_column
- the first columnnum_columns
- the number of columns to movedestination
- the column before which the moved columns are insertedpublic void addRows(int start_row, int num_rows)
start_row
- the first rownum_rows
- the number of rows to insertpublic void addColumns(int start_column, int num_columns)
start_column
- the first columnnum_columns
- the number of columns to insertpublic void deleteRows(int start_row, int num_rows)
start_row
- the first rownum_rows
- the number of rows to deletepublic void deleteColumns(int start_column, int num_columns)
start_column
- the first columnnum_columns
- the number of columns to deletepublic void remapRows(int[] current_map, int[] new_map)
public void remapColumns(int[] current_map, int[] new_map)
public void resetRows()
public void resetColumns()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |