com.esri.arcgis.controls
Class ArcReaderConfiguration

java.lang.Object
  extended by com.esri.arcgis.controls.ArcReaderConfiguration
All Implemented Interfaces:
IARConfiguration, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ArcReaderConfiguration
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IARConfiguration

COM Class 'ArcReaderConfiguration'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriPublisherControls.olb'

Description 'ArcReaderConfiguration contains settings affecting the appearance and behaviour of the control.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.controls.IARConfiguration
DISPID_1_NAME, DISPID_2_NAME, DISPID_3_NAME, DISPID_4_GET_NAME, DISPID_5_GET_NAME, DISPID_5_PUT_NAME, DISPID_6_GET_NAME, DISPID_6_PUT_NAME, DISPID_7_GET_NAME, DISPID_7_PUT_NAME, IID, IID671c12b9_56d0_440a_8cf8_75b9fbd0a65e, xxDummy
 
Constructor Summary
ArcReaderConfiguration()
          Constructs a ArcReaderConfiguration using ArcGIS Engine.
ArcReaderConfiguration(java.lang.Object obj)
          Construct a ArcReaderConfiguration using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.Object getCustomProperty()
          A property to associate data with an object.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.Object getSetting(java.lang.String sName)
          The configuration setting specified.
 java.lang.String getTemplateFile()
          The file name of the configuration file loaded into the control.
 int hashCode()
          the hashcode for this object
 boolean isBoolSetting(java.lang.String sName)
          The configuration setting specified, whose value is a boolean.
 void load(java.lang.String sFilename)
          Loads each configuration setting from the specified file into the control.
 void release()
          Release a ArcReaderConfiguration.
 void save(java.lang.String sFilename)
          Saves each of the control's current configuration settings into the specified file.
 void setBoolSetting(java.lang.String sName, boolean pVal)
          The configuration setting specified, whose value is a boolean.
 void setCustomProperty(java.lang.Object pVal)
          A property to associate data with an object.
 void setDefaults()
          Set each control configuration setting to its default value.
 void setSetting(java.lang.String sName, java.lang.Object pVal)
          The configuration setting specified.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArcReaderConfiguration

public ArcReaderConfiguration()
                       throws java.io.IOException,
                              java.net.UnknownHostException
Constructs a ArcReaderConfiguration using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ArcReaderConfiguration

public ArcReaderConfiguration(java.lang.Object obj)
                       throws java.io.IOException
Construct a ArcReaderConfiguration using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ArcReaderConfiguration.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems ArcReaderConfiguration theArcReaderConfiguration = (ArcReaderConfiguration) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ArcReaderConfiguration.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setDefaults

public void setDefaults()
                 throws java.io.IOException,
                        AutomationException
Set each control configuration setting to its default value.

Specified by:
setDefaults in interface IARConfiguration
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(java.lang.String sFilename)
          throws java.io.IOException,
                 AutomationException
Loads each configuration setting from the specified file into the control.

Specified by:
load in interface IARConfiguration
Parameters:
sFilename - The sFilename (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(java.lang.String sFilename)
          throws java.io.IOException,
                 AutomationException
Saves each of the control's current configuration settings into the specified file.

Specified by:
save in interface IARConfiguration
Parameters:
sFilename - The sFilename (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTemplateFile

public java.lang.String getTemplateFile()
                                 throws java.io.IOException,
                                        AutomationException
The file name of the configuration file loaded into the control. An empty string is returned is the control is using default configuration settings.

Specified by:
getTemplateFile in interface IARConfiguration
Returns:
The sFilename
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSetting

public java.lang.Object getSetting(java.lang.String sName)
                            throws java.io.IOException,
                                   AutomationException
The configuration setting specified.

Specified by:
getSetting in interface IARConfiguration
Parameters:
sName - The sName (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSetting

public void setSetting(java.lang.String sName,
                       java.lang.Object pVal)
                throws java.io.IOException,
                       AutomationException
The configuration setting specified.

Specified by:
setSetting in interface IARConfiguration
Parameters:
sName - The sName (in)
pVal - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBoolSetting

public boolean isBoolSetting(java.lang.String sName)
                      throws java.io.IOException,
                             AutomationException
The configuration setting specified, whose value is a boolean.

Specified by:
isBoolSetting in interface IARConfiguration
Parameters:
sName - The sName (in)
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBoolSetting

public void setBoolSetting(java.lang.String sName,
                           boolean pVal)
                    throws java.io.IOException,
                           AutomationException
The configuration setting specified, whose value is a boolean.

Specified by:
setBoolSetting in interface IARConfiguration
Parameters:
sName - The sName (in)
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCustomProperty

public java.lang.Object getCustomProperty()
                                   throws java.io.IOException,
                                          AutomationException
A property to associate data with an object.

Specified by:
getCustomProperty in interface IARConfiguration
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomProperty

public void setCustomProperty(java.lang.Object pVal)
                       throws java.io.IOException,
                              AutomationException
A property to associate data with an object.

Specified by:
setCustomProperty in interface IARConfiguration
Parameters:
pVal - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.