|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmassim.visualization.svg.SvgFunction
massim.visualization.Agent
public class Agent
This class is the mainclass to draw an agent. Its provide mehtods to create svg elements
Constructor Summary | |
---|---|
Agent()
|
Method Summary | |
---|---|
org.w3c.dom.Document |
goldDigger(org.w3c.dom.Document readDoc,
long id,
long teamId,
int x,
int y,
java.lang.String rotate)
create the gold digger |
org.w3c.dom.Document |
goldDigger(org.w3c.dom.Document readDoc,
long id,
long teamId,
java.lang.String text,
int x,
int y,
java.lang.String rotate)
create the gold digger with label |
org.w3c.dom.Document |
goldDigger(org.w3c.dom.Document readDoc,
long id,
java.lang.String teamId,
int x,
int y,
java.lang.String rotate)
create the gold digger |
org.w3c.dom.Document |
goldDigger(org.w3c.dom.Document readDoc,
long id,
java.lang.String teamId,
java.lang.String text,
int x,
int y,
java.lang.String rotate)
create the gold digger with label |
org.w3c.dom.Document |
goldDiggerWithGold(org.w3c.dom.Document readDoc,
long id,
long teamId,
int x,
int y,
java.lang.String rotate)
|
org.w3c.dom.Document |
goldDiggerWithGold(org.w3c.dom.Document readDoc,
long id,
long teamId,
java.lang.String text,
int x,
int y,
java.lang.String rotate)
|
org.w3c.dom.Document |
goldDiggerWithGold(org.w3c.dom.Document readDoc,
long id,
java.lang.String teamId,
int x,
int y,
java.lang.String rotate)
|
org.w3c.dom.Document |
goldDiggerWithGold(org.w3c.dom.Document readDoc,
long id,
java.lang.String teamId,
java.lang.String text,
int x,
int y,
java.lang.String rotate)
|
void |
setDimBoxHeight(double dimBoxHeight)
|
void |
setDimBoxWidth(double dimBoxWidth)
|
void |
setDimLine()
|
void |
setDimLineY(double dimLineY)
|
void |
setLabelColour(java.lang.String labelColour)
|
void |
setLabelHeadColour(java.lang.String labelHeadColour)
|
void |
setLabelHeadTextColour(java.lang.String labelHeadTextColour)
|
void |
setLabelTextColour(java.lang.String labelTextColour)
|
Methods inherited from class massim.visualization.svg.SvgFunction |
---|
funcAddAttribute, funcCircle, funcEllipse, funcLine, funcLine, funcPath, funcPath, funcPolygon, funcPolyline, funcRect, funcText, funcText, rotation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Agent()
Method Detail |
---|
public void setDimBoxHeight(double dimBoxHeight)
public void setDimBoxWidth(double dimBoxWidth)
public void setDimLineY(double dimLineY)
public void setDimLine()
public void setLabelColour(java.lang.String labelColour)
public void setLabelHeadColour(java.lang.String labelHeadColour)
public void setLabelHeadTextColour(java.lang.String labelHeadTextColour)
public void setLabelTextColour(java.lang.String labelTextColour)
public org.w3c.dom.Document goldDigger(org.w3c.dom.Document readDoc, long id, java.lang.String teamId, int x, int y, java.lang.String rotate)
readDoc
- id
- identical the agentx
- horizontal position of the goldDigger (cell number)y
- vertical position of the goldDigger (cell number)rotate
- NOTE: "N"|"n" rotate agent North, "E"|"e" rotate agent East,
"S"|"s" rotate agent South, "W"|"w" rotate agent West "12"
rotate agent 12 degree rightwardsgoldDigger
- elementpublic org.w3c.dom.Document goldDigger(org.w3c.dom.Document readDoc, long id, long teamId, int x, int y, java.lang.String rotate)
readDoc
- id
- identical the agentteamId
- identical the team of the agentx
- horizontal position of the goldDigger (cell number)y
- vertical position of the goldDigger (cell number)rotate
- NOTE: "N"|"n" rotate agent North, "E"|"e" rotate agent East,
"S"|"s" rotate agent South, "W"|"w" rotate agent West "12"
rotate agent 12 degree rightwards
public org.w3c.dom.Document goldDigger(org.w3c.dom.Document readDoc, long id, java.lang.String teamId, java.lang.String text, int x, int y, java.lang.String rotate)
readDoc
- id
- identical the agentteamId
- identical the team of the agenttext
- text on the label of the agentx
- horizontal position of the goldDigger (cell number)y
- vertical position of the goldDigger (cell number)rotate
- NOTE: "N"|"n" rotate agent North, "E"|"e" rotate agent East,
"S"|"s" rotate agent South, "W"|"w" rotate agent West "12"
rotate agent 12 degree rightwards
public org.w3c.dom.Document goldDigger(org.w3c.dom.Document readDoc, long id, long teamId, java.lang.String text, int x, int y, java.lang.String rotate)
readDoc
- id
- identical the agentteamId
- identical the team of the agenttext
- text on the label of the agentx
- horizontal position of the goldDigger (cell number)y
- vertical position of the goldDigger (cell number)rotate
- NOTE: "N"|"n" rotate agent North, "E"|"e" rotate agent East,
"S"|"s" rotate agent South, "W"|"w" rotate agent West "12"
rotate agent 12 degree rightwards
public org.w3c.dom.Document goldDiggerWithGold(org.w3c.dom.Document readDoc, long id, long teamId, int x, int y, java.lang.String rotate)
readDoc
- id
- identical the agentteamId
- identical the team of the agentx
- horizontal position of the goldDiggerWithGold (cell number)y
- vertical position of the goldDiggerWithGold (cell number)rotate
- NOTE: "N"|"n" rotate agent North, "E"|"e" rotate agent East,
"S"|"s" rotate agent South, "W"|"w" rotate agent West "12"
rotate agent 12 degree rightwardspublic org.w3c.dom.Document goldDiggerWithGold(org.w3c.dom.Document readDoc, long id, java.lang.String teamId, int x, int y, java.lang.String rotate)
readDoc
- id
- identical the agentteamId
- identical the team of the agentx
- horizontal position of the goldDiggerWithGold (cell number)y
- vertical position of the goldDiggerWithGold (cell number)rotate
- NOTE: "N"|"n" rotate agent North, "E"|"e" rotate agent East,
"S"|"s" rotate agent South, "W"|"w" rotate agent West "12"
rotate agent 12 degree rightwards
public org.w3c.dom.Document goldDiggerWithGold(org.w3c.dom.Document readDoc, long id, long teamId, java.lang.String text, int x, int y, java.lang.String rotate)
readDoc
- id
- identical the agentteamId
- identical the team of the agenttext
- text on the label of the agentx
- horizontal position of the goldDiggerWithGold (cell number)y
- vertical position of the goldDiggerWithGold (cell number)rotate
- NOTE: "N"|"n" rotate agent North, "E"|"e" rotate agent East,
"S"|"s" rotate agent South, "W"|"w" rotate agent West "12"
rotate agent 12 degree rightwards
public org.w3c.dom.Document goldDiggerWithGold(org.w3c.dom.Document readDoc, long id, java.lang.String teamId, java.lang.String text, int x, int y, java.lang.String rotate)
readDoc
- id
- identical the agentteamId
- identical the team of the agenttext
- text on the label of the agentx
- horizontal position of the goldDiggerWithGold (cell number)y
- vertical position of the goldDiggerWithGold (cell number)rotate
- NOTE: "N"|"n" rotate agent North, "E"|"e" rotate agent East,
"S"|"s" rotate agent South, "W"|"w" rotate agent West "12"
rotate agent 12 degree rightwards
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |