|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.gui.renderer.DefaultComponentRenderable
public class DefaultComponentRenderable
The default component renderer.
| Constructor Summary | |
|---|---|
DefaultComponentRenderable(java.awt.Component component)
|
|
| Method Summary | |
|---|---|
void |
finishRendering()
Will be invoked directly after rendering and gives the object the chance to perform some clean-up. |
int |
getRenderHeight(int preferredHeight)
This method return the pixel height the rendering needs |
int |
getRenderWidth(int preferredWidth)
This method returns the pixel width the rendering needs |
void |
prepareRendering()
Will be invoked before rendering and even before render width and height retrieval. |
void |
render(java.awt.Graphics graphics,
int width,
int height)
This method paints the visual representation onto the given graphics |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultComponentRenderable(java.awt.Component component)
| Method Detail |
|---|
public int getRenderHeight(int preferredHeight)
Renderable
getRenderHeight in interface RenderablepreferredHeight - tells the renderable of the size it should deliver best
public int getRenderWidth(int preferredWidth)
Renderable
getRenderWidth in interface RenderablepreferredWidth - tells the renderable of the size it should deliver best
public void prepareRendering()
Renderable
prepareRendering in interface Renderablepublic void finishRendering()
Renderable
finishRendering in interface Renderable
public void render(java.awt.Graphics graphics,
int width,
int height)
Renderable
render in interface Renderablegraphics - the graphics to render onto
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||