com.esri.arcgis.editor
Class RepresentationRuleEditor

java.lang.Object
  extended by com.esri.arcgis.editor.RepresentationRuleEditor
All Implemented Interfaces:
IRepresentationRuleEditor, IRepresentationRuleEditor2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class RepresentationRuleEditor
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRepresentationRuleEditor, IRepresentationRuleEditor2

A dialog for editing a representation rule.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
RepresentationRuleEditor()
          Constructs a RepresentationRuleEditor using ArcGIS Engine.
RepresentationRuleEditor(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RepresentationRuleEditor theRepresentationRuleEditor = (RepresentationRuleEditor) obj;
 
Method Summary
 boolean doModal(int parentWnd, IFeatureClass featureClass, IRepresentationRule rule)
          Displays the representation rule editor dialog.
 boolean doModal(int parentWnd, int type, IRepresentationRule rule)
          Displays the representation rule editor dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int getGeometryType()
          Geometry type edited by the dialog.
 IRepresentationRule getRule()
          Representation rule edited by the dialog.
 int hashCode()
          the hashcode for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

RepresentationRuleEditor

public RepresentationRuleEditor()
                         throws IOException,
                                UnknownHostException
Constructs a RepresentationRuleEditor using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RepresentationRuleEditor

public RepresentationRuleEditor(Object obj)
                         throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RepresentationRuleEditor theRepresentationRuleEditor = (RepresentationRuleEditor) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

doModal

public boolean doModal(int parentWnd,
                       int type,
                       IRepresentationRule rule)
                throws IOException,
                       AutomationException
Displays the representation rule editor dialog.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModal in interface IRepresentationRuleEditor
Parameters:
parentWnd - The parentWnd (A COM typedef) (in)
type - A com.esri.arcgis.geometry.esriGeometryType constant (in)
rule - A reference to a com.esri.arcgis.display.IRepresentationRule (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometryType

public int getGeometryType()
                    throws IOException,
                           AutomationException
Geometry type edited by the dialog.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getGeometryType in interface IRepresentationRuleEditor
Returns:
A com.esri.arcgis.geometry.esriGeometryType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRule

public IRepresentationRule getRule()
                            throws IOException,
                                   AutomationException
Representation rule edited by the dialog.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getRule in interface IRepresentationRuleEditor
Returns:
A reference to a com.esri.arcgis.display.IRepresentationRule
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(int parentWnd,
                       IFeatureClass featureClass,
                       IRepresentationRule rule)
                throws IOException,
                       AutomationException
Displays the representation rule editor dialog.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModal in interface IRepresentationRuleEditor2
Parameters:
parentWnd - The parentWnd (A COM typedef) (in)
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
rule - A reference to a com.esri.arcgis.display.IRepresentationRule (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.