|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.droplets.api.PlotComponent | +--com.droplets.api.BarPlot
Constructor Summary | |
BarPlot(IGraph g)
Creates a new BarPlot . |
|
BarPlot(Window window)
Creates a new BarPlot . |
Method Summary | |
boolean |
getAutoBarWidth()
Gets whether the bar width is automatic or set with setBarWidth |
Color |
getBarColor()
Get the color of the bars |
int |
getBarWidth()
Get the width of the bars in pixels |
Color |
getOutlineColor()
Get the color of the outline of the bars |
void |
setAutoBarWidth(boolean value)
Sets whether the bar width is automatic or set with setBarWidth |
void |
setBarColor(Color c)
Set the color of the bars |
void |
setBarColor(Color c,
java.lang.String skinName)
Set the color of the bars |
void |
setBarWidth(int width)
Set the width of the bars in pixels |
void |
setBarWidth(int width,
java.lang.String skinName)
Set the width of the bars in pixels |
void |
setOutlineColor(Color c)
Set the color of the outline of the bars |
void |
setOutlineColor(Color c,
java.lang.String skinName)
Set the color of the outline of the bars |
Methods inherited from class com.droplets.api.PlotComponent |
addDataPoint, addPlotChangeListener, changeDataPoint, getAutoMinMaxX, getAutoMinMaxY, getHintTemplate, getIsEditable, getLegendText, getProxy, notifyPlotChangeListener, removeAllDataPoints, removePlotChangeListener, setAutoMinMaxX, setAutoMinMaxY, setHintTemplate, setIsEditable, setLegendText, setMaxX, setMaxY, setMinX, setMinY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BarPlot(IGraph g)
BarPlot
.g
- the graph in which this component will be placedpublic BarPlot(Window window)
BarPlot
.window
- the window in which this component will be placedMethod Detail |
public Color getBarColor()
public void setBarColor(Color c, java.lang.String skinName)
c
- the color of the bars in the graphskinName
- the skin name for this settingpublic void setBarColor(Color c)
c
- the color of the bars in the graphpublic Color getOutlineColor()
public void setOutlineColor(Color c, java.lang.String skinName)
c
- the color of the outline of the bars in the graphskinName
- the skin name for this settingpublic void setOutlineColor(Color c)
c
- the color of the outline of the barspublic int getBarWidth()
public void setBarWidth(int width, java.lang.String skinName)
width
- the width of the bars in pixelsskinName
- the skin name for this settingpublic void setBarWidth(int width)
c
- the color of the outline of the barssetAutoBarWidth(boolean)
public boolean getAutoBarWidth()
setBarWidth(int)
public void setAutoBarWidth(boolean value)
auto
- true if the bar width should automatically be determined from the data
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |