|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
java.awt.Image |
createImage(int width,
int height)
|
java.awt.Rectangle |
getCanvasBounds()
Get the bounds of the canvas in pixels. |
java.awt.Insets |
getContainerInsets()
|
java.awt.Graphics |
getGraphics()
|
java.awt.Dimension |
getMinimumSize()
Returns the minimum size of this canvas. |
int |
getMouseAppearance()
Returns the appearance of the mouse cursor in this canvas. |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of this canvas. |
boolean |
handleEvent(java.awt.Event evt)
Process the awt.event as per the awt.Component API. |
void |
paint(java.awt.Graphics g)
Causes the canvas to be redrawn as per the awt.Component API. |
void |
requestRepaint()
|
void |
setBounds(int x,
int y,
int width,
int height)
Causes the canvas to be reshaped as per the awt.Component API. |
void |
setCanvas(MiCanvas canvas)
|
void |
setCanvasBounds(MiBounds deviceBounds)
Sets the bounds of the canvas, in pixels. |
void |
setMouseAppearance(int appearance)
Sets the appearance of the mouse cursor within the bounds of this canvas. |
void |
update(java.awt.Graphics g)
Causes the canvas to be redrawn as per the awt.Component API. |
| Method Detail |
public void setCanvas(MiCanvas canvas)
public void setMouseAppearance(int appearance)
appearance - the cursor appearancepublic int getMouseAppearance()
MiAnimationManagerpublic void setCanvasBounds(MiBounds deviceBounds)
deviceBounds - the bounds of this canvaspublic java.awt.Rectangle getCanvasBounds()
public java.awt.Dimension getPreferredSize()
public java.awt.Dimension getMinimumSize()
public boolean handleEvent(java.awt.Event evt)
evt - the awt.Event eventpublic void update(java.awt.Graphics g)
g - the awt.graphics rendererpublic void paint(java.awt.Graphics g)
g - the awt.graphics rendererpublic void requestRepaint()
public void setBounds(int x,
int y,
int width,
int height)
x - the x coordinatey - the y coordinatewidth - the widthheight - the heightpublic java.awt.Insets getContainerInsets()
public java.awt.Graphics getGraphics()
public java.awt.Image createImage(int width,
int height)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||