|
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.NFLine
netcharts.pro.common.rectangular.NFGridLine
public class NFGridLine
This object is used to define a grid's line style. Note that a chart can support multiple grids.
| Field Summary | |
|---|---|
static int |
BAR
Bar line |
static int |
BOTH
Vertical and horizontal lines layout |
static int |
HORIZONTAL
Horizontal lines only layout |
static java.util.Hashtable |
lineLayoutMap
lineLayoutMap hashtable |
static int |
NONE
No grid lines layout |
static int |
VERTICAL
Vertical lines only layout |
| Fields inherited from class netcharts.pro.common.NFLine |
|---|
DASHED, DOTDASH, DOTTED, lineTypeMap, SOLID |
| Constructor Summary | |
|---|---|
NFGridLine()
Constructs a default grid line |
|
NFGridLine(int style,
int thickness,
java.awt.Color color,
int layout)
Constructs a grid line with the given line color, type, layout, and width. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCDL()
Generate CDL parameters representing this line. |
int |
getLayout()
Get the layout style for this grid line. |
void |
setCDL(java.lang.Object cdlObject)
Configures this object from a CDL parameter object. |
void |
setCDL(java.lang.String cdl)
Configures this object from a CDL parameter representation. |
void |
setLayout(int layout)
Set the layout style for this grid line. |
java.lang.String |
toString()
Returns a new String object representing this grid line. |
| Methods inherited from class netcharts.pro.common.NFLine |
|---|
getCDL, getColor, getStyle, getThickness, setCDL, setColor, setStyle, setThickness |
| 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 BAR
public static final int NONE
public static final int VERTICAL
public static final int HORIZONTAL
public static final int BOTH
public static java.util.Hashtable lineLayoutMap
| Constructor Detail |
|---|
public NFGridLine()
public NFGridLine(int style,
int thickness,
java.awt.Color color,
int layout)
style - One of NONE, SOLID, DOTTED, DASHED, DOTDASH, BAR.thickness - Line thickness (in pixels)color - Line colorlayout - One of NONE, HORIZONTAL, VERTICAL, BOTH| Method Detail |
|---|
public void setLayout(int layout)
If the value passed is not a valid layout type an IllegalArgumentException will be thrown.
layout - One of HORIZONTAL, VERTICAL, BOTH, NONEpublic int getLayout()
HORIZONTAL, VERTICAL, BOTH, NONEpublic java.lang.String getCDL()
getCDL in interface NFCDLGeneratorgetCDL in class NFLine(layout, style, thickness)public java.lang.String toString()
toString in interface NFCDLGeneratortoString in class NFLinepublic void setCDL(java.lang.Object cdlObject)
setCDL in class NFLinecdlObject - CDL in a String form or in a user object.public void setCDL(java.lang.String cdl)
setCDL in interface NFCDLGeneratorsetCDL in class NFLinecdl - CDL in the form: (layout, style, thickness)
|
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 |