org.nakedobjects.viewer.lightweight
Class DebugCanvas
java.lang.Object
org.nakedobjects.viewer.lightweight.Canvas
org.nakedobjects.viewer.lightweight.DebugCanvas
- public class DebugCanvas
- extends Canvas
Constructor Summary |
DebugCanvas(java.lang.StringBuffer buffer)
|
Method Summary |
void |
clearBackground(Color color)
|
Canvas |
createSubcanvas(int x,
int y,
int width,
int height)
|
void |
draw3DRectangle(int x,
int y,
int width,
int height,
boolean raised)
|
void |
drawFullOval(int x,
int y,
int width,
int height,
Color color)
|
void |
drawFullRectangle(Bounds bounds,
Color color)
|
void |
drawFullRectangle(int x,
int y,
int width,
int height,
Color color)
|
void |
drawFullRectangle(Location at,
Size size,
Color color)
|
void |
drawIcon(Icon icon,
int x,
int y)
|
void |
drawIcon(Icon icon,
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 |
drawRectangle(Bounds bounds,
Color color)
|
void |
drawRectangle(int x,
int y,
int width,
int height,
Color color)
|
void |
drawRectangle(Location at,
Size size,
Color color)
|
void |
drawRectangle(Size size,
Color color)
|
void |
drawRoundedRectangle(Bounds bounds,
int arcWidth,
int arcHeight,
Color color)
|
void |
drawRoundedRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
Color color)
|
void |
drawSolidShape(Shape shape,
int x,
int y,
Color color)
|
void |
drawText(java.lang.String text,
int x,
int y,
Color color,
Style.Text style)
|
Methods inherited from class org.nakedobjects.viewer.lightweight.Canvas |
intersects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugCanvas
public DebugCanvas(java.lang.StringBuffer buffer)
clearBackground
public void clearBackground(Color color)
- Overrides:
clearBackground
in class Canvas
createSubcanvas
public Canvas createSubcanvas(int x,
int y,
int width,
int height)
- Overrides:
createSubcanvas
in class Canvas
draw3DRectangle
public void draw3DRectangle(int x,
int y,
int width,
int height,
boolean raised)
- Overrides:
draw3DRectangle
in class Canvas
drawFullOval
public void drawFullOval(int x,
int y,
int width,
int height,
Color color)
- Overrides:
drawFullOval
in class Canvas
drawFullRectangle
public void drawFullRectangle(int x,
int y,
int width,
int height,
Color color)
- Overrides:
drawFullRectangle
in class Canvas
drawFullRectangle
public void drawFullRectangle(Bounds bounds,
Color color)
- Overrides:
drawFullRectangle
in class Canvas
drawFullRectangle
public void drawFullRectangle(Location at,
Size size,
Color color)
- Overrides:
drawFullRectangle
in class Canvas
drawIcon
public void drawIcon(Icon icon,
int x,
int y)
- Overrides:
drawIcon
in class Canvas
drawIcon
public void drawIcon(Icon icon,
int x,
int y,
int width,
int height)
- Overrides:
drawIcon
in class Canvas
drawLine
public void drawLine(int x,
int y,
int x2,
int y2,
Color color)
- Overrides:
drawLine
in class Canvas
drawLine
public void drawLine(Location start,
int xExtent,
int yExtent,
Color color)
- Overrides:
drawLine
in class Canvas
drawRectangle
public void drawRectangle(int x,
int y,
int width,
int height,
Color color)
- Overrides:
drawRectangle
in class Canvas
drawRectangle
public void drawRectangle(Bounds bounds,
Color color)
- Overrides:
drawRectangle
in class Canvas
drawRectangle
public void drawRectangle(Location at,
Size size,
Color color)
- Overrides:
drawRectangle
in class Canvas
drawRectangle
public void drawRectangle(Size size,
Color color)
- Overrides:
drawRectangle
in class Canvas
drawRoundedRectangle
public void drawRoundedRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
Color color)
- Overrides:
drawRoundedRectangle
in class Canvas
drawRoundedRectangle
public void drawRoundedRectangle(Bounds bounds,
int arcWidth,
int arcHeight,
Color color)
- Overrides:
drawRoundedRectangle
in class Canvas
drawText
public void drawText(java.lang.String text,
int x,
int y,
Color color,
Style.Text style)
- Overrides:
drawText
in class Canvas
drawSolidShape
public void drawSolidShape(Shape shape,
int x,
int y,
Color color)
- Overrides:
drawSolidShape
in class Canvas