com.klg.jclass.table
Class JCResizeCellMotionAdapter
java.lang.Object
|
+--com.klg.jclass.table.JCResizeCellMotionAdapter
- All Implemented Interfaces:
- EventListener, JCResizeCellMotionListener
- public abstract class JCResizeCellMotionAdapter
- extends Object
- implements JCResizeCellMotionListener
The adapter which receives JCResizeCell
events during
the resize process.
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.
- See Also:
JCResizeCellEvent
Method Summary |
void |
resizeCellDragged(com.klg.jclass.table.JCResizeCellEvent e)
Invoked during the resize action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCResizeCellMotionAdapter
public JCResizeCellMotionAdapter()
resizeCellDragged
public void resizeCellDragged(com.klg.jclass.table.JCResizeCellEvent e)
- Invoked during the resize action. The event's
setCancelled
method can be called to prevent the resize and the new width or height can
be changed by calling setNewColumnWidth
or
setNewRowHeight
.
- Specified by:
resizeCellDragged
in interface JCResizeCellMotionListener
- Parameters:
e
- The resize cell event- See Also:
JCResizeCellEvent.setCancelled(boolean)
,
JCResizeCellEvent.setNewRowHeight(int)
,
JCResizeCellEvent.setNewColumnWidth(int)