|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of PolkaDot in lt05_pkg |
---|
Methods in lt05_pkg that return PolkaDot | |
---|---|
PolkaDot |
PolkaDotDataModel.getClosestShape(java.awt.Point p)
This method returns the polka dot in this model that is closest to the passed point. |
PolkaDot |
PolkaDotDataModel.getMatchingDot(java.awt.Point p)
This method returns the polka dot in this model that the passed point hits. |
static PolkaDot |
PolkaDot.getRandom(int xDim,
int yDim,
PolkaDotDataModel dataModel)
This method generates a random polka dot, with a color randomly chosen from within a palette of 6 basic colors (red, orange, yellow, green, blue, magenta). |
Methods in lt05_pkg that return types with arguments of type PolkaDot | |
---|---|
java.util.Set<PolkaDot> |
PolkaDotDataModel.getDots()
Return this collection as a List of PolkaDot objects. |
Methods in lt05_pkg with parameters of type PolkaDot | |
---|---|
boolean |
PolkaDotDataModel.addDot(PolkaDot theDot)
Add the passed polka dot to this collection. |
int |
PolkaDot.compareTo(PolkaDot otherDot)
|
boolean |
PolkaDot.isDuplicate(PolkaDot dot)
Method that determines whether the passed dot is a duplicate of this dot. |
void |
PolkaDotDataModel.setTheColor(PolkaDot p,
java.awt.Color c)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |