public interface P2DControlInterface
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
askForName(java.awt.Container parent,
P2DComponentInterface component,
java.lang.String title,
java.lang.String defaultValue)
Ask for component name.
|
void |
focusGained(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.FocusEvent e)
Invoked when the mouse activates a component.
|
void |
focusLost(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.FocusEvent e)
Invoked when the mouse inactivates a component.
|
void |
initialize()
Initialize the object.
|
void |
install(P2DComponentInterface component)
Install the control for the given component.
|
void |
mouseClicked(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was clicked.
|
void |
mouseDragged(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was dragged.
|
void |
mouseEntered(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was entered.
|
void |
mouseExited(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was exited.
|
void |
mouseMoved(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was moved.
|
void |
mousePressed(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was pressed.
|
void |
mouseReleased(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
The callback that is called if the mouse was released.
|
boolean |
openPopupMenu(P2DComponentInterface component,
java.awt.event.MouseEvent ev)
Open the popup menu.
|
void |
processFocusEvent(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.FocusEvent e)
Process the focus event.
|
void |
processMouseEvent(P2DComponentInterface component,
java.awt.geom.Point2D p,
java.awt.event.MouseEvent e)
Process the mouse event.
|
void |
revalidate(P2DComponentInterface component,
boolean recursive)
Request a newly calculation of the component.
|
void |
uninstall(P2DComponentInterface component)
Uninstall the control for the given component.
|
void initialize()
void install(P2DComponentInterface component)
void uninstall(P2DComponentInterface component)
void revalidate(P2DComponentInterface component, boolean recursive)
void mouseClicked(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The mouse event.void mousePressed(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The mouse event.void mouseReleased(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The mouse event.void mouseEntered(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The mouse event.void mouseExited(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The mouse event.void mouseMoved(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The mouse event.void mouseDragged(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The mouse event.void focusGained(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.FocusEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The focus event.void focusLost(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.FocusEvent e)
component - The componentp - The coordinates in the component coordinate system.e - The focus event.void processMouseEvent(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.MouseEvent e)
component - The componentp - The event point in the components coordinate system.e - The mouse event.Componentvoid processFocusEvent(P2DComponentInterface component, java.awt.geom.Point2D p, java.awt.event.FocusEvent e)
component - The componentp - The event point in the components coordinate system.e - The focus event.Componentjava.lang.String askForName(java.awt.Container parent,
P2DComponentInterface component,
java.lang.String title,
java.lang.String defaultValue)
parent - This parameter is used as parent for the dialog box.boolean openPopupMenu(P2DComponentInterface component, java.awt.event.MouseEvent ev)
component - the componentev - The mouse event.true - if operation was successful.