com.esri.arcgis.system
Interface IArcGISLocale

All Superinterfaces:
Serializable
All Known Implementing Classes:
ArcGISLocale

public interface IArcGISLocale
extends Serializable

Provides access to members for the ArcGIS locale.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getCountryID()
          The value of the country ID from the locale.
 int getLangID()
          The value of the language ID from the locale.
 int getLocale()
          The value of the locale.
 int getUICountryID()
          The value of the country ID from the UI locale.
 int getUILangID()
          The value of the language ID from the UI locale.
 int getUILocale()
          The value of the UI locale.
 boolean isRightToLeft()
          Indicates if the UI locale is right to left.
 boolean isRightToLeftTable()
          Indicates if the UI locale is right to left table.
 boolean isRightToLeftUI()
          Indicates if the UI locale is right to left user interface.
 void setLocale()
          Write the ArcGIS locale for the process.
 void setThreadLocale()
          Write the ArcGIS locale for the thread.
 void setThreadUILocale()
          Write the ArcGIS UI locale for the thread.
 

Method Detail

getLangID

int getLangID()
              throws IOException,
                     AutomationException
The value of the language ID from the locale.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The langID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCountryID

int getCountryID()
                 throws IOException,
                        AutomationException
The value of the country ID from the locale.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The countryID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocale

int getLocale()
              throws IOException,
                     AutomationException
The value of the locale.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The locale
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUILangID

int getUILangID()
                throws IOException,
                       AutomationException
The value of the language ID from the UI locale.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The langID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUICountryID

int getUICountryID()
                   throws IOException,
                          AutomationException
The value of the country ID from the UI locale.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The countryID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUILocale

int getUILocale()
                throws IOException,
                       AutomationException
The value of the UI locale.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The locale
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRightToLeft

boolean isRightToLeft()
                      throws IOException,
                             AutomationException
Indicates if the UI locale is right to left.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The isRightToLeft
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRightToLeftUI

boolean isRightToLeftUI()
                        throws IOException,
                               AutomationException
Indicates if the UI locale is right to left user interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The isRightToLeftUI
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRightToLeftTable

boolean isRightToLeftTable()
                           throws IOException,
                                  AutomationException
Indicates if the UI locale is right to left table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The isRightToLeftTable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLocale

void setLocale()
               throws IOException,
                      AutomationException
Write the ArcGIS locale for the process.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setThreadLocale

void setThreadLocale()
                     throws IOException,
                            AutomationException
Write the ArcGIS locale for the thread.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setThreadUILocale

void setThreadUILocale()
                       throws IOException,
                              AutomationException
Write the ArcGIS UI locale for the thread.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.