|
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.charts.histogram.NFHistogramBin
public class NFHistogramBin
Field Summary | |
---|---|
static int |
AUTO
The algorithm will automatically define the bin size (defaulted to 3). |
static java.util.Hashtable |
binTypeMap
Histogram bin type hashtable |
static int |
BYNUMBER
The users specifies the number of bins. |
static int |
BYWIDTH
The user specifies the width of a bin. |
Constructor Summary | |
---|---|
NFHistogramBin()
Constructs a default histogram bin object with bin type set to AUTO and bin size set to 3. |
|
NFHistogramBin(int binType,
int binSize)
Constructs a histogram bin object with the given bin type and bin size. |
Method Summary | |
---|---|
int |
getBinSize()
Gets the current histogram bin size. |
int |
getBinType()
Gets the current histogram bin type. |
java.lang.String |
getCDL()
Generate CDL parameters representing this histogram bin |
void |
getCDL(java.lang.StringBuffer sb)
Append CDL parameters representing this histogram bin to the given StringBuffer. |
void |
setBinSize(int binSize)
Sets the histogram bin size |
void |
setBinSize(java.lang.Integer binSize)
Sets the histogram bin size |
void |
setBinType(int binType)
Sets the histogram bin type |
void |
setCDL(java.lang.Object cdlObject)
Configures this histogram bin object from a CDL parameter object. |
void |
setCDL(java.lang.String cdl)
Configures this histogram bin object from a CDL parameter string representation. |
int |
setCDL(java.lang.String[] elements,
int offset)
Configures this histogram bin object from a CDL parameter string representation. |
java.lang.String |
toString()
Returns a string representing this histogram bin. |
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 AUTO
public static final int BYNUMBER
public static final int BYWIDTH
public static java.util.Hashtable binTypeMap
Constructor Detail |
---|
public NFHistogramBin()
public NFHistogramBin(int binType, int binSize)
binType
- type of bin either AUTO, BYNUMBER, BYWIDTH
binSize
- size of the binMethod Detail |
---|
public void setBinType(int binType)
binType
- type of bin either AUTO, BYNUMBER, BYWIDTH
public int getBinType()
public void setBinSize(int binSize)
binSize
- size of binpublic void setBinSize(java.lang.Integer binSize)
binSize
- size of binpublic int getBinSize()
public java.lang.String getCDL()
getCDL
in interface NFCDLGenerator
(binType, binSize)
public void getCDL(java.lang.StringBuffer sb)
sb
- target buffer to append the CDL parameterspublic java.lang.String toString()
toString
in interface NFCDLGenerator
toString
in class java.lang.Object
(binType, binSize)
public void setCDL(java.lang.Object cdlObject)
cdlObject
- CDL in string form or in a user object.public void setCDL(java.lang.String cdl)
setCDL
in interface NFCDLGenerator
cdl
- CDL in string form: (binType, binSize)
public int setCDL(java.lang.String[] elements, int offset)
elements
- array of parameter elements containing consecutive elements
histogram bin type and histogram bin sizeoffset
- 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 - 2011 |
Last Modified: Jun 28, 2011 |