|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.String>
com.panayotis.gnuplot.PropertiesHolder
com.panayotis.gnuplot.style.PlotStyle
public class PlotStyle
This object represents the styles which can be used in gnuplot to personalize each prot
| Field Summary |
|---|
| Fields inherited from class com.panayotis.gnuplot.PropertiesHolder |
|---|
NL |
| Constructor Summary | |
|---|---|
PlotStyle()
Creates a new instance of PlotStyle with default parameters |
|
PlotStyle(Style style)
Creates a new instance of PlotStyle with a specified style |
|
| Method Summary | |
|---|---|
void |
appendProperties(java.lang.StringBuffer buf)
Gather the properties of this style. |
void |
setFill(FillStyle fillstyle)
Set the fill style of this graph. |
void |
setLineType(int type)
Set the line type of this graph. |
void |
setLineType(PlotColor col)
Set the line type of this graph to be a specific color. |
void |
setLineWidth(int width)
Set the line width of this graph |
void |
setPointSize(int width)
Set the point size of this graph |
void |
setPointType(int type)
Set the point type of this graph. |
void |
setStyle(Style style)
Set the current style to the given one |
| Methods inherited from class com.panayotis.gnuplot.PropertiesHolder |
|---|
set, set, unset |
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public PlotStyle()
public PlotStyle(Style style)
style - The style to use| Method Detail |
|---|
public void setStyle(Style style)
style - the style to usepublic void appendProperties(java.lang.StringBuffer buf)
appendProperties in class PropertiesHolderbuf - The Srting buffer to store this object's properties.public void setLineWidth(int width)
width - The line width. If this number is less than zero, then the
default parameter will be usedpublic void setPointSize(int width)
width - The point size. If this number is less than zero, then the
default parameter will be usedpublic void setLineType(int type)
type - The line type. If this number is less than zero, then the
default parameter will be usedpublic void setLineType(PlotColor col)
col - The color to use. If this parameter is null, then the default
parameter will be used.public void setPointType(int type)
type - The point type. If this number is less than zero, then the
default parameter will be usedpublic void setFill(FillStyle fillstyle)
fillstyle - The fill style to use. If this parameter is null, then the default
parameter will be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||