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


Variable Index

 o grabbedAt
 o primitive

Constructor Index

 o GrabOperation()

Method Index

 o getPrimitive()
Gets the DrawingPrimitive which was grabbed
 o operation()
Performs the grab operation
 o setPrimitive(DrawingPrimitive)
Sets a DrawingPrimitive for the grab

Variables

 o grabbedAt
 protected transient Point grabbedAt
 o primitive
 protected transient DrawingPrimitive primitive

Constructors

 o GrabOperation
 public GrabOperation()

Methods

 o operation
 public DrawingPrimitive operation()
Performs the grab operation

Overrides:
operation in class DrawingOperation
 o setPrimitive
 public void setPrimitive(DrawingPrimitive prim)
Sets a DrawingPrimitive for the grab

Parameters:
prim - the DrawingPrimitive
 o getPrimitive
 public DrawingPrimitive getPrimitive()
Gets the DrawingPrimitive which was grabbed

Returns:
the grabbed DrawingPrimitive

All Packages  Class Hierarchy  This Package  Previous  Next  Index