org.pietschy.command
Interface FaceRenderer

All Known Implementing Classes:
DefaultFaceRenderer, MacFaceRenderer

public interface FaceRenderer

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


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

Method Detail

configureButton

void configureButton(javax.swing.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

void configureMenu(javax.swing.JMenuItem menu,
                   RenderContext menuContext)
Configures the specified button using the specified RenderContext.

Parameters:
menu - the menu to configure.
menuContext - the RenderContext of the menu.