|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pietschy.command.RenderManager
public class RenderManager
The RenderManager provides a simple static method that can be used to configure the specified
button using the current FaceRenderer
.
Constructor Summary | |
---|---|
RenderManager()
|
Method Summary | |
---|---|
static FaceRenderer |
getRenderer()
Gets the currently installed FaceRenderer . |
static void |
renderButton(javax.swing.AbstractButton button)
Renders the specified button using the currently configured FaceRenderer . |
static void |
setRenderer(FaceRenderer renderer)
Sets the FaceRenderer to use when configuring buttons and menus. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenderManager()
Method Detail |
---|
public static FaceRenderer getRenderer()
FaceRenderer
.
FaceRenderer
.public static void setRenderer(FaceRenderer renderer)
FaceRenderer
to use when configuring buttons and menus.
renderer
- the FaceRenderer
to use.public static void renderButton(javax.swing.AbstractButton button)
FaceRenderer
. The button
must be attached to a Command
instance.
button
- the button to configure.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |