|
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.rectangular.NFAxisMargin
public class NFAxisMargin
The NFAxisMargin object specifies a padding to add before and after the plot area of a graph.
Constructor Summary | |
---|---|
NFAxisMargin()
Constructs a default margin. |
|
NFAxisMargin(int beginMargin,
int endMargin)
Constructs a margin using the supplied margins. |
Method Summary | |
---|---|
int |
getBeginMargin()
Gets the beginning margin. |
java.lang.String |
getCDL()
Generate CDL parameters representing this margin. |
void |
getCDL(java.lang.StringBuffer sb,
boolean includeParens)
Append CDL parameters representing this margin to the given StringBuffer. |
int |
getEndMargin()
Gets the ending margin. |
void |
setBeginMargin(int beginMargin)
Sets the beginning margin. |
void |
setCDL(java.lang.String cdl)
Configures this margin from a CDL parameter representation. |
int |
setCDL(java.lang.String[] elements,
int offset)
Configures this object from a CDL parameter representation. |
void |
setEndMargin(int endMargin)
Sets the ending margin. |
java.lang.String |
toString()
Returns a new String object representing this margin. |
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 NFAxisMargin()
public NFAxisMargin(int beginMargin, int endMargin)
beginMargin
- Value representing the amount of padding to include
preceding the plot area.endMargin
- Value representing the amount of padding to include
after the plot area.Method Detail |
---|
public void setBeginMargin(int beginMargin)
beginMargin
- Value representing the amount of padding to include
preceding the plot area.public int getBeginMargin()
public void setEndMargin(int endMargin)
endMargin
- Value representing the amount of padding to include
after the plot area.public int getEndMargin()
public java.lang.String toString()
toString
in interface NFCDLGenerator
toString
in class java.lang.Object
public java.lang.String getCDL()
getCDL
in interface NFCDLGenerator
(beginMargin,endMargin)
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 NFCDLGenerator
cdl
- CDL in the form: (beginMargin,endMargin)
public int setCDL(java.lang.String[] elements, int offset)
elements
- Array of parameter elements. This array is expected
to contain consecutive elements containing the beginning margin and
ending margin 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 - 2011 |
Last Modified: Jun 28, 2011 |