org.nakedobjects.plugins.dnd
Interface Canvas
- All Known Implementing Classes:
- AwtCanvas, DebugCanvas, DebugCanvasAbsolute
public interface Canvas
|
Method Summary |
void |
clearBackground(View view,
Color color)
|
Canvas |
createSubcanvas()
|
Canvas |
createSubcanvas(Bounds bounds)
|
Canvas |
createSubcanvas(int x,
int y,
int width,
int height)
|
void |
draw3DRectangle(int x,
int y,
int width,
int height,
Color color,
boolean raised)
|
void |
drawDebugOutline(Bounds bounds,
int baseline,
Color color)
|
void |
drawImage(Image image,
int x,
int y)
|
void |
drawImage(Image image,
int x,
int y,
int width,
int height)
|
void |
drawLine(int x,
int y,
int x2,
int y2,
Color color)
|
void |
drawLine(Location start,
int xExtent,
int yExtent,
Color color)
|
void |
drawOval(int x,
int y,
int width,
int height,
Color color)
|
void |
drawRectangle(int x,
int y,
int width,
int height,
Color color)
|
void |
drawRectangleAround(View view,
Color color)
|
void |
drawRoundedRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
Color color)
|
void |
drawShape(Shape shape,
Color color)
|
void |
drawShape(Shape shape,
int x,
int y,
Color color)
|
void |
drawSolidOval(int x,
int y,
int width,
int height,
Color color)
|
void |
drawSolidRectangle(int x,
int y,
int width,
int height,
Color color)
|
void |
drawSolidShape(Shape shape,
Color color)
|
void |
drawSolidShape(Shape shape,
int x,
int y,
Color color)
|
void |
drawText(java.lang.String text,
int x,
int y,
Color color,
Text style)
|
void |
drawText(java.lang.String text,
int x,
int y,
int maxWidth,
Color color,
Text style)
|
void |
offset(int x,
int y)
|
boolean |
overlaps(Bounds bounds)
|
clearBackground
void clearBackground(View view,
Color color)
createSubcanvas
Canvas createSubcanvas()
createSubcanvas
Canvas createSubcanvas(Bounds bounds)
createSubcanvas
Canvas createSubcanvas(int x,
int y,
int width,
int height)
draw3DRectangle
void draw3DRectangle(int x,
int y,
int width,
int height,
Color color,
boolean raised)
drawDebugOutline
void drawDebugOutline(Bounds bounds,
int baseline,
Color color)
drawImage
void drawImage(Image image,
int x,
int y)
drawImage
void drawImage(Image image,
int x,
int y,
int width,
int height)
drawLine
void drawLine(int x,
int y,
int x2,
int y2,
Color color)
drawLine
void drawLine(Location start,
int xExtent,
int yExtent,
Color color)
drawOval
void drawOval(int x,
int y,
int width,
int height,
Color color)
drawRectangle
void drawRectangle(int x,
int y,
int width,
int height,
Color color)
drawRectangleAround
void drawRectangleAround(View view,
Color color)
drawRoundedRectangle
void drawRoundedRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
Color color)
drawShape
void drawShape(Shape shape,
Color color)
drawShape
void drawShape(Shape shape,
int x,
int y,
Color color)
drawSolidOval
void drawSolidOval(int x,
int y,
int width,
int height,
Color color)
drawSolidRectangle
void drawSolidRectangle(int x,
int y,
int width,
int height,
Color color)
drawSolidShape
void drawSolidShape(Shape shape,
Color color)
drawSolidShape
void drawSolidShape(Shape shape,
int x,
int y,
Color color)
drawText
void drawText(java.lang.String text,
int x,
int y,
Color color,
Text style)
drawText
void drawText(java.lang.String text,
int x,
int y,
int maxWidth,
Color color,
Text style)
offset
void offset(int x,
int y)
overlaps
boolean overlaps(Bounds bounds)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.