com.esri.arcgis.controls
Class LicenseControl

java.lang.Object
  extended by com.esri.arcgis.controls.LicenseControl
All Implemented Interfaces:
ILicenseControl, ILicenseControlDefault, IPersistStreamInit, com.esri.arcgis.interop.RemoteObjRef, IPersist, ISupportErrorInfo, java.io.Serializable

public class LicenseControl
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ILicenseControlDefault, ILicenseControl, IPersistStreamInit, IPersist, ISupportErrorInfo

COM Class 'LicenseControl'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description 'Esri LicenseControl' 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.ILicenseControlDefault
DISPID__552_NAME, DISPID_1_GET_NAME, DISPID_2_GET_NAME, DISPID_3_GET_NAME, DISPID_4_NAME, IID, IID60fcbb7b_c719_4d7a_a68c_a15e4d8805ae, xxDummy
 
Fields inherited from interface com.esri.arcgis.controls.ILicenseControl
DISPID__552_NAME, DISPID_1_GET_NAME, DISPID_2_GET_NAME, DISPID_3_GET_NAME, DISPID_4_NAME, IID, IID81060951_889e_4152_9cec_db6fcb2e7474, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IPersistStreamInit
IID, IID7fd52380_4e07_101b_ae2d_08002b2ec713, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
LicenseControl()
          Constructs a LicenseControl using ArcGIS Engine.
LicenseControl(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LicenseControl theLicenseControl = (LicenseControl) obj;
 
Method Summary
 void aboutBox()
          Displays a dialog of information about the LicenseControl.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getLicenseAvailability(int option)
          A Description of the availability of the licenses either all licenses or just those specified in the LicenseControls property page.
 void getSizeMax(_ULARGE_INTEGER[] pCbSize)
          getSizeMax
 int getStatus()
          The status of the LicenseControl initialization.
 java.lang.String getSummary()
          A summary of the status of the LicenseControl initialization.
 int hashCode()
          the hashcode for this object
 void initNew()
          initNew
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void isDirty()
          isDirty
 void load(IStream pStm)
          load
 void release()
          Release a LicenseControl.
 void save(IStream pStm, int fClearDirty)
          save
 void showStatusDialog(int hWndParent, int option, java.lang.Object windowTitle, java.lang.Object heading)
          Shows a dialog displaying the LicenseControl status and the current license availability.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseControl

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

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

LicenseControl

public LicenseControl(java.lang.Object obj)
               throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LicenseControl theLicenseControl = (LicenseControl) obj;

Construct a LicenseControl using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to LicenseControl.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
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 LicenseControl.

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

aboutBox

public void aboutBox()
              throws java.io.IOException,
                     AutomationException
Displays a dialog of information about the LicenseControl.

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

getStatus

public int getStatus()
              throws java.io.IOException,
                     AutomationException
The status of the LicenseControl initialization.

Specified by:
getStatus in interface ILicenseControl
Specified by:
getStatus in interface ILicenseControlDefault
Returns:
A com.esri.arcgis.system.esriLicenseStatus constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSummary

public java.lang.String getSummary()
                            throws java.io.IOException,
                                   AutomationException
A summary of the status of the LicenseControl initialization.

Specified by:
getSummary in interface ILicenseControl
Specified by:
getSummary in interface ILicenseControlDefault
Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLicenseAvailability

public java.lang.String getLicenseAvailability(int option)
                                        throws java.io.IOException,
                                               AutomationException
A Description of the availability of the licenses either all licenses or just those specified in the LicenseControls property page.

Specified by:
getLicenseAvailability in interface ILicenseControl
Specified by:
getLicenseAvailability in interface ILicenseControlDefault
Parameters:
option - A com.esri.arcgis.controls.esriLicenseStatusOptions constant (in, optional, pass 1 if not required)
Returns:
The returnValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

showStatusDialog

public void showStatusDialog(int hWndParent,
                             int option,
                             java.lang.Object windowTitle,
                             java.lang.Object heading)
                      throws java.io.IOException,
                             AutomationException
Shows a dialog displaying the LicenseControl status and the current license availability.

Specified by:
showStatusDialog in interface ILicenseControl
Specified by:
showStatusDialog in interface ILicenseControlDefault
Parameters:
hWndParent - The hWndParent (in, optional, pass 0 if not required)
option - A com.esri.arcgis.controls.esriLicenseStatusOptions constant (in, optional, pass 1 if not required)
windowTitle - A Variant (in, optional, pass null if not required)
heading - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

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

load

public void load(IStream pStm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStreamInit
Parameters:
pStm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pStm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStreamInit
Parameters:
pStm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pCbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStreamInit
Parameters:
pCbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initNew

public void initNew()
             throws java.io.IOException,
                    AutomationException
initNew

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

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.