|
||||||||||
| 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.FillStyle
public class FillStyle
This object carries information on how to fill a specific graph
| Nested Class Summary | |
|---|---|
static class |
FillStyle.Fill
Define the fill styles |
| Field Summary |
|---|
| Fields inherited from class com.panayotis.gnuplot.PropertiesHolder |
|---|
NL |
| Constructor Summary | |
|---|---|
FillStyle()
Create a new fill style object with default style |
|
FillStyle(FillStyle.Fill style)
Create a new fill style object with a specific fill style |
|
| Method Summary | |
|---|---|
void |
appendProperties(java.lang.StringBuffer buf)
Retrieve information for this style. |
void |
removeBorder()
Remove the border of this graph |
void |
setBorder(int type)
Set the border type |
void |
setDensity(float density)
Set the density of this fill style |
void |
setPattern(int pattern)
Set the fill pattern |
void |
setStyle(FillStyle.Fill style)
Set the fill style |
| 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 FillStyle()
public FillStyle(FillStyle.Fill style)
style - The style to use
If it is null, then this graph will not be filled.| Method Detail |
|---|
public void setBorder(int type)
type - An integer describing how the border will look like.
This parameter is terminal specificpublic void removeBorder()
public void setDensity(float density)
density - A number between 0 and 1public void setPattern(int pattern)
pattern - An integer describing the fill pattern.
This parameter is terminal specificpublic void setStyle(FillStyle.Fill style)
style - The style to use.
If it is null, then this graph will not be filled.public void appendProperties(java.lang.StringBuffer buf)
appendProperties in class PropertiesHolderbuf - The String buffer to store information about this style
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||