com.esri.arcgis.cartoUI
Class SymbolLevelsDialog

java.lang.Object
  extended by com.esri.arcgis.cartoUI.SymbolLevelsDialog
All Implemented Interfaces:
ISymbolLevelsDialog, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SymbolLevelsDialog
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISymbolLevelsDialog

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

Description 'A dialog for setting symbol levels.' 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.cartoUI.ISymbolLevelsDialog
IID, IID0f7205e2_7f9e_402e_9e2e_e8265d83fbf5, xxDummy
 
Constructor Summary
SymbolLevelsDialog()
          Constructs a SymbolLevelsDialog using ArcGIS Engine.
SymbolLevelsDialog(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SymbolLevelsDialog theSymbolLevelsDialog = (SymbolLevelsDialog) obj;
 
Method Summary
 boolean doModal(int parentHWnd)
          Displays the dialog.
 void enableApplyButton(boolean bEnable, IMap pMap)
          Enable apply button in dialog and pass map to refresh if apply is pressed.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IArray getSymbolArray()
          Provides access to the modified symbols from the dialog.
 int hashCode()
          the hashcode for this object
 boolean isUseSymbolLevels()
          Indicates if symbol levels are used.
 void release()
          Release a SymbolLevelsDialog.
 void setControlLayer(ILayer rhs1)
          Inform the dialog about a layer that controls the symbol levels at a more global scope.
 void setLayer(ILayer rhs1)
          The Layer for which the symbol levels should be displayed.
 void setSymbols(java.lang.Object vSymbols, java.lang.Object vLabelNames, java.lang.Object vLayerNames, java.lang.Object rhs4)
          Add data to populate the symbol level list control.
 void setUseSymbolLevels(boolean pbUsesLevels)
          Indicates if symbol levels are used.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolLevelsDialog

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

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

SymbolLevelsDialog

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

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

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 SymbolLevelsDialog.

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

setLayer

public void setLayer(ILayer rhs1)
              throws java.io.IOException,
                     AutomationException
The Layer for which the symbol levels should be displayed.

Specified by:
setLayer in interface ISymbolLevelsDialog
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSymbols

public void setSymbols(java.lang.Object vSymbols,
                       java.lang.Object vLabelNames,
                       java.lang.Object vLayerNames,
                       java.lang.Object rhs4)
                throws java.io.IOException,
                       AutomationException
Add data to populate the symbol level list control.

Specified by:
setSymbols in interface ISymbolLevelsDialog
Parameters:
vSymbols - A Variant (in)
vLabelNames - A Variant (in)
vLayerNames - A Variant (in)
rhs4 - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbolArray

public IArray getSymbolArray()
                      throws java.io.IOException,
                             AutomationException
Provides access to the modified symbols from the dialog.

Specified by:
getSymbolArray in interface ISymbolLevelsDialog
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseSymbolLevels

public void setUseSymbolLevels(boolean pbUsesLevels)
                        throws java.io.IOException,
                               AutomationException
Indicates if symbol levels are used.

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

isUseSymbolLevels

public boolean isUseSymbolLevels()
                          throws java.io.IOException,
                                 AutomationException
Indicates if symbol levels are used.

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

enableApplyButton

public void enableApplyButton(boolean bEnable,
                              IMap pMap)
                       throws java.io.IOException,
                              AutomationException
Enable apply button in dialog and pass map to refresh if apply is pressed.

Specified by:
enableApplyButton in interface ISymbolLevelsDialog
Parameters:
bEnable - The bEnable (in)
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setControlLayer

public void setControlLayer(ILayer rhs1)
                     throws java.io.IOException,
                            AutomationException
Inform the dialog about a layer that controls the symbol levels at a more global scope.

Specified by:
setControlLayer in interface ISymbolLevelsDialog
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(int parentHWnd)
                throws java.io.IOException,
                       AutomationException
Displays the dialog.

Specified by:
doModal in interface ISymbolLevelsDialog
Parameters:
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The ok
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.