|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.klg.jclass.table.JCRowColumnSeries
RowColumnSeriesModel defines the interface required by classes
that can store row or column based properties (for example, row height and
column width).
| Field Summary | |
protected Hashtable |
values
|
| Constructor Summary | |
JCRowColumnSeries()
Creates an empty series with no default. |
|
JCRowColumnSeries(Object value)
Creates a new series with the specified default. |
|
| Method Summary | |
Object |
getDefault()
Gets the default member value. |
List |
getSeriesValues()
Returns an iterator for an ordered set of series values. |
Object |
getValue(int position)
Returns the value at the specified position. |
void |
move(int start,
int num,
int destination)
Adjusts the series after moving. |
void |
remap(int[] new_positions)
Reorders after the mapping changes. |
void |
setDefault(Object value)
Creates or sets the default member to the specified value. |
boolean |
setValue(int start_position,
int end_position,
Object value)
Sets a range of cells to the value. |
boolean |
setValue(int position,
Object value)
Sets the specified cell to the value. |
void |
shift(int start,
int num,
int direction)
Adjusts the series after adding or deleting. |
void |
swap(int position1,
int position2)
Adjusts the series based on two entries swap positions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Hashtable values
| Constructor Detail |
public JCRowColumnSeries()
public JCRowColumnSeries(Object value)
value - | Method Detail |
public Object getDefault()
ALL position.
getDefault in interface RowColumnSeriesModelpublic void setDefault(Object value)
ALL position.
setDefault in interface RowColumnSeriesModelvalue - public Object getValue(int position)
getValue in interface RowColumnSeriesModelposition -
public boolean setValue(int position,
Object value)
setValue in interface RowColumnSeriesModelposition - value -
true if the series was changed after adding the value
public boolean setValue(int start_position,
int end_position,
Object value)
setValue in interface RowColumnSeriesModelend_position - start_position - value -
true if the series was changed after adding the valuepublic List getSeriesValues()
PositionCellSize objects.
getSeriesValues in interface RowColumnSeriesModel
public void move(int start,
int num,
int destination)
move in interface RowColumnSeriesModeldestination - num - start - public void remap(int[] new_positions)
remap in interface RowColumnSeriesModelnew_positions -
public void shift(int start,
int num,
int direction)
shift in interface RowColumnSeriesModelstart - the start positionnum - the number of rowsdirection - use +1 for insert and -1
for delete
public void swap(int position1,
int position2)
swap in interface RowColumnSeriesModelposition1 - position2 -
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||