javax.swing.plaf.basic
Class BasicInternalFrameUI.BorderListener

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.event.MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter 
      extended by javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener
All Implemented Interfaces:
MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener , MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener , EventListener sample code for java.util.EventListener definition code for java.util.EventListener , MouseInputListener sample code for javax.swing.event.MouseInputListener definition code for javax.swing.event.MouseInputListener , SwingConstants sample code for javax.swing.SwingConstants definition code for javax.swing.SwingConstants
Enclosing class:
BasicInternalFrameUI sample code for javax.swing.plaf.basic.BasicInternalFrameUI definition code for javax.swing.plaf.basic.BasicInternalFrameUI

protected class BasicInternalFrameUI.BorderListener
extends MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter
implements SwingConstants sample code for javax.swing.SwingConstants definition code for javax.swing.SwingConstants

Listens for border adjustments.


Field Summary
protected  int RESIZE_NONE sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.RESIZE_NONE definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.RESIZE_NONE
           
 
Fields inherited from interface javax.swing.SwingConstants sample code for javax.swing.SwingConstants definition code for javax.swing.SwingConstants
BOTTOM sample code for javax.swing.SwingConstants.BOTTOM definition code for javax.swing.SwingConstants.BOTTOM , CENTER sample code for javax.swing.SwingConstants.CENTER definition code for javax.swing.SwingConstants.CENTER , EAST sample code for javax.swing.SwingConstants.EAST definition code for javax.swing.SwingConstants.EAST , HORIZONTAL sample code for javax.swing.SwingConstants.HORIZONTAL definition code for javax.swing.SwingConstants.HORIZONTAL , LEADING sample code for javax.swing.SwingConstants.LEADING definition code for javax.swing.SwingConstants.LEADING , LEFT sample code for javax.swing.SwingConstants.LEFT definition code for javax.swing.SwingConstants.LEFT , NEXT sample code for javax.swing.SwingConstants.NEXT definition code for javax.swing.SwingConstants.NEXT , NORTH sample code for javax.swing.SwingConstants.NORTH definition code for javax.swing.SwingConstants.NORTH , NORTH_EAST sample code for javax.swing.SwingConstants.NORTH_EAST definition code for javax.swing.SwingConstants.NORTH_EAST , NORTH_WEST sample code for javax.swing.SwingConstants.NORTH_WEST definition code for javax.swing.SwingConstants.NORTH_WEST , PREVIOUS sample code for javax.swing.SwingConstants.PREVIOUS definition code for javax.swing.SwingConstants.PREVIOUS , RIGHT sample code for javax.swing.SwingConstants.RIGHT definition code for javax.swing.SwingConstants.RIGHT , SOUTH sample code for javax.swing.SwingConstants.SOUTH definition code for javax.swing.SwingConstants.SOUTH , SOUTH_EAST sample code for javax.swing.SwingConstants.SOUTH_EAST definition code for javax.swing.SwingConstants.SOUTH_EAST , SOUTH_WEST sample code for javax.swing.SwingConstants.SOUTH_WEST definition code for javax.swing.SwingConstants.SOUTH_WEST , TOP sample code for javax.swing.SwingConstants.TOP definition code for javax.swing.SwingConstants.TOP , TRAILING sample code for javax.swing.SwingConstants.TRAILING definition code for javax.swing.SwingConstants.TRAILING , VERTICAL sample code for javax.swing.SwingConstants.VERTICAL definition code for javax.swing.SwingConstants.VERTICAL , WEST sample code for javax.swing.SwingConstants.WEST definition code for javax.swing.SwingConstants.WEST
 
Constructor Summary
protected BasicInternalFrameUI.BorderListener sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.BasicInternalFrameUI.BorderListener() definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.BasicInternalFrameUI.BorderListener() ()
           
 
Method Summary
 void mouseClicked sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseClicked(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseClicked(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Invoked when the mouse button has been clicked (pressed and released) on a component.
 void mouseDragged sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseDragged(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseDragged(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void mouseExited sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseExited(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseExited(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Invoked when the mouse exits a component.
 void mouseMoved sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseMoved(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseMoved(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.
 void mousePressed sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mousePressed(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mousePressed(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Invoked when a mouse button has been pressed on a component.
 void mouseReleased sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseReleased(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseReleased(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Invoked when a mouse button has been released on a component.
 
Methods inherited from class javax.swing.event.MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter
mouseEntered sample code for javax.swing.event.MouseInputAdapter.mouseEntered(java.awt.event.MouseEvent) definition code for javax.swing.event.MouseInputAdapter.mouseEntered(java.awt.event.MouseEvent)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

RESIZE_NONE sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.RESIZE_NONE

protected final int RESIZE_NONE
See Also:
Constant Field Values
Constructor Detail

BasicInternalFrameUI.BorderListener sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener() definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener()

protected BasicInternalFrameUI.BorderListener()
Method Detail

mouseClicked sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseClicked(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseClicked(java.awt.event.MouseEvent)

public void mouseClicked(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Description copied from interface: MouseListener sample code for java.awt.event.MouseListener.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseClicked(java.awt.event.MouseEvent)
Invoked when the mouse button has been clicked (pressed and released) on a component.

Specified by:
mouseClicked sample code for java.awt.event.MouseListener.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseClicked(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Overrides:
mouseClicked sample code for javax.swing.event.MouseInputAdapter.mouseClicked(java.awt.event.MouseEvent) definition code for javax.swing.event.MouseInputAdapter.mouseClicked(java.awt.event.MouseEvent) in class MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter

mouseReleased sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseReleased(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseReleased(java.awt.event.MouseEvent)

public void mouseReleased(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Description copied from interface: MouseListener sample code for java.awt.event.MouseListener.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseReleased(java.awt.event.MouseEvent)
Invoked when a mouse button has been released on a component.

Specified by:
mouseReleased sample code for java.awt.event.MouseListener.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseReleased(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Overrides:
mouseReleased sample code for javax.swing.event.MouseInputAdapter.mouseReleased(java.awt.event.MouseEvent) definition code for javax.swing.event.MouseInputAdapter.mouseReleased(java.awt.event.MouseEvent) in class MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter

mousePressed sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mousePressed(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mousePressed(java.awt.event.MouseEvent)

public void mousePressed(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Description copied from interface: MouseListener sample code for java.awt.event.MouseListener.mousePressed(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mousePressed(java.awt.event.MouseEvent)
Invoked when a mouse button has been pressed on a component.

Specified by:
mousePressed sample code for java.awt.event.MouseListener.mousePressed(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mousePressed(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Overrides:
mousePressed sample code for javax.swing.event.MouseInputAdapter.mousePressed(java.awt.event.MouseEvent) definition code for javax.swing.event.MouseInputAdapter.mousePressed(java.awt.event.MouseEvent) in class MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter

mouseDragged sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseDragged(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseDragged(java.awt.event.MouseEvent)

public void mouseDragged(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Description copied from interface: MouseMotionListener sample code for java.awt.event.MouseMotionListener.mouseDragged(java.awt.event.MouseEvent) definition code for java.awt.event.MouseMotionListener.mouseDragged(java.awt.event.MouseEvent)
Invoked when a mouse button is pressed on a component and then dragged. MOUSE_DRAGGED events will continue to be delivered to the component where the drag originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).

Due to platform-dependent Drag&Drop implementations, MOUSE_DRAGGED events may not be delivered during a native Drag&Drop operation.

Specified by:
mouseDragged sample code for java.awt.event.MouseMotionListener.mouseDragged(java.awt.event.MouseEvent) definition code for java.awt.event.MouseMotionListener.mouseDragged(java.awt.event.MouseEvent) in interface MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener
Overrides:
mouseDragged sample code for javax.swing.event.MouseInputAdapter.mouseDragged(java.awt.event.MouseEvent) definition code for javax.swing.event.MouseInputAdapter.mouseDragged(java.awt.event.MouseEvent) in class MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter

mouseMoved sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseMoved(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseMoved(java.awt.event.MouseEvent)

public void mouseMoved(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Description copied from interface: MouseMotionListener sample code for java.awt.event.MouseMotionListener.mouseMoved(java.awt.event.MouseEvent) definition code for java.awt.event.MouseMotionListener.mouseMoved(java.awt.event.MouseEvent)
Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.

Specified by:
mouseMoved sample code for java.awt.event.MouseMotionListener.mouseMoved(java.awt.event.MouseEvent) definition code for java.awt.event.MouseMotionListener.mouseMoved(java.awt.event.MouseEvent) in interface MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener
Overrides:
mouseMoved sample code for javax.swing.event.MouseInputAdapter.mouseMoved(java.awt.event.MouseEvent) definition code for javax.swing.event.MouseInputAdapter.mouseMoved(java.awt.event.MouseEvent) in class MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter

mouseExited sample code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseExited(java.awt.event.MouseEvent) definition code for javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener.mouseExited(java.awt.event.MouseEvent)

public void mouseExited(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Description copied from interface: MouseListener sample code for java.awt.event.MouseListener.mouseExited(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseExited(java.awt.event.MouseEvent)
Invoked when the mouse exits a component.

Specified by:
mouseExited sample code for java.awt.event.MouseListener.mouseExited(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseExited(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Overrides:
mouseExited sample code for javax.swing.event.MouseInputAdapter.mouseExited(java.awt.event.MouseEvent) definition code for javax.swing.event.MouseInputAdapter.mouseExited(java.awt.event.MouseEvent) in class MouseInputAdapter sample code for javax.swing.event.MouseInputAdapter definition code for javax.swing.event.MouseInputAdapter