|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.gui.components.range2.Tick
public final class Tick
Helper class for the Ticks class. Tick contains information about individual tick that is rendered on the scale.
Field Summary | |
---|---|
double |
absolute
DOCUMENT ME! |
boolean |
major
DOCUMENT ME! |
double |
proportional
DOCUMENT ME! |
java.lang.String |
text
DOCUMENT ME! |
static int |
TICKS_OFFSET_PIXELS
DOCUMENT ME! |
Constructor Summary | |
---|---|
Tick(double absolute,
double proportional,
boolean major)
Constructs new Tick |
|
Tick(double absolute,
double proportional,
boolean major,
java.lang.String text)
Constructs new Tick |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TICKS_OFFSET_PIXELS
public double proportional
public double absolute
public boolean major
public java.lang.String text
Constructor Detail |
---|
public Tick(double absolute, double proportional, boolean major)
proportional
- major
- public Tick(double absolute, double proportional, boolean major, java.lang.String text)
proportional
- major
- text
- Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |