Package org.wikipediacleaner.utils.ConfigurationValueShortcut

Examples of org.wikipediacleaner.utils.ConfigurationValueShortcut.ShortcutProperties


  public static JButton createJButton(
      String message,
      ConfigurationValueShortcut shortcut) {
    String label = getLabelWithoutMnemonic(message);
    JButton button = new JButton(label);
    ShortcutProperties shortcutP = getShortcut(shortcut);
    if ((shortcutP != null) && (shortcutP.getEnabled())) {
      String fullLabel = label + shortcutP.getDescription();
      button.setToolTipText(fullLabel);
    }
    setShortcut(button, shortcutP, message);
    return button;
  }
View Full Code Here


   */
  public static JButton createJButton(
      String iconName, EnumImageSize size,
      String message, boolean showMessage,
      ConfigurationValueShortcut shortcut) {
    ShortcutProperties shortcutP = getShortcut(shortcut);
    return createJButton(iconName, size, message, showMessage, shortcutP);
  }
View Full Code Here

TOP

Related Classes of org.wikipediacleaner.utils.ConfigurationValueShortcut.ShortcutProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.