|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.GraphicAttributeDashType
public class GraphicAttributeDashType
Dash graphic attribute type.
GraphicAttributeDashType is a type of graphic attribute used for defining dash patterns. GeometricEffectDash objects uses this type to define its pattern.
Constructor Summary | |
---|---|
GraphicAttributeDashType()
Constructs a GraphicAttributeDashType using ArcGIS Engine. |
|
GraphicAttributeDashType(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GraphicAttributeDashType theGraphicAttributeDashType = (GraphicAttributeDashType) obj; |
Method Summary | |
---|---|
void |
drawValue(Object value,
tagRECT rect,
int hDC,
boolean readOnly)
Draws a value on the device context. |
boolean |
equals(Object o)
Compare this object with another |
void |
formatForDisplay(int units,
Object[] val)
Formats a graphic attribute value according to a given unit before displaying it. |
void |
formatFromDisplay(int units,
Object[] val)
Converts a graphic attribute value coming from the UI to points. |
Object |
formatValue(Object value)
Formats the graphic attribute value. |
static String |
getClsid()
getClsid. |
int |
getDashType()
Type of dash attribute. |
int |
getType()
The graphic attribute type. |
int |
hashCode()
the hashcode for this object |
void |
setDashType(int val)
Type of dash attribute. |
Object |
textToValue(String text)
Converts text to the graphic attribute value. |
String |
valueToText(Object value)
Converts the graphic attribute value to text. |
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 GraphicAttributeDashType() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GraphicAttributeDashType(Object obj) throws IOException
GraphicAttributeDashType theGraphicAttributeDashType = (GraphicAttributeDashType) obj;
obj
to GraphicAttributeDashType
.
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 int getType() throws IOException, AutomationException
getType
in interface IGraphicAttributeType
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object formatValue(Object value) throws IOException, AutomationException
formatValue
in interface IGraphicAttributeType
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object textToValue(String text) throws IOException, AutomationException
textToValue
in interface IGraphicAttributeType
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String valueToText(Object value) throws IOException, AutomationException
valueToText
in interface IGraphicAttributeType
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawValue(Object value, tagRECT rect, int hDC, boolean readOnly) throws IOException, AutomationException
drawValue
in interface IGraphicAttributeType
value
- A Variant (in)rect
- A Structure: com.esri.arcgis.system.tagRECT (in)hDC
- The hDC (A COM typedef) (in)readOnly
- The readOnly (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDashType() throws IOException, AutomationException
getDashType
in interface IGraphicAttributeDashType
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDashType(int val) throws IOException, AutomationException
setDashType
in interface IGraphicAttributeDashType
val
- A com.esri.arcgis.display.esriDashAttributeType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void formatForDisplay(int units, Object[] val) throws IOException, AutomationException
formatForDisplay
in interface IGraphicAttributeTypeUsingUnits
units
- A com.esri.arcgis.system.esriUnits constant (in)val
- A Variant (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void formatFromDisplay(int units, Object[] val) throws IOException, AutomationException
formatFromDisplay
in interface IGraphicAttributeTypeUsingUnits
units
- A com.esri.arcgis.system.esriUnits constant (in)val
- A Variant (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |