|
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
public class NFRange
The NFRange object identifies the minimum and maximum values of a given scale. The minimum and maximum values may be defined with numeric values as well as date/time values. This object is used to identify scrolling ranges, axes ranges, and more.
| Constructor Summary | |
|---|---|
NFRange()
Constructs a default range |
|
NFRange(java.util.Date min,
java.util.Date max)
Constructs a default range |
|
NFRange(double min,
double max)
Constructs a default range |
|
| Method Summary | |
|---|---|
java.lang.String |
getCDL()
Generate CDL parameters representing this range |
void |
getCDL(java.lang.StringBuffer sb,
boolean includeParens)
Append CDL parameters representing this range to the given StringBuffer. |
double |
getMax()
Gets the range maximum |
java.util.Date |
getMaxAsDate()
Gets the range maximum as a date object |
java.lang.Object |
getMaxObject()
Gets the range maximum in object form (either a Date or Double or null if not defined.) |
double |
getMin()
Gets the range minimum |
java.util.Date |
getMinAsDate()
Gets the range minimum as a date object |
java.lang.Object |
getMinObject()
Gets the range minimum in object form (either a Date or Double or null if not defined.) |
void |
setCDL(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
int |
setCDL(java.lang.String[] elements,
int offset)
Configures this object from a CDL parameter representation. |
void |
setMax(java.util.Date max)
Sets the range maximum using a date value |
void |
setMax(double max)
Sets the range maximum |
void |
setMax(java.lang.Object max)
Sets the range max as an object - either null, Date or Double is expected. |
void |
setMin(java.util.Date min)
Sets the range minimum using a date value |
void |
setMin(double min)
Sets the range minimum |
void |
setMin(java.lang.Object min)
Sets the range min as an object - either null, Date or Double is expected. |
java.lang.String |
toString()
Returns a new String object representing this range. |
| 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 |
| Constructor Detail |
|---|
public NFRange()
public NFRange(double min,
double max)
public NFRange(java.util.Date min,
java.util.Date max)
| Method Detail |
|---|
public void setMin(double min)
min - Value representing the low end of the scale.public void setMin(java.util.Date min)
min - Date value representing the low end of the scalepublic void setMin(java.lang.Object min)
min - public double getMin()
public java.util.Date getMinAsDate()
public java.lang.Object getMinObject()
public void setMax(double max)
max - public void setMax(java.util.Date max)
max - public void setMax(java.lang.Object max)
max - public double getMax()
max - public java.lang.Object getMaxObject()
public java.util.Date getMaxAsDate()
public java.lang.String toString()
toString in interface NFCDLGeneratortoString in class java.lang.Objectpublic java.lang.String getCDL()
getCDL in interface NFCDLGenerator(minimum,maximum)
public void getCDL(java.lang.StringBuffer sb,
boolean includeParens)
sb - Target buffer to append the CDL parametersincludeParens - If true, this will cause the parameters to be delimited
with parenthesis.public void setCDL(java.lang.String cdl)
setCDL in interface NFCDLGeneratorcdl - CDL in the form: (minimum,maximum)
public int setCDL(java.lang.String[] elements,
int offset)
elements - Array of parameter elements. This array is expected
to contain consecutive elements containing minimum and
maximum 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 |