public class ComponentBorderResizer
extends java.awt.event.MouseAdapter
Constructor | Description |
---|---|
ComponentBorderResizer(java.awt.Component... components) |
Modifier and Type | Method | Description |
---|---|---|
void |
mouseDragged(java.awt.event.MouseEvent e) |
Resize the component ensuring location and size is within the bounds
of the parent container and that the size is within the minimum and
maximum constraints.
|
void |
mouseEntered(java.awt.event.MouseEvent e) |
|
void |
mouseExited(java.awt.event.MouseEvent e) |
|
void |
mouseMoved(java.awt.event.MouseEvent e) |
|
void |
mousePressed(java.awt.event.MouseEvent e) |
|
void |
mouseReleased(java.awt.event.MouseEvent e) |
Restore the original state of the Component.
|
public ComponentBorderResizer(java.awt.Component... components)
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in class java.awt.event.MouseAdapter
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in class java.awt.event.MouseAdapter
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in class java.awt.event.MouseAdapter
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in class java.awt.event.MouseAdapter
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in class java.awt.event.MouseAdapter
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in class java.awt.event.MouseAdapter