|
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.JCResizeCellAdapter
The adapter which receives JCResizeCell
events.
The methods in this class are empty; this class is provided as a
convenience for easily creating listeners by extending this class
and overriding only the methods of interest.
JCResizeCellEvent
Constructor Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCResizeCellAdapter()
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.
beforeResizeCell
in interface JCResizeCellListener
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.
resizeCell
in interface JCResizeCellListener
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.
afterResizeCell
in interface JCResizeCellListener
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 |