|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eltima.chart.Tick
The Tick class.
Copyright: Copyright (c) 2000-2005
Company: Eltima Software
Field Summary | |
static int |
CROSS
|
static int |
INSIDE
|
static int |
NONE
|
static int |
OUTSIDE
|
Constructor Summary | |
Tick()
Creates new instance of Tick. |
|
Tick(int type,
int length,
int weight,
java.awt.Color color)
Creates new instance of Tick with specified type, length, weigth and color. |
Method Summary | |
java.awt.Color |
getColor()
Returns the tick color. |
int |
getLength()
Returns the tick length. |
int |
getType()
Returns the tick type. |
int |
getWeight()
Returns the tick weight. |
void |
setColor(java.awt.Color c)
Sets the tick color. |
void |
setLength(int length)
Sets the tick length. |
void |
setType(int type)
Sets the tick type. |
void |
setWeight(int weight)
Sets the tick weight. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NONE
public static final int OUTSIDE
public static final int INSIDE
public static final int CROSS
Constructor Detail |
public Tick()
public Tick(int type, int length, int weight, java.awt.Color color)
type
- intlength
- intweight
- intcolor
- ColorMethod Detail |
public int getType()
public void setType(int type)
type
- intpublic int getLength()
public void setLength(int length)
length
- intpublic int getWeight()
public void setWeight(int weight)
weight
- intpublic java.awt.Color getColor()
public void setColor(java.awt.Color c)
c
- Color
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |