Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.6.0)

E10758-07

oracle.jbo.jbotester.action
Class LocaleSwitchAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by oracle.jbo.jbotester.AbstractJboAction
          extended by oracle.jbo.jbotester.action.LocaleSwitchAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public final class LocaleSwitchAction
extends AbstractJboAction

Switch the tester's locale to the selected locale. The default locale for the tester is determined by the OS. The tester's locale menu shows the locales available for the tester. When a locale is chosen, this action is invoked to switch the locale.

Since:
release specific (what release of product did this appear in)
Version:
$Header: bc4jrt/modules/bc4j-tester/src/oracle/jbo/jbotester/action/LocaleSwitchAction.java /main/2 2009/04/12 09:05:30 rvangri Exp $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
LocaleSwitchAction(java.util.Locale locale)
          Switch the current locale, and refresh the current window with the updated locale
 
Method Summary
protected  void doAction(java.awt.event.ActionEvent e)
          This method provides the internal implementation of actionPerformed.
 
Methods inherited from class oracle.jbo.jbotester.AbstractJboAction
actionPerformed, isDelayedValidation, setDelayedValidation
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleSwitchAction

public LocaleSwitchAction(java.util.Locale locale)
Switch the current locale, and refresh the current window with the updated locale

Parameters:
locale - the new locale
Method Detail

doAction

protected void doAction(java.awt.event.ActionEvent e)
Description copied from class: AbstractJboAction
This method provides the internal implementation of actionPerformed. Exception handling is taken care of, subclasses only need to catch exceptions if they don't want to use the standard exception dialog.

Specified by:
doAction in class AbstractJboAction
Parameters:
e - the ActionEvent

Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.6.0)

E10758-07

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