public abstract class Rubberband
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.awt.Point |
anchorPt
_more_
|
protected java.awt.Point |
endPt
_more_
|
protected java.awt.Point |
lastPt
_more_
|
protected java.awt.Point |
stretchedPt
_more_
|
Constructor and Description |
---|
Rubberband()
_more_
|
Rubberband(java.awt.Component c)
_more_
|
Modifier and Type | Method and Description |
---|---|
void |
anchor(java.awt.Point p)
_more_
|
abstract void |
drawLast(java.awt.Graphics g)
_more_
|
abstract void |
drawNext(java.awt.Graphics g)
_more_
|
void |
end(java.awt.Point p)
_more_
|
java.awt.Point |
getAnchor()
_more_
|
java.awt.Rectangle |
getBounds()
_more_
|
java.awt.Point |
getEnd()
_more_
|
java.awt.Point |
getLast()
_more_
|
java.awt.Point |
getStretched()
_more_
|
boolean |
isActive()
_more_
|
java.awt.Rectangle |
lastBounds()
_more_
|
void |
setActive(boolean b)
_more_
|
void |
setComponent(java.awt.Component c)
_more_
|
void |
stretch(java.awt.Point p)
_more_
|
protected java.awt.Point anchorPt
protected java.awt.Point stretchedPt
protected java.awt.Point lastPt
protected java.awt.Point endPt
public Rubberband()
public Rubberband(java.awt.Component c)
c
- public abstract void drawLast(java.awt.Graphics g)
g
- public abstract void drawNext(java.awt.Graphics g)
g
- public void setActive(boolean b)
b
- public void setComponent(java.awt.Component c)
c
- public boolean isActive()
public java.awt.Point getAnchor()
public java.awt.Point getStretched()
public java.awt.Point getLast()
public java.awt.Point getEnd()
public void anchor(java.awt.Point p)
p
- public void stretch(java.awt.Point p)
p
- public void end(java.awt.Point p)
p
- public java.awt.Rectangle getBounds()
public java.awt.Rectangle lastBounds()