|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.jaret.util.ui.timebars.TickScaler
public class TickScaler
Simple helper for scaling minor and major tick distances for pixelpersecond value.
Nested Class Summary | |
---|---|
static class |
TickScaler.Range
|
Constructor Summary | |
---|---|
TickScaler()
|
Method Summary | |
---|---|
static int |
getMajorTickMinutes(int idx)
|
static int |
getMinorTickMinutes(int idx)
|
static TickScaler.Range |
getRange(int idx)
|
static int |
getTickIdx(double pixPerSecond)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TickScaler()
Method Detail |
---|
public static int getTickIdx(double pixPerSecond)
public static int getMajorTickMinutes(int idx)
public static int getMinorTickMinutes(int idx)
public static TickScaler.Range getRange(int idx)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |