org.pietschy.command

Interface FaceRenderer

Known Implementing Classes:
DefaultFaceRenderer, MacFaceRenderer

public interface FaceRenderer

FaceRenderers are used by the libarary to configure buttons and menus.

Method Summary

void
configureButton(AbstractButton button, RenderContext buttonContext)
Configures the specified button using the specified RenderContext.
void
configureMenu(JMenuItem menu, RenderContext menuContext)
Configures the specified button using the specified RenderContext.

Method Details

configureButton

public void configureButton(AbstractButton button,
                            RenderContext buttonContext)
Configures the specified button using the specified RenderContext.
Parameters:
button - the button to configure.
buttonContext - the RenderContext of the button.

configureMenu

public void configureMenu(JMenuItem menu,
                          RenderContext menuContext)
Configures the specified button using the specified RenderContext.
Parameters:
menu - the menu to configure.
menuContext - the RenderContext of the menu.