All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.awt.draw.GrabOperation
java.lang.Object
|
+----ncsa.awt.draw.DrawingOperation
|
+----ncsa.awt.draw.GrabOperation
- public class GrabOperation
- extends DrawingOperation
A class that implements a grab on drawing primitive
-
grabbedAt
-
-
primitive
-
-
GrabOperation()
-
-
getPrimitive()
- Gets the DrawingPrimitive which was grabbed
-
operation()
- Performs the grab operation
-
setPrimitive(DrawingPrimitive)
- Sets a DrawingPrimitive for the grab
grabbedAt
protected transient Point grabbedAt
primitive
protected transient DrawingPrimitive primitive
GrabOperation
public GrabOperation()
operation
public DrawingPrimitive operation()
- Performs the grab operation
- Overrides:
- operation in class DrawingOperation
setPrimitive
public void setPrimitive(DrawingPrimitive prim)
- Sets a DrawingPrimitive for the grab
- Parameters:
- prim - the DrawingPrimitive
getPrimitive
public DrawingPrimitive getPrimitive()
- Gets the DrawingPrimitive which was grabbed
- Returns:
- the grabbed DrawingPrimitive
All Packages Class Hierarchy This Package Previous Next Index