APIdia Launch Partner
Top Description Constructors Methods
sun.awt.im

pack-priv abstract Class InputMethodPopupMenu

Additional top-level classes in compilation unit: JInputMethodPopupMenu, AWTInputMethodPopupMenu.

extends Object
implements ActionListener
Class Inheritance
All Implemented Interfaces
java.awt.event.ActionListener, java.util.EventListener
Known Direct Subclasses
sun.awt.im.JInputMethodPopupMenu, sun.awt.im.AWTInputMethodPopupMenu
Imports
java.awt.AWTException, .CheckboxMenuItem, .Component, .Container, .PopupMenu, .Menu, .MenuItem, .Toolkit, java.awt.event.ActionEvent, .ActionListener, java.awt.im.spi.InputMethodDescriptor, java.util.Locale, javax.swing.JCheckBoxMenuItem, .JComponent, .JDialog, .JFrame, .JPopupMenu, .JMenu, .JMenuItem

InputMethodPopupMenu provides the popup selection menu

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
actionPerformed(ActionEvent event)

Implements java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

pack-priv abstract void
add(Object menuItem)

pack-priv abstract void
addMenuItem(String label, String command, String currentSelection)

pack-priv abstract void
addMenuItem(Object targetMenu, String label, String command, String currentSelection)

pack-priv void
pack-priv abstract void
pack-priv abstract void
pack-priv abstract Object
pack-priv static InputMethodPopupMenu
getInstance(Component client, String title)

pack-priv String
getLocaleName(Locale
Locale for which localized locale name is obtained
locale
)

Returns a localized locale name for input methods with the given locale.

pack-priv static boolean
isSelected(String command, String currentSelection)

Returns whether command indicates the same input method as currentSelection, taking into account that command may not specify a locale where currentSelection does.

pack-priv abstract void
pack-priv abstract void
show(Component c, int x, int y)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

InputMethodPopupMenuback to summary
pack-priv InputMethodPopupMenu()

Method Detail

actionPerformedback to summary
public void actionPerformed(ActionEvent event)

Implements java.awt.event.ActionListener.actionPerformed.

Doc from java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

addback to summary
pack-priv abstract void add(Object menuItem)
addMenuItemback to summary
pack-priv abstract void addMenuItem(String label, String command, String currentSelection)
addMenuItemback to summary
pack-priv abstract void addMenuItem(Object targetMenu, String label, String command, String currentSelection)
addOneInputMethodToMenuback to summary
pack-priv void addOneInputMethodToMenu(InputMethodLocator locator, String currentSelection)
addSeparatorback to summary
pack-priv abstract void addSeparator()
addToComponentback to summary
pack-priv abstract void addToComponent(Component c)
createSubmenuback to summary
pack-priv abstract Object createSubmenu(String label)
getInstanceback to summary
pack-priv static InputMethodPopupMenu getInstance(Component client, String title)
getLocaleNameback to summary
pack-priv String getLocaleName(Locale locale)

Returns a localized locale name for input methods with the given locale. It falls back to Locale.getDisplayName() and then to Locale.toString() if no localized locale name is found.

Parameters
locale:Locale

Locale for which localized locale name is obtained

isSelectedback to summary
pack-priv static boolean isSelected(String command, String currentSelection)

Returns whether command indicates the same input method as currentSelection, taking into account that command may not specify a locale where currentSelection does.

removeAllback to summary
pack-priv abstract void removeAll()
showback to summary
pack-priv abstract void show(Component c, int x, int y)