|
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.dial.NFDialOuterBorder
public class NFDialOuterBorder
The NFDialOuterBorder class describes the appearance of the dial outer border.
| Field Summary | |
|---|---|
static double |
DEFAULT_WIDTH
Default for the border width value if not specified. |
| Constructor Summary | |
|---|---|
NFDialOuterBorder()
Constructs a default dial outer border object |
|
NFDialOuterBorder(java.awt.Color color1,
java.awt.Color color2)
Constructs a dial outer border object with the specified border colors |
|
NFDialOuterBorder(java.awt.Color color1,
java.awt.Color color2,
double width)
Constructs a dial outer border object with the specified border colors and border width |
|
NFDialOuterBorder(double width)
Constructs a dial outer border object with the specified border width |
|
| Method Summary | |
|---|---|
java.lang.String |
getCDL()
Generate CDL parameters representing the dial outer border |
void |
getCDL(java.lang.StringBuffer sb,
boolean includeParens)
Append CDL parameters representing the dial outer border to the given StringBuffer. |
java.awt.Color |
getColor1()
Returns the first color for the border |
java.awt.Color |
getColor2()
Returns the second color for the border |
double |
getWidth()
Returns the border width (percentage or number of pixels). |
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 |
setColor1(java.awt.Color color1)
Sets the first color for the border |
void |
setColor2(java.awt.Color color2)
Sets the second color for the border |
void |
setWidth(double width)
Sets the border width. |
java.lang.String |
toString()
Returns a String object representing the dial outer border |
| 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 double DEFAULT_WIDTH
| Constructor Detail |
|---|
public NFDialOuterBorder()
public NFDialOuterBorder(java.awt.Color color1,
java.awt.Color color2)
public NFDialOuterBorder(java.awt.Color color1,
java.awt.Color color2,
double width)
public NFDialOuterBorder(double width)
| Method Detail |
|---|
public void setColor1(java.awt.Color color1)
color1 - first border colorpublic java.awt.Color getColor1()
public void setColor2(java.awt.Color color2)
color2 - second border colorpublic java.awt.Color getColor2()
public void setWidth(double width)
DEFAULT_WIDTH is used.
width - border widthpublic double getWidth()
DEFAULT_WIDTH if not setpublic java.lang.String getCDL()
getCDL in interface NFCDLGenerator(color1, color2, width)
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 java.lang.String toString()
toString in interface NFCDLGeneratortoString in class java.lang.Objectpublic void setCDL(java.lang.String cdl)
setCDL in interface NFCDLGeneratorcdl - CDL in the form:
(color1, color2, width)
public int setCDL(java.lang.String[] elements,
int offset)
elements - Array of parameter elements. This array is expected
to contain consecutive elements containing
color1, color2, and width.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 |