org.pietschy.command
Class DefaultFaceRenderer
java.lang.Object
org.pietschy.command.DefaultFaceRenderer
- FaceRenderer
public class DefaultFaceRenderer
extends java.lang.Object
The DefaultFaceRender provides the base methods for configuring buttons and
menus as well as a standard implementation that is suitable for most platforms.
configureAccelerator
protected void configureAccelerator(JMenuItem menu,
Face face)
Safely sets the accelerator for the specified menu.
configureIcons
protected void configureIcons(AbstractButton button,
Face face)
configureMnemonic
protected void configureMnemonic(AbstractButton button,
Face face)
configureText
protected void configureText(AbstractButton button,
Face face)
Configures the text attributes of the button.
button
- the button to configureMenu.face
-
configureTextPosition
protected void configureTextPosition(AbstractButton button,
Face face)
configureToolTip
protected void configureToolTip(AbstractButton button,
Face face)
setDefaultGroupIcon
public static void setDefaultGroupIcon(DownArrowIcon defaultGroupIcon)