|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VisualizationFactory
Defines the methods required to construct objects necessary for visualization of a particular application.
| Method Summary | |
|---|---|
int |
getHeight()
|
int |
getWidth()
|
Avatar |
makeAvatar(Individual individual,
java.util.Map<java.lang.String,java.lang.Object> properties)
Method to create a new Avatar, based on an organism. |
java.awt.Color |
makeColor(Individual individual)
Method to determine a suitable color for visualizing the organism |
java.awt.Point |
makeLocation(Individual individual)
Method to determine a suitable location for visualizing the organism |
void |
setHeight(int height)
set the height of the space available for visualization. |
void |
setWidth(int width)
the width of the space available for visualization. |
| Method Detail |
|---|
int getHeight()
int getWidth()
Avatar makeAvatar(Individual individual,
java.util.Map<java.lang.String,java.lang.Object> properties)
Avatar, based on an organism.
individual - the individual to be represented by the Avatar.properties - the properties of the visualization model
Avatar.java.awt.Color makeColor(Individual individual)
individual -
java.awt.Point makeLocation(Individual individual)
individual -
void setHeight(int height)
height - void setWidth(int width)
width -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||