|
ElegantJ Data Entry Masks Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Polygon
com.elegantj.editors.Direction
| Field Summary | |
static int |
DEFAULT
DEFAULT direction is UP |
static int |
DOWN
DOWN direction |
static int |
LEFT
LEFT direction |
static int |
RIGHT
RIGHT direction |
static int |
UP
UP direction |
| Fields inherited from class java.awt.Polygon |
bounds, npoints, xpoints, ypoints |
| Constructor Summary | |
Direction()
|
|
Direction(int nDir)
|
|
Direction(int x,
int y,
int w,
int h)
|
|
Direction(int x,
int y,
int w,
int h,
int nDir)
|
|
| Method Summary | |
void |
adjustEndPoints(int x,
int y,
int w,
int h)
|
boolean |
contains(int x,
int y)
Determines whether a point is inside the shape boundaries |
void |
draw(boolean bFill,
java.awt.Graphics g)
|
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. |
int |
getDirection()
|
int |
getMargin()
|
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 |
setDirection(int nDir)
|
void |
setImage(java.awt.Image image)
Sets the image. |
void |
setMargin(int n)
|
void |
setStretching(int nStretching)
Sets the stretching parameter of the image. |
| Methods inherited from class java.awt.Polygon |
addPoint, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elegantj.editors.ViewableShape |
getBounds |
| Field Detail |
public static final int UP
public static final int DOWN
public static final int LEFT
public static final int RIGHT
public static final int DEFAULT
| Constructor Detail |
public Direction()
public Direction(int nDir)
public Direction(int x,
int y,
int w,
int h)
public Direction(int x,
int y,
int w,
int h,
int nDir)
| Method Detail |
public void setDirection(int nDir)
public int getDirection()
public void setMargin(int n)
public int getMargin()
public void draw(boolean bFill,
java.awt.Graphics g)
public void draw(boolean bFill,
java.awt.image.ImageObserver parent,
java.awt.Graphics g)
draw in interface ViewableShape
public void draw(java.awt.image.ImageObserver parent,
java.awt.Graphics g)
ViewableShape
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,
int x,
int y,
int w,
int h)
draw in interface ViewableShape
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 boolean contains(int x,
int y)
ViewableShape
contains in interface ViewableShapepublic void setImage(java.awt.Image image)
ViewableShape
setImage in interface ViewableShapepublic void setStretching(int nStretching)
ViewableShape
setStretching in interface ViewableShape
public void adjustEndPoints(int x,
int y,
int w,
int h)
|
ElegantJ Data Entry Masks Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||