|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--netcharts.pro.common.NFBaseClass
|
+--netcharts.pro.common.NFRange
|
+--netcharts.pro.common.NFAxisRange
The NFAxisRange maintains the minimum, maximum, and step for a particular axis. The minimum and maximum values may be defined with numeric values as well as date/time values. The step may be defined with a numeric value or a time unit value.
| Constructor Summary | |
NFAxisRange()
Constructs a default axis range |
|
NFAxisRange(java.util.Date min,
java.util.Date max,
double step)
Constructs an axis range with min, max and step. |
|
NFAxisRange(double min,
double max,
double step)
Constructs an axis range with min, max and step. |
|
| Method Summary | |
void |
getCDL(java.lang.StringBuffer sb,
boolean includeParens)
Append CDL parameters representing this range to the given StringBuffer. |
double |
getStep()
Gets the range step. |
netcharts.util.NFTimeUnit |
getStepAsTimeUnit()
Gets the range step as time unit. |
java.lang.Object |
getStepObject()
Gets the range step in object form (either a Date or Double or null if not defined.) |
int |
setCDL(java.lang.String[] elements,
int offset)
Configures this object from a CDL parameter representation. |
void |
setStep(double step)
Sets the range step. |
void |
setStep(netcharts.util.NFTimeUnit step)
Sets the range step as a timeunit. |
void |
setStep(java.lang.Object step)
Sets the range step as an object - either null, Date or Double is expected. |
| Methods inherited from class netcharts.pro.common.NFRange |
getCDL, getMax, getMaxAsDate, getMaxObject, getMin, getMinAsDate, getMinObject, setCDL, setMax, setMax, setMax, setMin, setMin, setMin, toString |
| 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 |
| Methods inherited from interface netcharts.pro.common.NFCDLGenerator |
getCDL, setCDL, toString |
| Constructor Detail |
public NFAxisRange()
public NFAxisRange(double min,
double max,
double step)
min - range minimummax - range maximumstep - range step
public NFAxisRange(java.util.Date min,
java.util.Date max,
double step)
min - range minimummax - range maximumstep - range step| Method Detail |
public void setStep(double step)
step - public void setStep(netcharts.util.NFTimeUnit step)
step - public void setStep(java.lang.Object step)
step - public double getStep()
public netcharts.util.NFTimeUnit getStepAsTimeUnit()
public java.lang.Object getStepObject()
public void getCDL(java.lang.StringBuffer sb,
boolean includeParens)
getCDL in class NFRangesb - Target buffer to append the CDL parametersincludeParens - If true, this will cause the parameters to be delimited
with parenthesis.
public int setCDL(java.lang.String[] elements,
int offset)
setCDL in class NFRangeelements - Array of parameter elements. This array is expected
to contain consecutive elements containing minimum, maximum and
step information.offset - Offset into the elements array.
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2006 |
Last Modified: Apr 14, 2006 |