public class TimingRuler
extends java.lang.Object
Constructor and Description |
---|
TimingRuler(ISkinParam skinParam) |
Modifier and Type | Method and Description |
---|---|
void |
addTime(TimeTick time) |
void |
drawTimeAxis(UGraphic ug) |
void |
drawVlines(UGraphic ug,
double height) |
void |
ensureNotEmpty() |
double |
getHeight(StringBounder stringBounder) |
double |
getPosInPixel(TimeTick when) |
double |
getWidth() |
void |
scaleInPixels(long tick,
long pixel) |
public TimingRuler(ISkinParam skinParam)
public void ensureNotEmpty()
public void scaleInPixels(long tick, long pixel)
public double getWidth()
public final double getPosInPixel(TimeTick when)
public void addTime(TimeTick time)
public void drawTimeAxis(UGraphic ug)
public void drawVlines(UGraphic ug, double height)
public double getHeight(StringBounder stringBounder)