com.esri.arcgis.cartoUI
Class SimpleNetworkRendererPropertyPage

java.lang.Object
  extended by com.esri.arcgis.cartoUI.SimpleNetworkRendererPropertyPage
All Implemented Interfaces:
INetworkRendererPropertyPage, IPropertyPage, IPropertyPageContext, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SimpleNetworkRendererPropertyPage
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPropertyPage, IPropertyPageContext, INetworkRendererPropertyPage

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

Description 'Property page for managing the properties of the SimpleNetworkRenderer object.' 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.framework.IPropertyPage
IID, IIDb196b28d_bab4_101a_b69c_00aa00341d07, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IPropertyPageContext
IID, IIDf87fa8a3_e51a_11d1_877c_0000f8751720, xxDummy
 
Fields inherited from interface com.esri.arcgis.cartoUI.INetworkRendererPropertyPage
IID, IIDb5857613_2b30_4070_86d3_6785af49a04c, xxDummy
 
Constructor Summary
SimpleNetworkRendererPropertyPage(java.lang.Object obj)
          Construct a SimpleNetworkRendererPropertyPage using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void activate(_RemotableHandle hWndParent, tagRECT pRect, int bModal)
          activate
 boolean applies(java.lang.Object unkArray)
          Check if property page applies to the specified set of objects.
 void apply()
          apply
 void cancel()
          Property sheet calls this when cancel button is pressed.
 void canEdit(INetworkRenderer obj, boolean[] result)
          Indicates if the network renderer can be edited by the property page.
 java.lang.Object createCompatibleObject(java.lang.Object kind)
          Create a new object using the specified object as a template.
 void deactivate()
          deactivate
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getCategory()
          Category for the renderer property page.
 IUID getClassID()
          Property page class id (unique identifier object).
 java.lang.String getDescription()
          Description of the renderer.
 java.lang.String getHelpFile(int controlID)
          Returns the help file name for the specified control.
 int getHelpId(int controlID)
          Returns the help ID for the specified control.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName(int rendererType)
          Renderer name for the specified renderer type.
 void getPageInfo(tagPROPPAGEINFO[] pPageInfo)
          getPageInfo
 int getPreviewImage()
          Preview bitmap for the renderer that appears on the page.
 int getPriority()
          The page's priority relative to other pages that interact with the same object.
 IUID getRendererClassID()
          Renderer class id (unique identifier object).
 int hashCode()
          the hashcode for this object
 void help(java.lang.String pszHelpDir)
          help
 boolean isAppliesTo(int rendererType)
          Indicates if the property page is applicable to the specified renderer type.
 void isPageDirty()
          isPageDirty
 void move(tagRECT pRect)
          move
 void queryObject(java.lang.Object theObject)
          Apply the property page settings to the specified object.
 void release()
          Release a SimpleNetworkRendererPropertyPage.
 void setObjects(int cObjects, java.lang.Object[] ppUnk)
          setObjects
 void setPageSite(IPropertyPageSite pPageSite)
          setPageSite
 void show(int nCmdShow)
          show
 void translateAccelerator(tagMSG pMsg)
          translateAccelerator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNetworkRendererPropertyPage

public SimpleNetworkRendererPropertyPage(java.lang.Object obj)
                                  throws java.io.IOException
Construct a SimpleNetworkRendererPropertyPage using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SimpleNetworkRendererPropertyPage.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
SimpleNetworkRendererPropertyPage o = (SimpleNetworkRendererPropertyPage)obj; // will not work

SimpleNetworkRendererPropertyPage o = new SimpleNetworkRendererPropertyPage(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems SimpleNetworkRendererPropertyPage theSimpleNetworkRendererPropertyPage = (SimpleNetworkRendererPropertyPage) obj;
Method Detail

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

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

setPageSite

public void setPageSite(IPropertyPageSite pPageSite)
                 throws java.io.IOException,
                        AutomationException
setPageSite

Specified by:
setPageSite in interface IPropertyPage
Parameters:
pPageSite - A reference to a com.esri.arcgis.framework.IPropertyPageSite (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate(_RemotableHandle hWndParent,
                     tagRECT pRect,
                     int bModal)
              throws java.io.IOException,
                     AutomationException
activate

Specified by:
activate in interface IPropertyPage
Parameters:
hWndParent - A Structure: com.esri.arcgis.framework._RemotableHandle (A com.esri.arcgis.framework._RemotableHandle COM typedef) (in)
pRect - A Structure: com.esri.arcgis.system.tagRECT (in)
bModal - The bModal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

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

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

getPageInfo

public void getPageInfo(tagPROPPAGEINFO[] pPageInfo)
                 throws java.io.IOException,
                        AutomationException
getPageInfo

Specified by:
getPageInfo in interface IPropertyPage
Parameters:
pPageInfo - A Structure: com.esri.arcgis.framework.tagPROPPAGEINFO (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjects

public void setObjects(int cObjects,
                       java.lang.Object[] ppUnk)
                throws java.io.IOException,
                       AutomationException
setObjects

Specified by:
setObjects in interface IPropertyPage
Parameters:
cObjects - The cObjects (in)
ppUnk - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(int nCmdShow)
          throws java.io.IOException,
                 AutomationException
show

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

move

public void move(tagRECT pRect)
          throws java.io.IOException,
                 AutomationException
move

Specified by:
move in interface IPropertyPage
Parameters:
pRect - A Structure: com.esri.arcgis.system.tagRECT (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPageDirty

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

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

apply

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

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

help

public void help(java.lang.String pszHelpDir)
          throws java.io.IOException,
                 AutomationException
help

Specified by:
help in interface IPropertyPage
Parameters:
pszHelpDir - A String (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

translateAccelerator

public void translateAccelerator(tagMSG pMsg)
                          throws java.io.IOException,
                                 AutomationException
translateAccelerator

Specified by:
translateAccelerator in interface IPropertyPage
Parameters:
pMsg - A Structure: com.esri.arcgis.framework.tagMSG (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPriority

public int getPriority()
                throws java.io.IOException,
                       AutomationException
The page's priority relative to other pages that interact with the same object. The higher the value, the higher the priority.

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

applies

public boolean applies(java.lang.Object unkArray)
                throws java.io.IOException,
                       AutomationException
Check if property page applies to the specified set of objects. Signature corresponds to IPropertyPage::SetObjects.

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

createCompatibleObject

public java.lang.Object createCompatibleObject(java.lang.Object kind)
                                        throws java.io.IOException,
                                               AutomationException
Create a new object using the specified object as a template. The kind argument may be NULL if the page interacts with only a single object.

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

queryObject

public void queryObject(java.lang.Object theObject)
                 throws java.io.IOException,
                        AutomationException
Apply the property page settings to the specified object.

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

getHelpFile

public java.lang.String getHelpFile(int controlID)
                             throws java.io.IOException,
                                    AutomationException
Returns the help file name for the specified control.

Specified by:
getHelpFile in interface IPropertyPageContext
Parameters:
controlID - The controlID (in)
Returns:
The helpFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpId

public int getHelpId(int controlID)
              throws java.io.IOException,
                     AutomationException
Returns the help ID for the specified control.

Specified by:
getHelpId in interface IPropertyPageContext
Parameters:
controlID - The controlID (in)
Returns:
The helpID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cancel

public void cancel()
            throws java.io.IOException,
                   AutomationException
Property sheet calls this when cancel button is pressed.

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

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
Description of the renderer.

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

getName

public java.lang.String getName(int rendererType)
                         throws java.io.IOException,
                                AutomationException
Renderer name for the specified renderer type.

Specified by:
getName in interface INetworkRendererPropertyPage
Parameters:
rendererType - A com.esri.arcgis.carto.esriNetworkRendererType constant (in)
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
Category for the renderer property page.

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

isAppliesTo

public boolean isAppliesTo(int rendererType)
                    throws java.io.IOException,
                           AutomationException
Indicates if the property page is applicable to the specified renderer type.

Specified by:
isAppliesTo in interface INetworkRendererPropertyPage
Parameters:
rendererType - A com.esri.arcgis.carto.esriNetworkRendererType constant (in)
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPreviewImage

public int getPreviewImage()
                    throws java.io.IOException,
                           AutomationException
Preview bitmap for the renderer that appears on the page.

Specified by:
getPreviewImage in interface INetworkRendererPropertyPage
Returns:
The hBitmap (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRendererClassID

public IUID getRendererClassID()
                        throws java.io.IOException,
                               AutomationException
Renderer class id (unique identifier object).

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

getClassID

public IUID getClassID()
                throws java.io.IOException,
                       AutomationException
Property page class id (unique identifier object).

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

canEdit

public void canEdit(INetworkRenderer obj,
                    boolean[] result)
             throws java.io.IOException,
                    AutomationException
Indicates if the network renderer can be edited by the property page.

Specified by:
canEdit in interface INetworkRendererPropertyPage
Parameters:
obj - A reference to a com.esri.arcgis.carto.INetworkRenderer (in)
result - The result (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.