|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.event.MouseInputAdapter
javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener
protected class BasicInternalFrameUI.BorderListener
This helper class listens to the edges of the JInternalFrame and the TitlePane for mouse events. It is responsible for dragging and resizing the JInternalFrame in response to the MouseEvents.
Field Summary | |
---|---|
protected int |
RESIZE_NONE
FIXME: Use for something. |
Fields inherited from interface javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Constructor Summary | |
---|---|
protected |
BasicInternalFrameUI.BorderListener()
|
Method Summary | |
---|---|
void |
mouseClicked(MouseEvent e)
This method is called when the mouse is clicked. |
void |
mouseDragged(MouseEvent e)
This method is called when the mouse is dragged. |
void |
mouseExited(MouseEvent e)
This method is called when the mouse exits the JInternalFrame. |
void |
mouseMoved(MouseEvent e)
This method is called when the mouse is moved inside the JInternalFrame. |
void |
mousePressed(MouseEvent e)
This method is called when the mouse is pressed. |
void |
mouseReleased(MouseEvent e)
This method is called when the mouse is released. |
Methods inherited from class javax.swing.event.MouseInputAdapter |
---|
mouseEntered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final int RESIZE_NONE
Constructor Detail |
---|
protected BasicInternalFrameUI.BorderListener()
Method Detail |
---|
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
mouseClicked
in class MouseInputAdapter
e
- The MouseEvent.public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MouseInputAdapter
e
- The MouseEvent.public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
mouseExited
in class MouseInputAdapter
e
- The MouseEvent.public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class MouseInputAdapter
e
- The MouseEvent.public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseInputAdapter
e
- The MouseEvent.public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseInputAdapter
e
- The MouseEvent.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |