org.nakedobjects.plugins.dnd.viewer.debug
Class DebugCanvasAbsolute
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.debug.DebugCanvasAbsolute
- All Implemented Interfaces:
- Canvas
public class DebugCanvasAbsolute
- extends java.lang.Object
- implements 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)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DebugCanvasAbsolute
public DebugCanvasAbsolute(DebugString buffer,
Bounds bounds)
clearBackground
public void clearBackground(View view,
Color color)
- Specified by:
clearBackground in interface Canvas
createSubcanvas
public Canvas createSubcanvas()
- Specified by:
createSubcanvas in interface Canvas
createSubcanvas
public Canvas createSubcanvas(Bounds bounds)
- Specified by:
createSubcanvas in interface Canvas
createSubcanvas
public Canvas createSubcanvas(int x,
int y,
int width,
int height)
- Specified by:
createSubcanvas in interface Canvas
draw3DRectangle
public void draw3DRectangle(int x,
int y,
int width,
int height,
Color color,
boolean raised)
- Specified by:
draw3DRectangle in interface Canvas
drawImage
public void drawImage(Image image,
int x,
int y)
- Specified by:
drawImage in interface Canvas
drawImage
public void drawImage(Image image,
int x,
int y,
int width,
int height)
- Specified by:
drawImage in interface Canvas
drawLine
public void drawLine(int x,
int y,
int x2,
int y2,
Color color)
- Specified by:
drawLine in interface Canvas
drawLine
public void drawLine(Location start,
int xExtent,
int yExtent,
Color color)
- Specified by:
drawLine in interface Canvas
drawOval
public void drawOval(int x,
int y,
int width,
int height,
Color color)
- Specified by:
drawOval in interface Canvas
drawRectangle
public void drawRectangle(int x,
int y,
int width,
int height,
Color color)
- Specified by:
drawRectangle in interface Canvas
drawRectangleAround
public void drawRectangleAround(View view,
Color color)
- Specified by:
drawRectangleAround in interface Canvas
drawRoundedRectangle
public void drawRoundedRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
Color color)
- Specified by:
drawRoundedRectangle in interface Canvas
drawShape
public void drawShape(Shape shape,
Color color)
- Specified by:
drawShape in interface Canvas
drawShape
public void drawShape(Shape shape,
int x,
int y,
Color color)
- Specified by:
drawShape in interface Canvas
drawSolidOval
public void drawSolidOval(int x,
int y,
int width,
int height,
Color color)
- Specified by:
drawSolidOval in interface Canvas
drawSolidRectangle
public void drawSolidRectangle(int x,
int y,
int width,
int height,
Color color)
- Specified by:
drawSolidRectangle in interface Canvas
drawSolidShape
public void drawSolidShape(Shape shape,
Color color)
- Specified by:
drawSolidShape in interface Canvas
drawSolidShape
public void drawSolidShape(Shape shape,
int x,
int y,
Color color)
- Specified by:
drawSolidShape in interface Canvas
drawText
public void drawText(java.lang.String text,
int x,
int y,
Color color,
Text style)
- Specified by:
drawText in interface Canvas
drawText
public void drawText(java.lang.String text,
int x,
int y,
int maxWidth,
Color color,
Text style)
- Specified by:
drawText in interface Canvas
offset
public void offset(int x,
int y)
- Specified by:
offset in interface Canvas
overlaps
public boolean overlaps(Bounds bounds)
- Specified by:
overlaps in interface Canvas
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
drawDebugOutline
public void drawDebugOutline(Bounds bounds,
int baseline,
Color color)
- Specified by:
drawDebugOutline in interface Canvas
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.