org.pietschy.command
Interface FaceRenderer
- DefaultFaceRenderer, MacFaceRenderer
public interface FaceRenderer
FaceRenderers are used by the libarary to configure buttons and menus.
configureButton
public void configureButton(AbstractButton button,
RenderContext buttonContext)
Configures the specified button using the specified
RenderContext
.
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
.
menu
- the menu to configure.menuContext
- the RenderContext
of the menu.