protected class ActiveLayersPanel.ReorderListener extends MouseAdapter
Modifier and Type | Field and Description |
---|---|
protected int |
hotspot |
protected JList |
list |
protected int |
pressIndex |
protected int |
releaseIndex |
Constructor and Description |
---|
ReorderListener(JList list) |
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
protected void |
reorder() |
mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
protected int hotspot
protected JList list
protected int pressIndex
protected int releaseIndex
public ReorderListener(JList list)
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MouseAdapter
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseAdapter
protected void reorder()