|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.gef.presentation.Fig
org.tigris.gef.presentation.FigDiamond
public class FigDiamond
Primitive Fig to paint rectangles on a LayerDiagram.
| Field Summary |
|---|
| Fields inherited from class org.tigris.gef.presentation.Fig |
|---|
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _filled, _h, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE |
| Constructor Summary | |
|---|---|
FigDiamond(int x,
int y,
int w,
int h)
Construct a new resizable FigRect with the given position and size. |
|
FigDiamond(int x,
int y,
int w,
int h,
boolean resizable)
Construct a new FigRect w/ the given position and size. |
|
FigDiamond(int x,
int y,
int w,
int h,
boolean resizable,
java.awt.Color lColor,
java.awt.Color fColor)
Construct a new FigRect w/ the given position, size, line color, and fill color. |
|
FigDiamond(int x,
int y,
int w,
int h,
java.awt.Color lColor,
java.awt.Color fColor)
Construct a new resizable FigRect with the given position, size, line color, and fill color. |
|
| Method Summary | |
|---|---|
java.util.List |
getGravityPoints()
Makes sure that the edges stick to the outline of the fig. |
void |
paint(java.awt.Graphics g)
Paint this FigRect |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FigDiamond(int x,
int y,
int w,
int h)
public FigDiamond(int x,
int y,
int w,
int h,
java.awt.Color lColor,
java.awt.Color fColor)
public FigDiamond(int x,
int y,
int w,
int h,
boolean resizable)
public FigDiamond(int x,
int y,
int w,
int h,
boolean resizable,
java.awt.Color lColor,
java.awt.Color fColor)
| Method Detail |
|---|
public java.util.List getGravityPoints()
getGravityPoints in class FigFig.getGravityPoints()public void paint(java.awt.Graphics g)
paint in class Fig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||