de.erichseifert.gral.plots.axes
Class Tick

java.lang.Object
  extended by de.erichseifert.gral.plots.DataPoint
      extended by de.erichseifert.gral.plots.axes.Tick

public class Tick
extends DataPoint

Class for storing the tick mark of an axis.


Nested Class Summary
static class Tick.TickType
          Type of tick mark.
 
Constructor Summary
Tick(Tick.TickType type, PointND<Double> position, PointND<Double> normal, Drawable drawable, Shape point, String label)
          Creates a new instance with the specified position, normal, Drawable, point and label.
 
Method Summary
 String getLabel()
          Returns the label of this tick mark.
 PointND<Double> getNormal()
          Returns the normal vector of this tick mark.
 Tick.TickType getType()
          Returns the kind of tick this object represents.
 
Methods inherited from class de.erichseifert.gral.plots.DataPoint
getDrawable, getPoint, getPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tick

public Tick(Tick.TickType type,
            PointND<Double> position,
            PointND<Double> normal,
            Drawable drawable,
            Shape point,
            String label)
Creates a new instance with the specified position, normal, Drawable, point and label.

Parameters:
type - Type of the tick mark.
position - Coordinates.
normal - Normal.
drawable - Representation.
point - Point.
label - Description.
Method Detail

getType

public Tick.TickType getType()
Returns the kind of tick this object represents.

Returns:
Tick type

getNormal

public PointND<Double> getNormal()
Returns the normal vector of this tick mark.

Returns:
Normal.

getLabel

public String getLabel()
Returns the label of this tick mark.

Returns:
Label.


Copyright © 2009-2010. All Rights Reserved.