|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Moveable defines the interface required by classes that DataViewSupport can move/add/delete and swap.
Method Summary | |
void |
moveColumns(int start_column,
int num_columns,
int destination)
Adjust the series after moving columns. |
void |
moveRows(int start_row,
int num_rows,
int destination)
Adjust the series after moving rows. |
void |
remapColumns(int[] new_positions)
Reorders columns after the column mapping changes. |
void |
remapRows(int[] new_positions)
Reorders rows after the row mapping changes. |
void |
shiftColumn(int start_column,
int num_columns,
int direction)
Adjusts the series after adding or deleting columns. |
void |
shiftRow(int start_row,
int num_rows,
int direction)
Adjusts the series after adding or deleting rows. |
void |
swapColumns(int column1,
int column2)
Adjusts the series based on two columns swapping position. |
void |
swapRows(int row1,
int row2)
Adjusts the series based on two rows swapping position. |
Method Detail |
public void moveColumns(int start_column, int num_columns, int destination)
public void moveRows(int start_row, int num_rows, int destination)
public void remapColumns(int[] new_positions)
public void remapRows(int[] new_positions)
public void shiftColumn(int start_column, int num_columns, int direction)
start_column
- The start positionnum_columns
- The number of columnsdirection
- Use +1
for insert and -1
for delete.public void shiftRow(int start_row, int num_rows, int direction)
start_row
- The start positionnum_rows
- The number of rowsdirection
- Use +1
for insert and -1
for delete.public void swapColumns(int column1, int column2)
column1
- The first column to swapcolumn2
- The second column to swappublic void swapRows(int row1, int row2)
row1
- The first row to swaprow2
- The second row to swap
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |