|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetcharts.pro.common.NFBaseClass
netcharts.pro.common.NFRange
netcharts.pro.common.NFAxisRange
netcharts.pro.charts.strip.NFStripAxisRange
public class NFStripAxisRange
This object is used to define the range and behavior characteristics of the top and bottom strip chart axes.
Field Summary | |
---|---|
static int |
DYNAMIC
Dynamic axis type (tics and labels move with the data) |
static int |
STATIC
Static axis type (tics and labels do not move) |
static java.util.Hashtable |
stripAxisMap
strip axis type hashtable |
Constructor Summary | |
---|---|
NFStripAxisRange()
Constructs a default stripchart axis range |
|
NFStripAxisRange(int slotsPerTic,
java.util.Date ticStart,
NFTimeUnit ticStep,
int type)
Constructs a stripchart axis range with the given slots per tic, tic Start, tic Step and axis type. |
|
NFStripAxisRange(int slotsPerTic,
double ticStart,
double ticStep,
int axisType)
Constructs a stripchart axis range with the given slots per tic, tic Start, tic Step and axis type. |
Method Summary | |
---|---|
int |
getAxisType()
Gets the axis type. |
java.lang.String |
getCDL()
Generate CDL parameters representing this range |
int |
getSlotsPerTic()
Gets the number of data slots per tic mark. |
double |
getStep()
Gets the numeric tic value increment. |
NFTimeUnit |
getStepAsTimeUnit()
Gets the date/time tic value increment. |
double |
getTicStart()
Gets the first tic value as a number. |
java.util.Date |
getTicStartAsDate()
Gets the first tic value as a date. |
void |
setAxisType(int axisType)
Sets the axis type. |
void |
setCDL(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setSlotsPerTic(int slotsPerTic)
Sets the number of data slots per tic mark. |
void |
setStep(double step)
Sets the numeric tic value increment. |
void |
setStep(NFTimeUnit step)
Sets the date/time tic value increment. |
void |
setTicStart(java.util.Date ticStart)
Sets the first date-based tic value. |
void |
setTicStart(double ticStart)
Sets the first numeric tic value. |
java.lang.String |
toString()
Returns a new String object representing this range. |
Methods inherited from class netcharts.pro.common.NFAxisRange |
---|
getCDL, getStepObject, setCDL |
Methods inherited from class netcharts.pro.common.NFRange |
---|
getMax, getMaxAsDate, getMaxObject, getMin, getMinAsDate, getMinObject, setMax, setMax, setMax, setMin, setMin, setMin |
Methods inherited from class netcharts.pro.common.NFBaseClass |
---|
clone, getModified, getUserObject, setModified, setUserObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int STATIC
public static final int DYNAMIC
public static java.util.Hashtable stripAxisMap
Constructor Detail |
---|
public NFStripAxisRange()
public NFStripAxisRange(int slotsPerTic, double ticStart, double ticStep, int axisType)
slotsPerTic
- The number of data slots between tic marks.ticStart
- Used when automatically generating labels. Indicates
the first numeric tic value.ticStep
- Used when automatically generating labels. Indicates
numerical increment between tics.axisType
- The axis behavior. One of STATIC, DYNAMIC
public NFStripAxisRange(int slotsPerTic, java.util.Date ticStart, NFTimeUnit ticStep, int type)
slotsPerTic
- The number of data slots between tic marks.ticStart
- Used when automatically generating labels. Indicates
the first date based tic value.ticStep
- Used when automatically generating labels. Indicates
time unit increment between tics.axisType
- The axis behavior. One of STATIC, DYNAMIC
Method Detail |
---|
public void setSlotsPerTic(int slotsPerTic)
Number
- of data slots per tic mark.public int getSlotsPerTic()
public void setAxisType(int axisType)
STATIC, DYNAMIC
If the value passed is not a valid strip chart axis type an IllegalArgumentException will be thrown.
axisType
- The type of axis.public int getAxisType()
STATIC, DYNAMIC
public void setTicStart(double ticStart)
ticStart
- first numeric tic value.public void setTicStart(java.util.Date ticStart)
ticStart
- first date-based tic value.public double getTicStart()
public java.util.Date getTicStartAsDate()
public void setStep(double step)
setStep
in class NFAxisRange
step
- numeric tic value increment.public void setStep(NFTimeUnit step)
setStep
in class NFAxisRange
step
- date/time tic value increment.public double getStep()
getStep
in class NFAxisRange
public NFTimeUnit getStepAsTimeUnit()
getStepAsTimeUnit
in class NFAxisRange
public java.lang.String toString()
toString
in interface NFCDLGenerator
toString
in class NFRange
public java.lang.String getCDL()
getCDL
in interface NFCDLGenerator
getCDL
in class NFRange
(slotsPerTic, ticStart, ticStep, axisType)
public void setCDL(java.lang.String cdl)
setCDL
in interface NFCDLGenerator
setCDL
in class NFRange
cdl
- CDL in the form: (slotsPerTic, ticStart, ticStep, axisType)
|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2011 |
Last Modified: Jun 28, 2011 |