|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.tostring0.AToString
com.rubecula.darwin.visualization.Avatar_
com.rubecula.darwin.visualization.Avatar_Variable
public class Avatar_Variable
Lifespan: transient.
TODO This implementer of Avatar is somewhat application-specific for
the Peppered Moth. We should really update the color and size of the
individual objects as we go, rather than override the getColor() and
getSize() methods.
| Field Summary |
|---|
| Fields inherited from class com.rubecula.darwin.visualization.Avatar_ |
|---|
numberFormatter |
| Fields inherited from interface net.sf.tostring0.IToString |
|---|
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE |
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
|
double |
getSize()
By default, we simply return 1. |
| Methods inherited from class com.rubecula.darwin.visualization.Avatar_ |
|---|
equals, getIndividual, getLocation, hashCode, moveTo, setColor, showColor, showLocation, showSize |
| Methods inherited from class net.sf.tostring0.AToString |
|---|
toString, toString, toStringBrief, toStringId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.awt.Color getColor()
getColor in interface AvatargetColor in class Avatar_Avatar_.getColor()public double getSize()
Avatar_
getSize in interface AvatargetSize in class Avatar_Avatar.getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||