|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.teamdev.jxcapture.image.operation.painters.RegionPainter
public class RegionPainter
Represents the painter for the region capture operation.
Constructor Summary | |
---|---|
RegionPainter()
|
Method Summary | |
---|---|
void |
acceptPoint(java.awt.Point point)
Invoked when the specified point is accepted. |
java.awt.Rectangle |
getCurrentSelectedRegion()
Returns the current selected region. |
java.awt.image.BufferedImage |
getSelectedArea()
Returns the resulting image of the drawing capture operation. |
void |
paint(java.awt.Graphics graphics)
Invoked when the user is painting on the drawable component. |
void |
selectionEnd()
Invoked when a selection operation is stopped. |
void |
selectionStart()
Invoked when a selection operation is started. |
void |
setBackgroundImage(java.awt.image.BufferedImage image)
Sets the specified background image. |
void |
setCurrentPosition(java.awt.Point point)
Sets the current position of the mouse pointer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegionPainter()
Method Detail |
---|
public void paint(java.awt.Graphics graphics)
SelectionPainter
paint
in interface SelectionPainter
public java.awt.Rectangle getCurrentSelectedRegion()
public java.awt.image.BufferedImage getSelectedArea()
SelectionPainter
getSelectedArea
in interface SelectionPainter
public void selectionStart()
SelectionPainter
selectionStart
in interface SelectionPainter
public void selectionEnd()
SelectionPainter
selectionEnd
in interface SelectionPainter
public void setCurrentPosition(java.awt.Point point)
SelectionPainter
setCurrentPosition
in interface SelectionPainter
point
- the specified position of the mouse pointerpublic void acceptPoint(java.awt.Point point)
SelectionPainter
acceptPoint
in interface SelectionPainter
public void setBackgroundImage(java.awt.image.BufferedImage image)
SelectionPainter
setBackgroundImage
in interface SelectionPainter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |