|
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.common.rectangular.NFScaleSetAxisRange
public class NFScaleSetAxisRange
The NFScaleSetAxisRange is used to define multiple scales within the same axis (not to be confused with multiple axes on the same axis side). Each axis range contains a minimum, maximum, step, and percentage.
| Constructor Summary | |
|---|---|
NFScaleSetAxisRange()
Constructs a default scale set axis range |
|
NFScaleSetAxisRange(java.util.Date min,
java.util.Date max,
double step,
double percent)
Constructs an axis range with min, max and step. |
|
NFScaleSetAxisRange(double min,
double max,
double step,
double percent)
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 |
getPercent()
Gets the percentage of the physical axis space that will be reserved for this axis scale. |
int |
setCDL(java.lang.String[] elements,
int offset)
Configures this object from a CDL parameter representation. |
void |
setPercent(double percent)
Sets the percentage of the physical axis space that will be reserved for this axis scale. |
| Methods inherited from class netcharts.pro.common.NFAxisRange |
|---|
getStep, getStepAsTimeUnit, getStepObject, setStep, setStep |
| 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 NFScaleSetAxisRange()
public NFScaleSetAxisRange(double min,
double max,
double step,
double percent)
min - range minimummax - range maximumstep - range steppercent - the percentage of the physical axis space that will be reserved for this axis scale.
public NFScaleSetAxisRange(java.util.Date min,
java.util.Date max,
double step,
double percent)
min - range minimummax - range maximumstep - range steppercent - the percentage of the physical axis space that will be reserved for this axis scale.| Method Detail |
|---|
public void setPercent(double percent)
step - public double getPercent()
public void getCDL(java.lang.StringBuffer sb,
boolean includeParens)
getCDL in class NFAxisRangesb - 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 NFAxisRangeelements - Array of parameter elements. This array is expected
to contain consecutive elements containing minimum, maximum, step,
and percentage information.offset - Offset into the elements array.
|
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 - 2018 |
Last Modified: Jan 7, 2018 |