org.pietschy.command

Class RenderManager


public class RenderManager
extends java.lang.Object

The RenderManager provides a simple static method that can be used to configure the specified button using the current FaceRenderer.
Version:
$Revision: 1.3 $
Author:
andrewp

Method Summary

static FaceRenderer
getRenderer()
Gets the currently installed FaceRenderer.
static void
renderButton(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.

Method Details

getRenderer

public static FaceRenderer getRenderer()
Gets the currently installed FaceRenderer.
Returns:
the currently installed FaceRenderer.

renderButton

public static void renderButton(AbstractButton button)
Parameters:
button - the button to configure.

setRenderer

public static void setRenderer(FaceRenderer renderer)
Sets the FaceRenderer to use when configuring buttons and menus.
Parameters:
renderer - the FaceRenderer to use.