|
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.NFRegion
netcharts.pro.common.rectangular.NFGridBackground
public class NFGridBackground
This object is used to define a grid's background color or image properties. It extends NFRegion although Grid's ignore border type and width attributes.
| Field Summary |
|---|
| Fields inherited from class netcharts.pro.common.NFRegion |
|---|
borderTypeMap, BOX, CENTER, CORNER_ROUND, CORNER_SNIP, CORNER_SQUARE, cornerTypeMap, imageLayoutMap, NONE, RAISED, RECESS, SHADOW, SIZE, TILE |
| Constructor Summary | |
|---|---|
NFGridBackground()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCDL()
Generate CDL parameters representing this region |
void |
getCDL(java.lang.StringBuffer sb,
boolean includeParens)
Append CDL parameters representing this grid background to the given StringBuffer. |
java.awt.Color |
getLineColor()
Return the line color |
java.util.Vector |
getObjects()
Returns object vector of region elements |
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 |
setCDL(java.lang.String[] elements,
int offset)
Configures this object from a CDL parameter representation. |
void |
setLineColor(java.awt.Color color)
Set the line color |
java.lang.String |
toString()
Returns a new String object representing this grid background. |
| 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 NFGridBackground()
| Method Detail |
|---|
public void setLineColor(java.awt.Color color)
color - Color objectpublic java.awt.Color getLineColor()
public void setCDL(java.lang.Object cdlObject)
setCDL in class NFRegioncdlObject - CDL in a String form or in a user object.public void setCDL(java.lang.String cdl)
setCDL in interface NFCDLGeneratorsetCDL in class NFRegioncdl - CDL in the form: (lineColor, fillColor, borderColor, "imageURL", imageFormat)
public void setCDL(java.lang.String[] elements,
int offset)
setCDL in class NFRegionelements - Array of parameter elements. This array is expected
to contain consecutive elements containing lineColor, fillColor, borderColor,
imageURL, and imageFormat information.offset - Offset into the elements array.public java.lang.String toString()
toString in interface NFCDLGeneratortoString in class NFRegionpublic java.lang.String getCDL()
getCDL in interface NFCDLGeneratorgetCDL in class NFRegion(lineColor, fillColor, borderColor, "imageURL", imageFormat)
public void getCDL(java.lang.StringBuffer sb,
boolean includeParens)
getCDL in class NFRegionsb - Target buffer to append the CDL parametersincludeParens - If true, this will cause the parameters to be delimited
with parenthesis.public java.util.Vector getObjects()
NFRegion
getObjects in class NFRegion
|
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 |