protected class RowHeader.RowResizer extends MouseInputAdapter
Modifier | Constructor and Description |
---|---|
protected |
RowHeader.RowResizer() |
Modifier and Type | Method and Description |
---|---|
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.
|
mouseEntered, mouseExited, mouseReleased, mouseWheelMoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mouseEntered, mouseExited, mouseReleased
protected RowHeader.RowResizer()
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
e
- the event that was firedpublic void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
mouseClicked
in class MouseAdapter
e
- the event that was firedpublic void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class MouseAdapter
e
- the event that was firedpublic void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MouseAdapter
e
- the event that was fired