Class gjt.rubberband.RubberbandPanel
All Packages Class Hierarchy This Package Previous Next Index
Class gjt.rubberband.RubberbandPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----gjt.rubberband.RubberbandPanel
- public class RubberbandPanel
- extends Panel
An extension of Panel which is fitted with a Rubberband.
Handling of mouse events is automatically handled for
rubberbanding.
Clients may set or get the Rubberband at any time.
- See Also:
- Rubberband, RubberbandTest
-
RubberbandPanel()
-
-
getRubberband()
-
-
mouseDown(Event, int, int)
-
-
mouseDrag(Event, int, int)
-
-
mouseUp(Event, int, int)
-
-
setRubberband(Rubberband)
-
RubberbandPanel
public RubberbandPanel()
setRubberband
public void setRubberband(Rubberband rubberband)
getRubberband
public Rubberband getRubberband()
mouseDown
public boolean mouseDown(Event event,
int x,
int y)
- Overrides:
- mouseDown in class Component
mouseDrag
public boolean mouseDrag(Event event,
int x,
int y)
- Overrides:
- mouseDrag in class Component
mouseUp
public boolean mouseUp(Event event,
int x,
int y)
- Overrides:
- mouseUp in class Component
All Packages Class Hierarchy This Package Previous Next Index