com.sun.java.swing.action.ActionManager Java Examples

The following examples show how to use com.sun.java.swing.action.ActionManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JavaStackTraceAction.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public JavaStackTraceAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #2
Source File: FindCrashesAction.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public FindCrashesAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #3
Source File: CommonToolBar.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
protected CommonToolBar(ActionManager manager, StatusBar status)
{
    this.manager = manager;
    statusBar = status;
    buttonSize = new Dimension(CommonUI.getButtconPrefSize());
    buttonInsets = new Insets(0, 0, 0, 0);
    addComponents();
}
 
Example #4
Source File: JavaStackTraceAction.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public JavaStackTraceAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #5
Source File: FindAction.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public FindAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #6
Source File: ThreadInfoAction.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public ThreadInfoAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #7
Source File: MemoryAction.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public MemoryAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #8
Source File: HSDBActionManager.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public static ActionManager getInstance() {
    ActionManager m = ActionManager.getInstance();
    if (m == null) {
        m = new HSDBActionManager();
        ActionManager.setInstance(m);
    }
    return m;
}
 
Example #9
Source File: JavaStackTraceAction.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public JavaStackTraceAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #10
Source File: FindCrashesAction.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public FindCrashesAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #11
Source File: FindAction.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public FindAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #12
Source File: JavaStackTraceAction.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public JavaStackTraceAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #13
Source File: InspectAction.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public InspectAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #14
Source File: FindClassesAction.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public FindClassesAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #15
Source File: FindClassesAction.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public FindClassesAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #16
Source File: CommonToolBar.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
protected CommonToolBar(ActionManager manager, StatusBar status)
{
    this.manager = manager;
    statusBar = status;
    buttonSize = new Dimension(CommonUI.getButtconPrefSize());
    buttonInsets = new Insets(0, 0, 0, 0);
    addComponents();
}
 
Example #17
Source File: ShowAction.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public ShowAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #18
Source File: CommonToolBar.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
protected CommonToolBar(ActionManager manager, StatusBar status)
{
    this.manager = manager;
    statusBar = status;
    buttonSize = new Dimension(CommonUI.getButtconPrefSize());
    buttonInsets = new Insets(0, 0, 0, 0);
    addComponents();
}
 
Example #19
Source File: ShowAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public ShowAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #20
Source File: MemoryAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public MemoryAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #21
Source File: FindCrashesAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public FindCrashesAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #22
Source File: HSDBActionManager.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public static ActionManager getInstance() {
    ActionManager m = ActionManager.getInstance();
    if (m == null) {
        m = new HSDBActionManager();
        ActionManager.setInstance(m);
    }
    return m;
}
 
Example #23
Source File: ThreadInfoAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public ThreadInfoAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #24
Source File: FindAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public FindAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #25
Source File: JavaStackTraceAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public JavaStackTraceAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #26
Source File: InspectAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public InspectAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #27
Source File: MemoryAction.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public MemoryAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #28
Source File: FindCrashesAction.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public FindCrashesAction() {
    super(VALUE_NAME, ActionManager.getIcon(VALUE_SMALL_ICON));

    putValue(Action.ACTION_COMMAND_KEY, VALUE_COMMAND);
    putValue(Action.SHORT_DESCRIPTION, VALUE_SHORT_DESCRIPTION);
    putValue(Action.LONG_DESCRIPTION, VALUE_LONG_DESCRIPTION);
    putValue(Action.MNEMONIC_KEY, VALUE_MNEMONIC);
}
 
Example #29
Source File: CommonToolBar.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
protected CommonToolBar(ActionManager manager, StatusBar status)
{
    this.manager = manager;
    statusBar = status;
    buttonSize = new Dimension(CommonUI.buttconPrefSize);
    buttonInsets = new Insets(0, 0, 0, 0);
    addComponents();
}
 
Example #30
Source File: CommonToolBar.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
protected CommonToolBar(ActionManager manager, StatusBar status)
{
    this.manager = manager;
    statusBar = status;
    buttonSize = new Dimension(CommonUI.getButtconPrefSize());
    buttonInsets = new Insets(0, 0, 0, 0);
    addComponents();
}