Extension SDK 10.1.2

oracle.ide.util
Class MenuSpec

java.lang.Object
  extended byoracle.ide.util.MenuSpec

public final class MenuSpec
extends java.lang.Object


Field Summary
 javax.swing.KeyStroke accelerator
           
 java.lang.String label
           
 java.lang.Integer mnemonic
           
 
Constructor Summary
MenuSpec(java.lang.String label, java.lang.Integer mnemonic, javax.swing.KeyStroke accelerator, ArrayResourceBundle bundle, int key)
           
MenuSpec(java.lang.String label, java.lang.Integer mnemonic, javax.swing.KeyStroke accelerator, javax.swing.Icon icon)
           
MenuSpec(java.lang.String label, java.lang.Integer mnemonic, javax.swing.KeyStroke accelerator, java.util.ResourceBundle bundle, java.lang.String key)
           
 
Method Summary
 java.lang.Object getBundleKey()
           
 javax.swing.Icon getIcon()
           
 java.util.ResourceBundle getResourceBundle()
           
 void setIcon(ArrayResourceBundle bundle, int key)
           
 void setIcon(javax.swing.Icon icon)
           
 void setIcon(java.util.ResourceBundle bundle, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

public final java.lang.String label

mnemonic

public final java.lang.Integer mnemonic

accelerator

public final javax.swing.KeyStroke accelerator
Constructor Detail

MenuSpec

public MenuSpec(java.lang.String label,
                java.lang.Integer mnemonic,
                javax.swing.KeyStroke accelerator,
                javax.swing.Icon icon)

MenuSpec

public MenuSpec(java.lang.String label,
                java.lang.Integer mnemonic,
                javax.swing.KeyStroke accelerator,
                ArrayResourceBundle bundle,
                int key)

MenuSpec

public MenuSpec(java.lang.String label,
                java.lang.Integer mnemonic,
                javax.swing.KeyStroke accelerator,
                java.util.ResourceBundle bundle,
                java.lang.String key)
Method Detail

getIcon

public javax.swing.Icon getIcon()

setIcon

public void setIcon(javax.swing.Icon icon)

setIcon

public void setIcon(ArrayResourceBundle bundle,
                    int key)

setIcon

public void setIcon(java.util.ResourceBundle bundle,
                    java.lang.String key)

getResourceBundle

public java.util.ResourceBundle getResourceBundle()

getBundleKey

public java.lang.Object getBundleKey()

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.