|
ElegantJ Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.editors.ImageShape
| Constructor Summary | |
ImageShape()
|
|
ImageShape(int stretching)
|
|
| Method Summary | |
boolean |
contains(int x,
int y)
Determines whether a point is inside the shape boundaries |
void |
draw(boolean bFill,
java.awt.image.ImageObserver parent,
java.awt.Graphics g)
|
void |
draw(boolean bFill,
java.awt.image.ImageObserver parent,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
|
void |
draw(java.awt.image.ImageObserver parent,
java.awt.Graphics g)
Draws the shape. |
void |
draw(java.awt.image.ImageObserver parent,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
Draws the shape. |
void |
drawInCenter(java.awt.image.ImageObserver parent,
java.awt.Graphics g)
|
void |
drawInCenter(java.awt.image.ImageObserver parent,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
|
java.awt.Rectangle |
getBounds()
Returns the bounds held by this shape. |
java.awt.Image |
getScaledImage()
|
java.awt.Image |
getScaledImage(java.awt.Image image,
java.awt.image.ImageObserver parent,
int w,
int h)
|
void |
setBounds(double x,
double y,
double w,
double h)
Sets the boundaries of the shape. |
void |
setBounds(int x,
int y,
int w,
int h)
|
void |
setImage(java.awt.Image image)
Sets the image. |
void |
setStretching(int nStretching)
Sets the stretching parameter of the image. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ImageShape()
public ImageShape(int stretching)
| Method Detail |
public java.lang.String toString()
public java.awt.Rectangle getBounds()
ViewableShape
getBounds in interface ViewableShape
public boolean contains(int x,
int y)
ViewableShape
contains in interface ViewableShape true if the point is inside the boundaries;
false otherwise.
public void setBounds(double x,
double y,
double w,
double h)
ViewableShape
setBounds in interface ViewableShape
public void setBounds(int x,
int y,
int w,
int h)
public void setImage(java.awt.Image image)
ViewableShape
setImage in interface ViewableShapepublic java.awt.Image getScaledImage()
public java.awt.Image getScaledImage(java.awt.Image image,
java.awt.image.ImageObserver parent,
int w,
int h)
public void draw(java.awt.image.ImageObserver parent,
java.awt.Graphics g)
ViewableShape
draw in interface ViewableShape
public void draw(boolean bFill,
java.awt.image.ImageObserver parent,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
draw in interface ViewableShape
public void draw(java.awt.image.ImageObserver parent,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
ViewableShape
draw in interface ViewableShape
public void draw(boolean bFill,
java.awt.image.ImageObserver parent,
java.awt.Graphics g)
draw in interface ViewableShape
public void drawInCenter(java.awt.image.ImageObserver parent,
java.awt.Graphics g)
public void drawInCenter(java.awt.image.ImageObserver parent,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
public void setStretching(int nStretching)
ViewableShape
setStretching in interface ViewableShape
|
ElegantJ Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||