|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean isVisible() throws IOException, AutomationException
isVisible
in interface IFieldInfo
isVisible
in interface IFieldInfo2
isVisible
in interface IFieldInfo3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(boolean visible) throws IOException, AutomationException
setVisible
in interface IFieldInfo
setVisible
in interface IFieldInfo2
setVisible
in interface IFieldInfo3
visible
- 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 IFieldInfo
getAlias
in interface IFieldInfo2
getAlias
in interface IFieldInfo3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAlias(String aliasName) throws IOException, AutomationException
setAlias
in interface IFieldInfo
setAlias
in interface IFieldInfo2
setAlias
in interface IFieldInfo3
aliasName
- 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 IFieldInfo
getNumberFormat
in interface IFieldInfo2
getNumberFormat
in interface IFieldInfo3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumberFormatByRef(INumberFormat format) throws IOException, AutomationException
setNumberFormatByRef
in interface IFieldInfo
setNumberFormatByRef
in interface IFieldInfo2
setNumberFormatByRef
in interface IFieldInfo3
format
- 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 IFieldInfo
getAsString
in interface IFieldInfo2
getAsString
in interface IFieldInfo3
value
- 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 IFieldInfo2
isValueAsRatio
in interface IFieldInfo3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValueAsRatio(boolean ratio) throws IOException, AutomationException
setValueAsRatio
in interface IFieldInfo2
setValueAsRatio
in interface IFieldInfo3
ratio
- 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 IFieldInfo3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHighlight(boolean highlight) throws IOException, AutomationException
setHighlight
in interface IFieldInfo3
highlight
- 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 IFieldInfo3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReadonly(boolean readonlyField) throws IOException, AutomationException
setReadonly
in interface IFieldInfo3
readonlyField
- 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 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 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 |