Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.trapezium.chisel.gui
Class SelectOperation  view SelectOperation download SelectOperation.java

java.lang.Object
  extended byjava.awt.geom.RectangularShape
      extended byjava.awt.geom.Rectangle2D
          extended byjava.awt.Rectangle
              extended bycom.trapezium.chisel.gui.SelectOperation
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, java.awt.Shape

public class SelectOperation
extends java.awt.Rectangle

an abstract selection operation


Nested Class Summary
 
Nested classes inherited from class java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
 
Field Summary
(package private)  java.awt.Insets insets
           
(package private) static java.awt.Color selColor
           
(package private)  boolean show
           
(package private)  java.awt.Component target
           
(package private)  int xAnchor
           
(package private)  int yAnchor
           
 
Fields inherited from class java.awt.Rectangle
height, width, x, y
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
SelectOperation(java.awt.Component target, int x, int y)
           
 
Method Summary
 void act(int x, int y)
           
 void clear()
           
 void draw(java.awt.Graphics g)
           
(package private)  java.awt.Point getContainerOffset()
           
(package private)  java.awt.Graphics getGraphics()
           
 java.awt.Component getTarget()
           
 void move(int x, int y)
          Moves the location of this rectangle by setting its upper left corner to the specified coordinates.
 void repaint()
           
 void setInsets(java.awt.Insets insets)
           
 
Methods inherited from class java.awt.Rectangle
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
 
Methods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
 

Field Detail

target

java.awt.Component target

insets

java.awt.Insets insets

xAnchor

int xAnchor

yAnchor

int yAnchor

selColor

static final java.awt.Color selColor

show

boolean show
Constructor Detail

SelectOperation

public SelectOperation(java.awt.Component target,
                       int x,
                       int y)
Method Detail

getTarget

public java.awt.Component getTarget()

getGraphics

java.awt.Graphics getGraphics()

getContainerOffset

java.awt.Point getContainerOffset()

setInsets

public void setInsets(java.awt.Insets insets)

repaint

public void repaint()

draw

public void draw(java.awt.Graphics g)

move

public void move(int x,
                 int y)
Description copied from class: java.awt.Rectangle
Moves the location of this rectangle by setting its upper left corner to the specified coordinates.


act

public void act(int x,
                int y)

clear

public void clear()