|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavapoint.components.model.PolygonalModel
javapoint.components.model.DiamondModel
public class DiamondModel
| Field Summary |
|---|
| Fields inherited from class javapoint.components.model.PolygonalModel |
|---|
currentBounds |
| Constructor Summary | |
|---|---|
DiamondModel(int[] xPoints,
int[] yPoints,
int n)
|
|
DiamondModel(java.awt.Rectangle bounds)
|
|
| Method Summary | |
|---|---|
java.awt.Polygon |
createDefaultPolygon(java.awt.Rectangle bounds)
|
java.awt.Polygon |
recalcCoordinates()
|
| Methods inherited from class javapoint.components.model.PolygonalModel |
|---|
containsPoint, flipHorizontal, flipVertical, getModelBounds, paint, rotate, setStatePolygon, updateBounds |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiamondModel(java.awt.Rectangle bounds)
public DiamondModel(int[] xPoints,
int[] yPoints,
int n)
| Method Detail |
|---|
public java.awt.Polygon createDefaultPolygon(java.awt.Rectangle bounds)
createDefaultPolygon in class PolygonalModelpublic java.awt.Polygon recalcCoordinates()
recalcCoordinates in class PolygonalModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||