|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.FieldInfo
public class FieldInfo
Stores extended field information.
| Constructor Summary | |
|---|---|
FieldInfo()
Constructs a FieldInfo using ArcGIS Engine. |
|
FieldInfo(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FieldInfo theFieldInfo = (FieldInfo) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
getAlias()
The alias for the field. |
String |
getAsString(Object value)
The string representation of a given value based on the current field information. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
INumberFormat |
getNumberFormat()
The number format for the field (invalid if non-numeric field). |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isHighlight()
Indicates how the field should be presented. |
boolean |
isReadonly()
Indicates how the field should be presented. |
boolean |
isValueAsRatio()
Indicates if the field value should be the ratio of itself. |
boolean |
isVisible()
Indicates if the field is visible. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAlias(String aliasName)
The alias for the field. |
void |
setHighlight(boolean highlight)
Indicates how the field should be presented. |
void |
setNumberFormatByRef(INumberFormat format)
The number format for the field (invalid if non-numeric field). |
void |
setReadonly(boolean readonlyField)
Indicates how the field should be presented. |
void |
setValueAsRatio(boolean ratio)
Indicates if the field value should be the ratio of itself. |
void |
setVisible(boolean visible)
Indicates if the field is visible. |
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 FieldInfo()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public FieldInfo(Object obj)
throws IOException
FieldInfo theFieldInfo = (FieldInfo) obj;
obj to FieldInfo.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public boolean isVisible()
throws IOException,
AutomationException
isVisible in interface IFieldInfoisVisible in interface IFieldInfo2isVisible in interface IFieldInfo3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVisible(boolean visible)
throws IOException,
AutomationException
setVisible in interface IFieldInfosetVisible in interface IFieldInfo2setVisible in interface IFieldInfo3visible - The visible (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getAlias()
throws IOException,
AutomationException
getAlias in interface IFieldInfogetAlias in interface IFieldInfo2getAlias in interface IFieldInfo3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAlias(String aliasName)
throws IOException,
AutomationException
setAlias in interface IFieldInfosetAlias in interface IFieldInfo2setAlias in interface IFieldInfo3aliasName - The aliasName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INumberFormat getNumberFormat()
throws IOException,
AutomationException
getNumberFormat in interface IFieldInfogetNumberFormat in interface IFieldInfo2getNumberFormat in interface IFieldInfo3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNumberFormatByRef(INumberFormat format)
throws IOException,
AutomationException
setNumberFormatByRef in interface IFieldInfosetNumberFormatByRef in interface IFieldInfo2setNumberFormatByRef in interface IFieldInfo3format - A reference to a com.esri.arcgis.system.INumberFormat (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getAsString(Object value)
throws IOException,
AutomationException
getAsString in interface IFieldInfogetAsString in interface IFieldInfo2getAsString in interface IFieldInfo3value - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValueAsRatio()
throws IOException,
AutomationException
isValueAsRatio in interface IFieldInfo2isValueAsRatio in interface IFieldInfo3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setValueAsRatio(boolean ratio)
throws IOException,
AutomationException
setValueAsRatio in interface IFieldInfo2setValueAsRatio in interface IFieldInfo3ratio - The ratio (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHighlight()
throws IOException,
AutomationException
This property determines if the field is highlighted in clients that choose to implement it.
Setting the value to true highlights the field name in yellow within the ArcMap identify and attributes window.
In the Arcmap UI this is set in the layer field properties dialog.
isHighlight in interface IFieldInfo3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHighlight(boolean highlight)
throws IOException,
AutomationException
setHighlight in interface IFieldInfo3highlight - The highlight (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReadonly()
throws IOException,
AutomationException
This property determines if the field is read only in clients that choose to implement it.
Setting the value to true will make the field read only in clients such as the ArcMap editor attribute window. This property only applies to clients that choose to implement it.
In the Arcmap UI this is set in the layer field properties dialog.
isReadonly in interface IFieldInfo3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReadonly(boolean readonlyField)
throws IOException,
AutomationException
setReadonly in interface IFieldInfo3readonlyField - The readonlyField (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 IPersistStreamIOException - 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 IPersistStreampstm - 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 IPersistStreampstm - 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 IPersistStreampcbSize - 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 IPersistpClassID - 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 void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||