massim.visualization
Class ItemsAndObstacles
java.lang.Object
massim.visualization.svg.SvgFunction
massim.visualization.ItemsAndObstacles
public class ItemsAndObstacles
- extends SvgFunction
Method Summary |
org.w3c.dom.Document |
addImage(org.w3c.dom.Document readDoc,
double x,
double y,
java.lang.String file)
At this moment don't use this funktion!!! |
org.w3c.dom.Document |
label(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
java.lang.String text,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeAgent(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.Integer x,
java.lang.Integer y,
boolean use,
java.lang.String color)
|
org.w3c.dom.Document |
makeBlueStable(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
boolean team,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeCirlce(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String color)
this method create trees as obstacles |
org.w3c.dom.Document |
makeCow(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeCow(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y,
boolean use,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeFence(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
|
org.w3c.dom.Element |
makeFenceDefs(org.w3c.dom.Document readDoc,
java.lang.String id)
|
org.w3c.dom.Document |
makeGold(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeGold(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y,
boolean use,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeGoldDepot(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeGoldDepot(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y,
boolean use,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeRedStable(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
boolean team,
java.lang.String rotate)
|
org.w3c.dom.Document |
makeSwitch(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotation)
|
org.w3c.dom.Document |
makeTrees(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
this method create trees as obstacles |
org.w3c.dom.Document |
makeTrees(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y,
boolean use,
java.lang.String rotate)
this method create trees with text as obstacles |
void |
setDimBoxHeight(double dimBoxHeight)
|
void |
setDimBoxWidth(double dimBoxWidth)
|
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 |
ItemsAndObstacles
public ItemsAndObstacles()
setDimBoxHeight
public void setDimBoxHeight(double dimBoxHeight)
setDimBoxWidth
public void setDimBoxWidth(double dimBoxWidth)
makeGoldDepot
public org.w3c.dom.Document makeGoldDepot(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
makeGoldDepot
public org.w3c.dom.Document makeGoldDepot(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y,
boolean use,
java.lang.String rotate)
makeGold
public org.w3c.dom.Document makeGold(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
makeGold
public org.w3c.dom.Document makeGold(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y,
boolean use,
java.lang.String rotate)
makeFence
public org.w3c.dom.Document makeFence(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
makeFenceDefs
public org.w3c.dom.Element makeFenceDefs(org.w3c.dom.Document readDoc,
java.lang.String id)
makeRedStable
public org.w3c.dom.Document makeRedStable(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
boolean team,
java.lang.String rotate)
makeBlueStable
public org.w3c.dom.Document makeBlueStable(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
boolean team,
java.lang.String rotate)
makeTrees
public org.w3c.dom.Document makeTrees(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
- this method create trees as obstacles
- Parameters:
readDoc
- is the xml documentid
- identify this objectx
- number of boxes in horizontal directiony
- number of boxes in vertical direction
- Returns:
- the document with tree
makeCirlce
public org.w3c.dom.Document makeCirlce(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String color)
- this method create trees as obstacles
- Parameters:
readDoc
- is the xml documentid
- identify this objectx
- number of boxes in horizontal directiony
- number of boxes in vertical direction
- Returns:
- the document with tree
makeTrees
public org.w3c.dom.Document makeTrees(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y,
boolean use,
java.lang.String rotate)
- this method create trees with text as obstacles
- Parameters:
readDoc
- is the xml documentid
- identify this objecttext
- is the text on the labelx
- number of boxes in horizontal directiony
- number of boxes in vertical direction
- Returns:
- the document with tree
makeCow
public org.w3c.dom.Document makeCow(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotate)
makeCow
public org.w3c.dom.Document makeCow(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y,
boolean use,
java.lang.String rotate)
label
public org.w3c.dom.Document label(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
java.lang.String text,
java.lang.String rotate)
addImage
public org.w3c.dom.Document addImage(org.w3c.dom.Document readDoc,
double x,
double y,
java.lang.String file)
- At this moment don't use this funktion!!! The problem Adobe SVG Viewer
don't support at this moment include image in an included SVG So if you
open the Preview-file you wouldn't see the included file but if you open
the file (e.g. massim-0.svg) you see the included file ...
makeSwitch
public org.w3c.dom.Document makeSwitch(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y,
boolean use,
java.lang.String rotation)
makeAgent
public org.w3c.dom.Document makeAgent(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.Integer x,
java.lang.Integer y,
boolean use,
java.lang.String color)
Copyright © 2011. All Rights Reserved.