|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
ilog.views.appframe.settings.LocaleSettingsEvent
public class LocaleSettingsEvent
The locale settings change event emitted by the application when parameters associated with the locale of the application have changed.
LocaleSettingsListener,
Serialized Form| Field Summary | |
|---|---|
static int |
LOCALE_CHANGED
This event indicates that the locale of the application has changed. |
static int |
LOCALE_FIRST
The first number in the range of IDs used for locale settings events. |
static int |
LOCALE_LAST
The last number in the range of IDs used for locale settings events. |
static int |
RESOURCE_BUNDLE_ADDED
This event indicates that a resource bundle has been added to the application for the current locale. |
static int |
RESOURCE_BUNDLE_MANAGER_CHANGED
This event indicates that the resource bundle manager of the application has changed. |
static int |
RESOURCE_BUNDLE_REMOVED
This event indicates that a resource bundle has been removed from the application for the current locale. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
LocaleSettingsEvent(int id,
IlvApplication application)
Constructs a LocaleSettingsEvent object with the specified
id and application source. |
|
| Method Summary | |
|---|---|
IlvApplication |
getApplication()
Returns the application. |
int |
getID()
Returns the event type. |
Locale |
getLocale()
Returns the current locale of the application. |
ResourceBundle |
getResourceBundle()
Returns the resource bundle associated with the event, if the event is related to the addition or the removal of the resource bundle. |
void |
setResourceBundle(ResourceBundle bundle)
Sets the resource bundle associated with the event, if the event is related to the addition or the removal of the resource bundle. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int LOCALE_FIRST
public static final int LOCALE_CHANGED
public static final int RESOURCE_BUNDLE_ADDED
public static final int RESOURCE_BUNDLE_REMOVED
public static final int RESOURCE_BUNDLE_MANAGER_CHANGED
public static final int LOCALE_LAST
| Constructor Detail |
|---|
public LocaleSettingsEvent(int id,
IlvApplication application)
LocaleSettingsEvent object with the specified
id and application source.
id - The ID of the locale settings event.application - The application that has originated the event.| Method Detail |
|---|
public int getID()
public Locale getLocale()
public IlvApplication getApplication()
public ResourceBundle getResourceBundle()
setResourceBundle(java.util.ResourceBundle),
RESOURCE_BUNDLE_ADDED,
RESOURCE_BUNDLE_REMOVEDpublic void setResourceBundle(ResourceBundle bundle)
bundle - The resource bundle that has been added or removed.getResourceBundle(),
RESOURCE_BUNDLE_ADDED,
RESOURCE_BUNDLE_REMOVED
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||