public class Cartesian
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.awt.image.BufferedImage |
bufferedImage |
protected int |
cols |
protected java.text.NumberFormat |
df |
protected java.util.Collection<?> |
eventName |
protected java.awt.Graphics2D |
g2d |
protected int |
imgHeight |
protected int |
imgWidth |
protected int |
rows |
protected java.lang.String |
title |
protected java.lang.String |
xAttributesName |
protected int |
xDivision |
protected int |
xGridSize |
protected java.util.SortedSet<java.lang.String> |
xKeys |
protected float |
xMax |
protected float |
xMin |
protected int |
xSize |
protected java.lang.String |
xTitle |
protected java.lang.String |
yAttributesName |
protected int |
yDivision |
protected int |
yGridSize |
protected java.util.SortedSet<java.lang.String> |
yKeys |
protected float |
yMax |
protected float |
yMin |
protected int |
ySize |
protected java.lang.String |
yTitle |
Constructor and Description |
---|
Cartesian(MapType type,
int imgHeight,
int imgWidth,
java.lang.String title,
java.lang.String xTitle,
java.lang.String yTitle,
int xSize,
int ySize,
float xMin,
float xMax,
int xDivision,
float yMin,
float yMax,
int yDivision,
java.util.SortedSet<java.lang.String> xKeys,
java.util.SortedSet<java.lang.String> yKeys,
java.util.Collection<?> eventNames) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.RenderedImage |
createMapImage() |
java.util.Map<java.lang.String,java.lang.String> |
createMapQuery() |
protected java.awt.image.RenderedImage |
drawBasicCartesianImage() |
protected int |
getAxisFontSize(int gridSize) |
protected void |
getAxisValueSize() |
protected float |
getBasicStroke() |
protected int |
getLabelFontSize(int gridSize) |
protected java.lang.String |
getLabelText(float label) |
protected int |
getTitleFontSize(int yGridSize) |
protected void |
getValueSize() |
protected void |
literalCal(java.lang.String xAttributesName,
java.lang.String yAttributesName) |
void |
updateMap(java.awt.image.RenderedImage newImage) |
protected java.lang.String title
protected java.lang.String xTitle
protected java.lang.String yTitle
protected java.lang.String xAttributesName
protected java.lang.String yAttributesName
protected java.awt.image.BufferedImage bufferedImage
protected java.awt.Graphics2D g2d
protected java.util.SortedSet<java.lang.String> xKeys
protected java.util.SortedSet<java.lang.String> yKeys
protected int xSize
protected int ySize
protected int xDivision
protected int yDivision
protected int rows
protected int cols
protected int imgHeight
protected int imgWidth
protected int yGridSize
protected int xGridSize
protected float xMin
protected float xMax
protected float yMin
protected float yMax
protected java.util.Collection<?> eventName
protected java.text.NumberFormat df
public Cartesian(MapType type, int imgHeight, int imgWidth, java.lang.String title, java.lang.String xTitle, java.lang.String yTitle, int xSize, int ySize, float xMin, float xMax, int xDivision, float yMin, float yMax, int yDivision, java.util.SortedSet<java.lang.String> xKeys, java.util.SortedSet<java.lang.String> yKeys, java.util.Collection<?> eventNames)
protected java.awt.image.RenderedImage drawBasicCartesianImage()
protected java.lang.String getLabelText(float label)
protected int getTitleFontSize(int yGridSize)
protected int getAxisFontSize(int gridSize)
protected void getAxisValueSize()
protected int getLabelFontSize(int gridSize)
protected void getValueSize()
protected float getBasicStroke()
protected void literalCal(java.lang.String xAttributesName, java.lang.String yAttributesName)
public void updateMap(java.awt.image.RenderedImage newImage)
public java.awt.image.RenderedImage createMapImage()
public java.util.Map<java.lang.String,java.lang.String> createMapQuery()