|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.UniqueValueTextRenderer
public class UniqueValueTextRenderer
This is a feature renderer that supports rendering points using values from a field in the feature class.
Constructor Summary | |
---|---|
UniqueValueTextRenderer()
Constructs a UniqueValueTextRenderer using ArcGIS Engine. |
|
UniqueValueTextRenderer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. UniqueValueTextRenderer theUniqueValueTextRenderer = (UniqueValueTextRenderer) obj; |
Method Summary | |
---|---|
void |
addReferenceValue(String value,
String refValue)
Adds a value to the renderer to be grouped with the refValue, which has already ben added to the renderer. |
void |
addValue(String value,
String heading,
ISymbol symbol)
Adds a value and correstonding symbol to the list. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
canRender(IFeatureClass featClass,
IDisplay display)
Indicates if the specified feature class can be rendered on the given display. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
void |
draw(IFeatureCursor cursor,
int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
Draws features from the specified cursor on the given display. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
String |
esri_getClass(int index)
Class name. |
int |
getClassCount()
Number of classes. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getColorScheme()
Color scheme (user interface property only). |
String |
getDefaultLabel()
Label used for unspecified values. |
ISymbol |
getDefaultSymbol()
Symbol used to draw any unspecified values (may be NULL). |
String |
getDescription(String value)
Description for the specified label. |
String |
getField(int index)
Field at the specified index that is used to categorize features. |
int |
getFieldCount()
Number of fields used by the renderer (0-3). |
String |
getFieldDelimiter()
Delimiter used to separate field values. |
String |
getHeading(String value)
Heading that contains the specified value. |
String |
getLabel(String value)
Label for the specified value. |
ILegendGroup |
getLegendGroup(int index)
Legend group at the specified index. |
int |
getLegendGroupCount()
Number of legend groups contained by the object. |
ILegendItem |
getLegendItem()
Optional. |
Object |
getLevelArray()
Array that contains all levels used by the symbols, (symbols without a level get a level of 0). |
String |
getLookupStyleset()
Style used for matching (user interface property only). |
String |
getReferenceValue(String value)
Reference value for the specified value. |
String |
getRotationField()
Rotation field. |
int |
getRotationType()
Rotation type. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ISymbol |
getSymbol(String value)
Symbol associated with the specified value. |
ISymbol |
getSymbolByFeature(IFeature feature)
Symbol used to draw the specified feature. |
String |
getTransparencyField()
Transparency field. |
String |
getValue(int index)
Value at the specified index. |
int |
getValueCount()
Number of unique values used to categorieze the data. |
String |
getWhereClause(int index,
ITable table)
WhereClause. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isRenderPhase(int drawPhase)
Indicates if renderer uses the specified draw phase. |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
boolean |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
boolean |
isUseDefaultSymbol()
Indicates if DefaultSymbol is used for drawing unspecified values. |
void |
load(IStream pstm)
load |
void |
prepareFilter(IFeatureClass fc,
IQueryFilter queryFilter)
Prepares the query filter for the rendering process. |
void |
readExternal(ObjectInput in)
|
void |
removeAllValues()
Removes all values from teh renderer. |
void |
removeValue(String value)
Removes a value from the renderer. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setColorScheme(String name)
Color scheme (user interface property only). |
void |
setCurrentDrawLevel(int rhs1)
The current draw level, (set to -1 to draw all levels). |
void |
setDefaultLabel(String pLabel)
Label used for unspecified values. |
void |
setDefaultSymbol(ISymbol pVal)
Symbol used to draw any unspecified values (may be NULL). |
void |
setDescription(String value,
String pVal)
Description for the specified label. |
void |
setExclusionSetByRef(IFeatureIDSet rhs1)
An object reference to a temporary drawing exclusion set. |
void |
setField(int index,
String pVal)
Field at the specified index that is used to categorize features. |
void |
setFieldCount(int pVal)
Number of fields used by the renderer (0-3). |
void |
setFieldDelimiter(String pVal)
Delimiter used to separate field values. |
void |
setFieldType(int index,
boolean rhs2)
Indicates if the field at eth specified index is a string. |
void |
setHeading(String value,
String pVal)
Heading that contains the specified value. |
void |
setLabel(String value,
String pVal)
Label for the specified value. |
void |
setLookupStyleset(String pVal)
Style used for matching (user interface property only). |
void |
setRotationField(String fieldName)
Rotation field. |
void |
setRotationType(int type)
Rotation type. |
void |
setSymbol(String value,
ISymbol pVal)
Symbol associated with the specified value. |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
void |
setTransparencyField(String fieldName)
Transparency field. |
void |
setUseDefaultSymbol(boolean pVal)
Indicates if DefaultSymbol is used for drawing unspecified values. |
void |
setValue(int index,
String pVal)
Value at the specified index. |
void |
writeExternal(ObjectOutput out)
|
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 |
---|
public UniqueValueTextRenderer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic UniqueValueTextRenderer(Object obj) throws IOException
UniqueValueTextRenderer theUniqueValueTextRenderer = (UniqueValueTextRenderer) obj;
obj
to UniqueValueTextRenderer
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addReferenceValue(String value, String refValue) throws IOException, AutomationException
addReferenceValue
in interface IUniqueValueTextRenderer
value
- The value (in)refValue
- The refValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addValue(String value, String heading, ISymbol symbol) throws IOException, AutomationException
addValue
in interface IUniqueValueTextRenderer
value
- The value (in)heading
- The heading (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getColorScheme() throws IOException, AutomationException
getColorScheme
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColorScheme(String name) throws IOException, AutomationException
setColorScheme
in interface IUniqueValueTextRenderer
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDefaultLabel() throws IOException, AutomationException
getDefaultLabel
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultLabel(String pLabel) throws IOException, AutomationException
setDefaultLabel
in interface IUniqueValueTextRenderer
pLabel
- The pLabel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getDefaultSymbol() throws IOException, AutomationException
getDefaultSymbol
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultSymbol(ISymbol pVal) throws IOException, AutomationException
setDefaultSymbol
in interface IUniqueValueTextRenderer
pVal
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription(String value) throws IOException, AutomationException
getDescription
in interface IUniqueValueTextRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String value, String pVal) throws IOException, AutomationException
setDescription
in interface IUniqueValueTextRenderer
value
- The value (in)pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getField(int index) throws IOException, AutomationException
getField
in interface IUniqueValueTextRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setField(int index, String pVal) throws IOException, AutomationException
setField
in interface IUniqueValueTextRenderer
index
- The index (in)pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFieldCount() throws IOException, AutomationException
getFieldCount
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldCount(int pVal) throws IOException, AutomationException
setFieldCount
in interface IUniqueValueTextRenderer
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFieldDelimiter() throws IOException, AutomationException
getFieldDelimiter
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldDelimiter(String pVal) throws IOException, AutomationException
setFieldDelimiter
in interface IUniqueValueTextRenderer
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldType(int index, boolean rhs2) throws IOException, AutomationException
setFieldType
in interface IUniqueValueTextRenderer
index
- The index (in)rhs2
- The rhs2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHeading(String value) throws IOException, AutomationException
getHeading
in interface IUniqueValueTextRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHeading(String value, String pVal) throws IOException, AutomationException
setHeading
in interface IUniqueValueTextRenderer
value
- The value (in)pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLabel(String value) throws IOException, AutomationException
getLabel
in interface IUniqueValueTextRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(String value, String pVal) throws IOException, AutomationException
setLabel
in interface IUniqueValueTextRenderer
value
- The value (in)pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLookupStyleset() throws IOException, AutomationException
getLookupStyleset
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLookupStyleset(String pVal) throws IOException, AutomationException
setLookupStyleset
in interface IUniqueValueTextRenderer
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getReferenceValue(String value) throws IOException, AutomationException
getReferenceValue
in interface IUniqueValueTextRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllValues() throws IOException, AutomationException
removeAllValues
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeValue(String value) throws IOException, AutomationException
removeValue
in interface IUniqueValueTextRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getSymbol(String value) throws IOException, AutomationException
getSymbol
in interface IUniqueValueTextRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbol(String value, ISymbol pVal) throws IOException, AutomationException
setSymbol
in interface IUniqueValueTextRenderer
value
- The value (in)pVal
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseDefaultSymbol() throws IOException, AutomationException
isUseDefaultSymbol
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseDefaultSymbol(boolean pVal) throws IOException, AutomationException
setUseDefaultSymbol
in interface IUniqueValueTextRenderer
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getValue(int index) throws IOException, AutomationException
getValue
in interface IUniqueValueTextRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(int index, String pVal) throws IOException, AutomationException
setValue
in interface IUniqueValueTextRenderer
index
- The index (in)pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getValueCount() throws IOException, AutomationException
getValueCount
in interface IUniqueValueTextRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRender(IFeatureClass featClass, IDisplay display) throws IOException, AutomationException
If the renderer is not applicable to a feature layer, then it can return False in response to a CanRender method. For example, the dot-density renderer is only applicable to polygon feature layers and returns False in response to other feature layers.
canRender
in interface IFeatureRenderer
featClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void prepareFilter(IFeatureClass fc, IQueryFilter queryFilter) throws IOException, AutomationException
This method is called prior to the Draw method and gives the renderer a chance to adjust the query filter to incorporate extra constraints. For example, if a particular field is required for the renderer, it would add this field to the filter to ensure it is accessible during the Draw method.
prepareFilter
in interface IFeatureRenderer
fc
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IFeatureCursor cursor, int drawPhase, IDisplay display, ITrackCancel trackCancel) throws IOException, AutomationException
This method is typically called by the framework to renderer features to a display. This could be in response to a refresh on the map. This method typically iterates through all the features and renders each feature with an appropriate symbol.
An individual feature is typically drawn by calling the Draw method on the feature's IFeatureDraw with the symbol created by the renderer. However, when writing a custom feature renderer you can draw anything you want using a number of different methods. To learn more see the section on writing a custom feature renderer in Extending ArcObjects.
To allow complex rendering to be canceled halfway through a draw, the renderer typically checks the TrackCancel object after each feature or set of features. If a cancel action has occurred, the renderer will exit.
There are three drawing phases: selection, annotation, and geography, and this method can be called by the framework up to three times. With the exception of the selection phase, this method will only be called for a particular draw phase if the call by the framework to RenderPhase returns true for that phase.
Feature renderers typically only draw features during the geography phase, though in some cases features are drawn in the annotation phase. Take for example a case where proportional symbols are drawn for polygon features. The ProportionalSymbolRenderer draws the background fill symbol during the geography phase and the proportionally sized marker symbol during the annotation phase.
draw
in interface IFeatureRenderer
cursor
- A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (in)drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getSymbolByFeature(IFeature feature) throws IOException, AutomationException
getSymbolByFeature
in interface IFeatureRenderer
feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRenderPhase(int drawPhase) throws IOException, AutomationException
isRenderPhase
in interface IFeatureRenderer
drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExclusionSetByRef(IFeatureIDSet rhs1) throws IOException, AutomationException
The list of feature IDs to be excluded from drawing.
Some feature renderers support IDataExclusion which allows you to build a where clause to exclude features.
Exclusion prevents features from drawing. To prevent features from drawing as well as from appearing in tables and in query results, set a layer definition query using IFeatureLayerDefinition.
setExclusionSetByRef
in interface IFeatureRenderer
rhs1
- A reference to a com.esri.arcgis.carto.IFeatureIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLegendGroupCount() throws IOException, AutomationException
The number of legend groups is determined by the implementation of the renderer, consequently this property is read only. For example, SimpleRenderer has one group, while a BiUniqueValueRenderer has any number of groups.
getLegendGroupCount
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendGroup getLegendGroup(int index) throws IOException, AutomationException
getLegendGroup
in interface ILegendInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendItem getLegendItem() throws IOException, AutomationException
Layer or renderer legend information is further formatted for display in ArcMap legends. A renderer can override this formatting by returning a LegendItem for this property. ESRI renderers typically do not return anything for this property. With this configuration, legend formatting becomes a user or developer choice on the legend object.
getLegendItem
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSymbolsAreGraduated() throws IOException, AutomationException
Indicates whether the symbols used for a layer or renderer's legend vary by size.
For example the proportional symbol renderer returns True for this property.
You can use this property to distinguish between a layer symbolized with graduated color or graduated symbol type layer symbology. Both of these symbolizations use a ClassBreaksRenderer, but only a graduated symbol symbolization will return True for this property.
isSymbolsAreGraduated
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolsAreGraduated(boolean symbolsAreGraduated) throws IOException, AutomationException
setSymbolsAreGraduated
in interface ILegendInfo
symbolsAreGraduated
- The symbolsAreGraduated (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentDrawLevel(int rhs1) throws IOException, AutomationException
This property is set by the framework at draw time to specify which symbol level the renderer is to draw. If implementing a custom renderer that implements ILevelRenderer, you can check this property in your implementation of IFeatureRenderer::Draw to know which symbol level to draw.
setCurrentDrawLevel
in interface ILevelRenderer
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getLevelArray() throws IOException, AutomationException
This property returns an
array of long integers representing all the the symbol levels of
the symbols used by the renderer.
getLevelArray
in interface ILevelRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getClassCount() throws IOException, AutomationException
getClassCount
in interface IRendererClasses
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String esri_getClass(int index) throws IOException, AutomationException
esri_getClass
in interface IRendererClasses
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getWhereClause(int index, ITable table) throws IOException, AutomationException
getWhereClause
in interface IRendererClasses
index
- The index (in)table
- A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRotationField() throws IOException, AutomationException
getRotationField
in interface IRotationRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotationField(String fieldName) throws IOException, AutomationException
setRotationField
in interface IRotationRenderer
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRotationType() throws IOException, AutomationException
getRotationType
in interface IRotationRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotationType(int type) throws IOException, AutomationException
setRotationType
in interface IRotationRenderer
type
- A com.esri.arcgis.carto.esriSymbolRotationType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTransparencyField() throws IOException, AutomationException
getTransparencyField
in interface ITransparencyRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparencyField(String fieldName) throws IOException, AutomationException
setTransparencyField
in interface ITransparencyRenderer
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object convertToSupportedObject(int docVersion) throws IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |