public class PLocaleInfoBeanImpl extends PControllerImpl implements PLocaleInfoBean, Serializable
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PLocaleInfoBeanImpl()
Creates a controller for retrieving Infranet locales.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocaleDescription(int index)
Gets the locale description at the specified index when the bean is loaded.
|
String[] |
getLocales()
Gets a list of the available locales when the bean is loaded.
|
Object |
getSelectionDataFor(String dataItem,
int index)
Used only for
Swing clients of BAS,
so this instance does nothing and just returns null. |
void |
listOfLocales()
Uses
InfranetLocaleManager to get the list of Infranet locales. |
Locale |
mapInfranetLocaleToJavaLocale(String infranetLocale)
Uses
InfranetLocaleManager to map Infranet locale to Java Locale. |
void |
update(int reason,
Object data)
Used only for
Swing clients of BAS,
so this instance does nothing. |
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedpublic PLocaleInfoBeanImpl()
throws RemoteException
RemoteExceptionpublic String[] getLocales() throws RemoteException
getLocales in interface PLocaleInfoBeanVector converted into array of String.RemoteExceptionpublic String getLocaleDescription(int index) throws RemoteException
getLocaleDescription in interface PLocaleInfoBeanindex - the locale at the specified indexString that describes the locale.RemoteExceptionpublic void update(int reason,
Object data)
Swing clients of BAS,
so this instance does nothing.update in class PControllerImplreason - an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL, UPDATE_PROPERTY,
UPDATE_MODEL_CHANGE, or UPDATE_CLIENT)data - the data associated with updatepublic Object getSelectionDataFor(String dataItem, int index)
Swing clients of BAS,
so this instance does nothing and just returns null.getSelectionDataFor in interface PControllerBeandataItem - the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent.index - an optional index into an array data itempublic void listOfLocales()
throws RemoteException
InfranetLocaleManager to get the list of Infranet locales.listOfLocales in interface PLocaleInfoBeanRemoteException - thrown if the context is nullpublic Locale mapInfranetLocaleToJavaLocale(String infranetLocale) throws RemoteException
InfranetLocaleManager to map Infranet locale to Java Locale.mapInfranetLocaleToJavaLocale in interface PLocaleInfoBeanInfranet - locale stringLocale that maps to the given Infranet locale.RemoteException - thrown if the context is nullCopyright © 2003, 2023, Oracle and/or its affiliates.