java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.Rectangle
com.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 classes inherited from class java.awt.geom.Rectangle2D |
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float |
| 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 |
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
SelectOperation
public SelectOperation(java.awt.Component target,
int x,
int y)
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()