public class TooltipRenderer extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
renderX |
protected boolean |
renderY |
protected boolean |
renderZ |
protected String |
xUnit |
protected String |
yUnit |
protected String |
zUnit |
Constructor and Description |
---|
TooltipRenderer(String xUnit,
String yUnit,
String zUnit) |
TooltipRenderer(String xUnit,
String yUnit,
String zUnit,
boolean renderX,
boolean renderY,
boolean renderZ) |
Modifier and Type | Method and Description |
---|---|
String |
format(Coord3d c) |
void |
render(Graphics2D g2d,
int x,
int y,
Coord3d coord) |
void |
render(Graphics2D g2d,
Tooltip t) |
void |
render(Graphics2D g2d,
Tooltip t,
int height) |
protected String xUnit
protected String yUnit
protected String zUnit
protected boolean renderX
protected boolean renderY
protected boolean renderZ
public void render(Graphics2D g2d, Tooltip t)
public void render(Graphics2D g2d, Tooltip t, int height)
public void render(Graphics2D g2d, int x, int y, Coord3d coord)
Copyright © 2016. All rights reserved.