massim.visualization
Class MainGrid
java.lang.Object
massim.visualization.svg.SvgFunction
massim.visualization.MainGrid
public class MainGrid
- extends SvgFunction
TODO create Grid
Method Summary |
double |
getStatisticWidth()
|
org.w3c.dom.Document |
makeDrawGrid(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y)
methode to generate a grid without text |
org.w3c.dom.Document |
makeDrawGrid(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y)
methode to generate a grid with text |
void |
setBackgroundColour0(java.lang.String newColour)
|
void |
setBackgroundColour1(java.lang.String newColour)
|
void |
setFontFamily(java.lang.String newValue)
|
void |
setFontSize(double newValue)
|
org.w3c.dom.Document |
setGridStatistic(int x,
int y,
org.w3c.dom.Document readDoc,
java.util.Map<java.lang.String,java.lang.String> myMap)
|
void |
setHeightGrid(double newValue)
|
void |
setHeightGridCell(double newValue)
|
void |
setStrokeColour(java.lang.String newColour)
|
void |
setStrokeWidth(double newValue)
|
void |
setWidthGrid(double newValue)
|
void |
setWidthGridCell(double newValue)
|
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 |
MainGrid
public MainGrid()
setWidthGrid
public void setWidthGrid(double newValue)
setHeightGrid
public void setHeightGrid(double newValue)
setWidthGridCell
public void setWidthGridCell(double newValue)
setHeightGridCell
public void setHeightGridCell(double newValue)
setBackgroundColour0
public void setBackgroundColour0(java.lang.String newColour)
setBackgroundColour1
public void setBackgroundColour1(java.lang.String newColour)
setStrokeColour
public void setStrokeColour(java.lang.String newColour)
setStrokeWidth
public void setStrokeWidth(double newValue)
setFontSize
public void setFontSize(double newValue)
setFontFamily
public void setFontFamily(java.lang.String newValue)
getStatisticWidth
public double getStatisticWidth()
makeDrawGrid
public org.w3c.dom.Document makeDrawGrid(org.w3c.dom.Document readDoc,
java.lang.String id,
int x,
int y)
- methode to generate a grid without text
- Parameters:
readDoc
- id
- identify the given objectx
- number of cells (horizontal)y
- number of cells (vertical)
- Returns:
makeDrawGrid
public org.w3c.dom.Document makeDrawGrid(org.w3c.dom.Document readDoc,
java.lang.String id,
java.lang.String text,
int x,
int y)
- methode to generate a grid with text
- Parameters:
readDoc
- id
- identify the given objecttext
- text under the gridx
- number of cells (horizontal)y
- number of cells (vertical)
- Returns:
setGridStatistic
public org.w3c.dom.Document setGridStatistic(int x,
int y,
org.w3c.dom.Document readDoc,
java.util.Map<java.lang.String,java.lang.String> myMap)
Copyright © 2011. All Rights Reserved.