このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XLocale
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 資源 ::

interface XLocale
Description
申し込む/申し出s some 操作/手術s on ::com::sun::星/主役にする::lang::地元の structures.
See also
XResourceBundle, 地元の

Methods' 要約
create creates a 地元の from language, country, and variant.  
getDefault the ありふれた method of getting the 現在の default 地元の.  
setDefault 始める,決めるs the default 地元の for the whole 環境.  
getAvailableLocales  
getISOCountries  
getISOLanguages  
getLanguagesForCountry  
getISO3Language  
getISO3Country  
getDisplayLanguage_Default  
getDisplayLanguage  
getDisplayCountry_Default  
getDisplayCountry  
getDisplayVariant_Default  
getDisplayVariant  
getDisplayName_Default  
getDisplayName  
equals  
Methods' 詳細(に述べる)s
create
::com::sun::星/主役にする::lang::地元の
create( [in] string  aLanguage,
[in] string  aCountry,
[in] string  aVariant );

Description
creates a 地元の from language, country, and variant.

NOTE: ISO 639 is not a stable 基準; some of the language codes it defines (特に iw, ji, and in) have changed. This 建設者 受託するs both the old codes (iw, ji, and in) and the new codes (he, yi, and id), but all other API on XLocale will return only the NEW codes.

公式文書,認める: The Java class 地元の returns the old codes.

getDefault
::com::sun::星/主役にする::lang::地元の
getDefault();

Description
the ありふれた method of getting the 現在の default 地元の.

It is used for the 贈呈 (for menus, dialogs, etc.). It is, 一般に, 始める,決める once when your applet or 使用/適用 is initialized, then never reset. (If you do reset the default 地元の, you probably want to reload your GUI, so that the change is 反映するd in your interface.)

More 前進するd programs 許す 使用者s to use different 地元のs for different fields, for example, in a spreadsheet.
公式文書,認める that the 初期の setting will match the host system.

setDefault
無効の
setDefault( [in] ::com::sun::星/主役にする::lang::地元の  newLocale );

Description
始める,決めるs the default 地元の for the whole 環境.

It is 普通は 始める,決める once at the beginning of an 使用/適用, then never reset. setDefault does not reset the host 地元の.

getAvailableLocales
sequence< ::com::sun::星/主役にする::lang::地元の >
getAvailableLocales();

Returns
a sequence of all 地元のs which are 利用できる in the system.
getISOCountries
sequence< string >
getISOCountries();

Returns
a sequence of all ISO country codes known to the 構成要素.
getISOLanguages
sequence< string >
getISOLanguages();

Returns
a sequence of all ISO language codes known to the 構成要素.
getLanguagesForCountry
sequence< string >
getLanguagesForCountry( [in] string  country );

Returns
a sequence for language codes which are valid within the given country.
getISO3Language
string
getISO3Language( [in] ::com::sun::星/主役にする::lang::地元の  地元の )
raises( MissingResourceException );

Returns
the ISO language code for the 明示するd 地元の.
getISO3Country
string
getISO3Country( [in] ::com::sun::星/主役にする::lang::地元の  地元の )
raises( MissingResourceException );

Returns
the ISO country code for the 明示するd 地元の.
getDisplayLanguage_Default
string
getDisplayLanguage_Default( [in] ::com::sun::星/主役にする::lang::地元の  地元の );

Returns
language code for 陳列する,発揮する of field to 使用者. If the localized 指名する is not 設立する, returns the ISO code. The 願望(する)d 使用者 language is from the default 地元の.
getDisplayLanguage
string
getDisplayLanguage( [in] ::com::sun::星/主役にする::lang::地元の  地元の,
[in] ::com::sun::星/主役にする::lang::地元の  inLocale );

Returns
language code for 陳列する,発揮する of field to 使用者. If the localized 指名する is not 設立する, returns the ISO codes.
Parameter inLocale
明示するs the 願望(する)d 使用者 language.
Example
"English (UK)", "Deutch", "Germany"
getDisplayCountry_Default
string
getDisplayCountry_Default( [in] ::com::sun::星/主役にする::lang::地元の  地元の );

Returns
country code for 陳列する,発揮する of field to 使用者. If the localized 指名する is not 設立する, returns the ISO code. The 願望(する)d 使用者 country is from the default 地元の.
getDisplayCountry
string
getDisplayCountry( [in] ::com::sun::星/主役にする::lang::地元の  地元の,
[in] ::com::sun::星/主役にする::lang::地元の  inLocale );

Returns
country code for 陳列する,発揮する of field to 使用者. If the localized 指名する is not 設立する, returns the ISO codes.
Parameter inLocale
明示するs the 願望(する)d 使用者 country.
getDisplayVariant_Default
string
getDisplayVariant_Default( [in] ::com::sun::星/主役にする::lang::地元の  地元の );

Returns
variant code for 陳列する,発揮する of field to 使用者. The 願望(する)d 使用者 variant is from the default 地元の.
getDisplayVariant
string
getDisplayVariant( [in] ::com::sun::星/主役にする::lang::地元の  地元の,
[in] ::com::sun::星/主役にする::lang::地元の  inLocale );

Returns
variant code for 陳列する,発揮する of field to 使用者. If the localized 指名する is not 設立する, returns the ISO codes.
Parameter inLocale
明示するs the 願望(する)d 使用者 variant.
getDisplayName_Default
string
getDisplayName_Default( [in] ::com::sun::星/主役にする::lang::地元の  地元の );

Returns
a string to 陳列する,発揮する the entire 地元の to 使用者. If the localized 指名する is not 設立する, uses the ISO codes. The default 地元の is used for the 贈呈 language.
getDisplayName
string
getDisplayName( [in] ::com::sun::星/主役にする::lang::地元の  地元の,
[in] ::com::sun::星/主役にする::lang::地元の  inLocale );

Returns
a string to 陳列する,発揮する the entire 地元の to 使用者. If the localized 指名する is not 設立する, uses the ISO codes.
Parameter inLocale
明示するs the 願望(する)d 使用者 地元の.
equals
boolean
equals( [in] ::com::sun::星/主役にする::lang::地元の  l1,
[in] ::com::sun::星/主役にする::lang::地元の  l2 );

Returns
true if the ::com::sun::星/主役にする::lang::地元の l1 is equal to the other one.

A 地元の is みなすd equal to another 地元の with 同一の language, country, and variant, and unequal to all other 反対するs.

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.