|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCanvas
org.jfree.experimental.swt.SWTPaintCanvas
public class SWTPaintCanvas
A paint canvas.
| Constructor Summary | |
|---|---|
SWTPaintCanvas(Composite parent,
int style)
Creates a new instance. |
|
SWTPaintCanvas(Composite parent,
int style,
Color color)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
dispose()
Frees resources. |
Color |
getColor()
Returns the color. |
void |
setBackground(Color c)
Overridden to do nothing. |
void |
setColor(Color color)
Sets the color. |
void |
setForeground(Color c)
Overridden to do nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SWTPaintCanvas(Composite parent,
int style,
Color color)
parent - the parent.style - the style.color - the color.
public SWTPaintCanvas(Composite parent,
int style)
parent - the parent.style - the style.| Method Detail |
|---|
public void setColor(Color color)
color - the color.public Color getColor()
public void setBackground(Color c)
c - the color.public void setForeground(Color c)
c - the color.public void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||