DESY ACOP Beans Home

com.cosylab.gui.components.range2
Class Tick

java.lang.Object
  extended by com.cosylab.gui.components.range2.Tick

public final class Tick
extends java.lang.Object

Helper class for the Ticks class. Tick contains information about individual tick that is rendered on the scale.

Version:
1.0
Author:
Ales Pucelj

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

TICKS_OFFSET_PIXELS

public static final int TICKS_OFFSET_PIXELS
DOCUMENT ME!

See Also:
Constant Field Values

proportional

public double proportional
DOCUMENT ME!


absolute

public double absolute
DOCUMENT ME!


major

public boolean major
DOCUMENT ME!


text

public java.lang.String text
DOCUMENT ME!

Constructor Detail

Tick

public Tick(double absolute,
            double proportional,
            boolean major)
Constructs new Tick

Parameters:
proportional -
major -

Tick

public Tick(double absolute,
            double proportional,
            boolean major,
            java.lang.String text)
Constructs new Tick

Parameters:
proportional -
major -
text -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.