|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.event.MouseInputAdapter
csheets.ui.grid.RowHeader.RowResizer
protected class RowHeader.RowResizer
A mouse input listener that enables resizing of rows
| Constructor Summary | |
|---|---|
protected |
RowHeader.RowResizer()
|
| Method Summary | |
|---|---|
void |
mouseClicked(MouseEvent e)
Auto-resizes a column whose border was double-clicked. |
void |
mouseDragged(MouseEvent e)
Resizes the row that is dragged |
void |
mouseMoved(MouseEvent e)
Sets the appropriate cursor depending on whether the mouse is on a row that can be resized. |
void |
mousePressed(MouseEvent e)
Selects the clicked row, unless resizing is intended. |
| Methods inherited from class javax.swing.event.MouseInputAdapter |
|---|
mouseEntered, mouseExited, mouseReleased |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RowHeader.RowResizer()
| Method Detail |
|---|
public void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class MouseInputAdaptere - the event that was firedpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenermouseClicked in class MouseInputAdaptere - the event that was firedpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenermouseMoved in class MouseInputAdaptere - the event that was firedpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenermouseDragged in class MouseInputAdaptere - the event that was fired
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||