|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that receives JCResizeCellEvent
objects.
JCTable.addResizeCellListener(com.klg.jclass.table.JCResizeCellListener)
,
JCResizeCellEvent
,
JCResizeCellAdapter
Method Summary | |
void |
afterResizeCell(com.klg.jclass.table.JCResizeCellEvent e)
Invoked after the row and/or column is resized and all listeners have been notified of the new value through resizeCell . |
void |
beforeResizeCell(com.klg.jclass.table.JCResizeCellEvent e)
Invoked before the row and/or column is resized. |
void |
resizeCell(com.klg.jclass.table.JCResizeCellEvent e)
Invoked after the mouse is released. |
Method Detail |
public void beforeResizeCell(com.klg.jclass.table.JCResizeCellEvent e)
JCResizeCellEvent
isn't generated until the mouse moves.
The event's setCancelled
method can be called to prevent the
resize.
e
- The resize cell eventJCResizeCellEvent.setCancelled(boolean)
public void resizeCell(com.klg.jclass.table.JCResizeCellEvent e)
setCancelled
method can be called to prevent the resize and the new width or height can
be changed by calling setNewColumnWidth
or
setNewRowHeight
. The width or height is not updated until all
listeners have received the event.
e
- The resize cell eventJCResizeCellEvent.setCancelled(boolean)
,
JCResizeCellEvent.setNewRowHeight(int)
,
JCResizeCellEvent.setNewColumnWidth(int)
public void afterResizeCell(com.klg.jclass.table.JCResizeCellEvent e)
resizeCell
. This method is
called after the new values has been set. If a listener cancelled the resize
in the beforeResizeCell
call, resizeCellEnd
will
be called with the cancelled flag set.
e
- The resize cell eventresizeCell(com.klg.jclass.table.JCResizeCellEvent)
,
JCResizeCellEvent.isCancelled()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |