|
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 | +--java.util.EventObject | +--com.klg.jclass.table.JCResizeCellEvent
The event posted as a user resizes a row and/or column.
JCTable.addResizeCellListener(com.klg.jclass.table.JCResizeCellListener)
,
JCResizeCellAdapter
,
JCResizeCellListener
,
Serialized FormField Summary | |
static int |
AFTER_RESIZE
|
static int |
BEFORE_RESIZE
|
protected boolean |
cancelled
|
protected int |
column
|
protected int |
current_column_width
|
protected int |
current_row_height
|
protected int |
new_column_width
|
protected int |
new_row_height
|
static int |
RESIZE
|
static int |
RESIZE_DRAG
|
protected int |
row
|
protected int |
type
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
JCResizeCellEvent(Object source,
int type,
int row,
int column,
int current_width,
int current_height)
|
Method Summary | |
int |
getColumn()
Gets the column being resized. |
int |
getCurrentColumnWidth()
Gets the current column width. |
int |
getCurrentRowHeight()
Gets the current row height. |
int |
getNewColumnWidth()
Gets the new column width. |
int |
getNewRowHeight()
Gets the new row height. |
int |
getRow()
Gets the row being resized. |
int |
getType()
Gets the event type. |
boolean |
isCancelled()
Gets the Cancelled value. |
void |
setCancelled(boolean value)
Determines whether to allow an interactive resize (default is true ). |
void |
setNewColumnWidth(int value)
Sets the new column width. |
void |
setNewRowHeight(int value)
Sets the new row height. |
String |
toString()
Returns a String representation of the event. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BEFORE_RESIZE
public static final int RESIZE
public static final int RESIZE_DRAG
public static final int AFTER_RESIZE
protected int type
protected int row
protected int column
protected int current_row_height
protected int current_column_width
protected int new_row_height
protected int new_column_width
protected boolean cancelled
Constructor Detail |
public JCResizeCellEvent(Object source, int type, int row, int column, int current_width, int current_height)
Method Detail |
public int getRow()
JCTblEnum.NOVALUE
if only a column is being resizedpublic int getColumn()
JCTableEnum.NOVALUE
if only a row is being resizedpublic int getCurrentRowHeight()
JCTableEnum.NOVALUE
if only a column is being resizedpublic int getNewRowHeight()
JCTableEnum.NOVALUE
if only a column is being resizedpublic void setNewRowHeight(int value)
value
- The new row heightpublic int getCurrentColumnWidth()
JCTableEnum.NOVALUE
if only a row is being resizedpublic int getNewColumnWidth()
JCTableEnum.NOVALUE
if only a row is being resizedpublic void setNewColumnWidth(int value)
value
- The new column width.public boolean isCancelled()
Cancelled
value.
Cancelled
value.setCancelled(boolean)
public void setCancelled(boolean value)
true
).
value
- The new Cancelled
valuepublic int getType()
public String toString()
toString
in class EventObject
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |