com.esri.arcgis.carto
Class DimensionStyle

java.lang.Object
  extended by com.esri.arcgis.carto.DimensionStyle
All Implemented Interfaces:
IDimensionStyle, IDimensionStyleDisplay, IDimensionStyleText, com.esri.arcgis.interop.RemoteObjRef, IClone, IPersist, IPersistStream, java.io.Externalizable, java.io.Serializable

public class DimensionStyle
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDimensionStyle, IDimensionStyleDisplay, IDimensionStyleText, IPersistStream, IClone, java.io.Externalizable

COM Class 'DimensionStyle'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'A container of properties which dictate how a dimension feature is displayed.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.carto.IDimensionStyle
IID, IIDaa54768e_ea46_11d3_80d3_00c04f601565, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IDimensionStyleDisplay
IID, IIDd7e38a34_f92a_11d3_80d3_00c04f601565, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IDimensionStyleText
IID, IIDf9316364_f92a_11d3_80d3_00c04f601565, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.IClone
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
 
Constructor Summary
DimensionStyle()
          Constructs a DimensionStyle using ArcGIS Engine.
DimensionStyle(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DimensionStyle theDimensionStyle = (DimensionStyle) obj;
 
Method Summary
 void assign(IClone src)
          Assigns the properties of src to the receiver.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IClone esri_clone()
          Clones the receiver and assigns the result to *clone.
 double getBaselineHeight()
          Height of the construction for creating baseline dimensions with this style.
 IMarkerSymbol getBeginMarkerSymbol()
          Symbol used for the begin arrow.
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 int getDimensionLineDisplay()
          Dimension line display of the style.
 ILineSymbol getDimensionLineSymbol()
          Symbol used for the dimension line.
 int getDisplayPrecision()
          Precision for the value displayed by the dimension text.
 int getDisplayUnits()
          Units the length of the dimension text is displayed in.
 IMarkerSymbol getEndMarkerSymbol()
          Symbol used for the end arrow.
 java.lang.String getExpression()
          Text expression for the style.
 java.lang.String getExpressionParserName()
          Text expression parser for the text expression for the style.
 int getExtensionLineDisplay()
          Extension line display of the style.
 double getExtensionLineOffset()
          Length of the extension line offset.
 double getExtensionLineOvershot()
          Length of the extension line overshot.
 ILineSymbol getExtensionLineSymbol()
          Symbol used for the extension lines.
 int getID()
          ID of the style.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMarkerDisplay()
          Arrow display of the style.
 int getMarkerFit()
          Arrow fit policy of the style.
 double getMarkerFitTolerance()
          Arrow fit tolerance of the style.
 java.lang.String getName()
          Name of the style.
 java.lang.String getPrefix()
          Prefix for the text expression for the style.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 java.lang.String getSuffix()
          Suffix for the text expression for the style.
 int getTextDisplay()
          Text display setting for the style.
 int getTextFit()
          Text fit policy for the style.
 ITextSymbol getTextSymbol()
          Symbol used for the text.
 int hashCode()
          the hashcode for this object
 boolean isAlign()
          Indicates if the text should be aligned with the dimension line.
 boolean isConvertUnits()
          Indicates if the length of the dimension needs to be converted for display.
 void isDirty()
          isDirty
 boolean isDrawLineOnFit()
          Indicates if a dimension line should be drawn between the extension lines for an inward dimension.
 boolean isEqual(IClone other)
          Indicates if the receiver and other have the same properties.
 boolean isExpressionSimple()
          Indicates if the text expression is simple or custom for the style.
 boolean isExtendLineOnFit()
          Indicates if the dimension line will be extended to underline the text on inward dimensions.
 boolean isIdentical(IClone other)
          Indicates if the receiver and other are the same object.
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a DimensionStyle.
 void save(IStream pstm, int fClearDirty)
          save
 void setAlign(boolean align)
          Indicates if the text should be aligned with the dimension line.
 void setBaselineHeight(double height)
          Height of the construction for creating baseline dimensions with this style.
 void setBeginMarkerSymbol(IMarkerSymbol symbol)
          Symbol used for the begin arrow.
 void setConvertUnits(boolean convert)
          Indicates if the length of the dimension needs to be converted for display.
 void setDimensionLineDisplay(int displayOption)
          Dimension line display of the style.
 void setDimensionLineSymbol(ILineSymbol symbol)
          Symbol used for the dimension line.
 void setDisplayPrecision(int precision)
          Precision for the value displayed by the dimension text.
 void setDisplayUnits(int units)
          Units the length of the dimension text is displayed in.
 void setDrawLineOnFit(boolean draw)
          Indicates if a dimension line should be drawn between the extension lines for an inward dimension.
 void setEndMarkerSymbol(IMarkerSymbol symbol)
          Symbol used for the end arrow.
 void setExpression(java.lang.String expression)
          Text expression for the style.
 void setExpressionParserName(java.lang.String name)
          Text expression parser for the text expression for the style.
 void setExpressionSimple(boolean isSimple)
          Indicates if the text expression is simple or custom for the style.
 void setExtendLineOnFit(boolean draw)
          Indicates if the dimension line will be extended to underline the text on inward dimensions.
 void setExtensionLineDisplay(int displayOption)
          Extension line display of the style.
 void setExtensionLineOffset(double offset)
          Length of the extension line offset.
 void setExtensionLineOvershot(double overshot)
          Length of the extension line overshot.
 void setExtensionLineSymbol(ILineSymbol symbol)
          Symbol used for the extension lines.
 void setMarkerDisplay(int displayOption)
          Arrow display of the style.
 void setMarkerFit(int fit)
          Arrow fit policy of the style.
 void setMarkerFitTolerance(double tolerance)
          Arrow fit tolerance of the style.
 void setName(java.lang.String name)
          Name of the style.
 void setPrefix(java.lang.String prefix)
          Prefix for the text expression for the style.
 void setSuffix(java.lang.String suffix)
          Suffix for the text expression for the style.
 void setTextDisplay(int display)
          Text display setting for the style.
 void setTextFit(int fit)
          Text fit policy for the style.
 void setTextSymbol(ITextSymbol symbol)
          Symbol used for the text.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DimensionStyle

public DimensionStyle()
               throws java.io.IOException,
                      java.net.UnknownHostException
Constructs a DimensionStyle using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

DimensionStyle

public DimensionStyle(java.lang.Object obj)
               throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DimensionStyle theDimensionStyle = (DimensionStyle) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a DimensionStyle.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getID

public int getID()
          throws java.io.IOException,
                 AutomationException
ID of the style.

Specified by:
getID in interface IDimensionStyle
Returns:
The iD
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
Name of the style.

Specified by:
setName in interface IDimensionStyle
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the style.

Specified by:
getName in interface IDimensionStyle
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDimensionLineSymbol

public void setDimensionLineSymbol(ILineSymbol symbol)
                            throws java.io.IOException,
                                   AutomationException
Symbol used for the dimension line.

Specified by:
setDimensionLineSymbol in interface IDimensionStyleDisplay
Parameters:
symbol - A reference to a com.esri.arcgis.display.ILineSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionLineSymbol

public ILineSymbol getDimensionLineSymbol()
                                   throws java.io.IOException,
                                          AutomationException
Symbol used for the dimension line.

Specified by:
getDimensionLineSymbol in interface IDimensionStyleDisplay
Returns:
A reference to a com.esri.arcgis.display.ILineSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtensionLineSymbol

public void setExtensionLineSymbol(ILineSymbol symbol)
                            throws java.io.IOException,
                                   AutomationException
Symbol used for the extension lines.

Specified by:
setExtensionLineSymbol in interface IDimensionStyleDisplay
Parameters:
symbol - A reference to a com.esri.arcgis.display.ILineSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionLineSymbol

public ILineSymbol getExtensionLineSymbol()
                                   throws java.io.IOException,
                                          AutomationException
Symbol used for the extension lines.

Specified by:
getExtensionLineSymbol in interface IDimensionStyleDisplay
Returns:
A reference to a com.esri.arcgis.display.ILineSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBeginMarkerSymbol

public void setBeginMarkerSymbol(IMarkerSymbol symbol)
                          throws java.io.IOException,
                                 AutomationException
Symbol used for the begin arrow.

Specified by:
setBeginMarkerSymbol in interface IDimensionStyleDisplay
Parameters:
symbol - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBeginMarkerSymbol

public IMarkerSymbol getBeginMarkerSymbol()
                                   throws java.io.IOException,
                                          AutomationException
Symbol used for the begin arrow.

Specified by:
getBeginMarkerSymbol in interface IDimensionStyleDisplay
Returns:
A reference to a com.esri.arcgis.display.IMarkerSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEndMarkerSymbol

public void setEndMarkerSymbol(IMarkerSymbol symbol)
                        throws java.io.IOException,
                               AutomationException
Symbol used for the end arrow.

Specified by:
setEndMarkerSymbol in interface IDimensionStyleDisplay
Parameters:
symbol - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEndMarkerSymbol

public IMarkerSymbol getEndMarkerSymbol()
                                 throws java.io.IOException,
                                        AutomationException
Symbol used for the end arrow.

Specified by:
getEndMarkerSymbol in interface IDimensionStyleDisplay
Returns:
A reference to a com.esri.arcgis.display.IMarkerSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtensionLineOvershot

public void setExtensionLineOvershot(double overshot)
                              throws java.io.IOException,
                                     AutomationException
Length of the extension line overshot.

Specified by:
setExtensionLineOvershot in interface IDimensionStyleDisplay
Parameters:
overshot - The overshot (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionLineOvershot

public double getExtensionLineOvershot()
                                throws java.io.IOException,
                                       AutomationException
Length of the extension line overshot.

Specified by:
getExtensionLineOvershot in interface IDimensionStyleDisplay
Returns:
The overshot
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtensionLineOffset

public void setExtensionLineOffset(double offset)
                            throws java.io.IOException,
                                   AutomationException
Length of the extension line offset.

Specified by:
setExtensionLineOffset in interface IDimensionStyleDisplay
Parameters:
offset - The offset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionLineOffset

public double getExtensionLineOffset()
                              throws java.io.IOException,
                                     AutomationException
Length of the extension line offset.

Specified by:
getExtensionLineOffset in interface IDimensionStyleDisplay
Returns:
The offset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDimensionLineDisplay

public void setDimensionLineDisplay(int displayOption)
                             throws java.io.IOException,
                                    AutomationException
Dimension line display of the style.

Specified by:
setDimensionLineDisplay in interface IDimensionStyleDisplay
Parameters:
displayOption - A com.esri.arcgis.carto.esriDimensionDisplay constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionLineDisplay

public int getDimensionLineDisplay()
                            throws java.io.IOException,
                                   AutomationException
Dimension line display of the style.

Specified by:
getDimensionLineDisplay in interface IDimensionStyleDisplay
Returns:
A com.esri.arcgis.carto.esriDimensionDisplay constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtensionLineDisplay

public void setExtensionLineDisplay(int displayOption)
                             throws java.io.IOException,
                                    AutomationException
Extension line display of the style.

Specified by:
setExtensionLineDisplay in interface IDimensionStyleDisplay
Parameters:
displayOption - A com.esri.arcgis.carto.esriDimensionDisplay constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionLineDisplay

public int getExtensionLineDisplay()
                            throws java.io.IOException,
                                   AutomationException
Extension line display of the style.

Specified by:
getExtensionLineDisplay in interface IDimensionStyleDisplay
Returns:
A com.esri.arcgis.carto.esriDimensionDisplay constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMarkerDisplay

public void setMarkerDisplay(int displayOption)
                      throws java.io.IOException,
                             AutomationException
Arrow display of the style.

Specified by:
setMarkerDisplay in interface IDimensionStyleDisplay
Parameters:
displayOption - A com.esri.arcgis.carto.esriDimensionDisplay constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMarkerDisplay

public int getMarkerDisplay()
                     throws java.io.IOException,
                            AutomationException
Arrow display of the style.

Specified by:
getMarkerDisplay in interface IDimensionStyleDisplay
Returns:
A com.esri.arcgis.carto.esriDimensionDisplay constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMarkerFit

public void setMarkerFit(int fit)
                  throws java.io.IOException,
                         AutomationException
Arrow fit policy of the style.

Specified by:
setMarkerFit in interface IDimensionStyleDisplay
Parameters:
fit - A com.esri.arcgis.carto.esriDimensionMarkerFit constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMarkerFit

public int getMarkerFit()
                 throws java.io.IOException,
                        AutomationException
Arrow fit policy of the style.

Specified by:
getMarkerFit in interface IDimensionStyleDisplay
Returns:
A com.esri.arcgis.carto.esriDimensionMarkerFit constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMarkerFitTolerance

public void setMarkerFitTolerance(double tolerance)
                           throws java.io.IOException,
                                  AutomationException
Arrow fit tolerance of the style.

Specified by:
setMarkerFitTolerance in interface IDimensionStyleDisplay
Parameters:
tolerance - The tolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMarkerFitTolerance

public double getMarkerFitTolerance()
                             throws java.io.IOException,
                                    AutomationException
Arrow fit tolerance of the style.

Specified by:
getMarkerFitTolerance in interface IDimensionStyleDisplay
Returns:
The tolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDrawLineOnFit

public void setDrawLineOnFit(boolean draw)
                      throws java.io.IOException,
                             AutomationException
Indicates if a dimension line should be drawn between the extension lines for an inward dimension.

Specified by:
setDrawLineOnFit in interface IDimensionStyleDisplay
Parameters:
draw - The draw (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDrawLineOnFit

public boolean isDrawLineOnFit()
                        throws java.io.IOException,
                               AutomationException
Indicates if a dimension line should be drawn between the extension lines for an inward dimension.

Specified by:
isDrawLineOnFit in interface IDimensionStyleDisplay
Returns:
The draw
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBaselineHeight

public void setBaselineHeight(double height)
                       throws java.io.IOException,
                              AutomationException
Height of the construction for creating baseline dimensions with this style.

Specified by:
setBaselineHeight in interface IDimensionStyleDisplay
Parameters:
height - The height (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBaselineHeight

public double getBaselineHeight()
                         throws java.io.IOException,
                                AutomationException
Height of the construction for creating baseline dimensions with this style.

Specified by:
getBaselineHeight in interface IDimensionStyleDisplay
Returns:
The height
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextSymbol

public void setTextSymbol(ITextSymbol symbol)
                   throws java.io.IOException,
                          AutomationException
Symbol used for the text.

Specified by:
setTextSymbol in interface IDimensionStyleText
Parameters:
symbol - A reference to a com.esri.arcgis.display.ITextSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextSymbol

public ITextSymbol getTextSymbol()
                          throws java.io.IOException,
                                 AutomationException
Symbol used for the text.

Specified by:
getTextSymbol in interface IDimensionStyleText
Returns:
A reference to a com.esri.arcgis.display.ITextSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAlign

public void setAlign(boolean align)
              throws java.io.IOException,
                     AutomationException
Indicates if the text should be aligned with the dimension line.

Specified by:
setAlign in interface IDimensionStyleText
Parameters:
align - The align (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAlign

public boolean isAlign()
                throws java.io.IOException,
                       AutomationException
Indicates if the text should be aligned with the dimension line.

Specified by:
isAlign in interface IDimensionStyleText
Returns:
The align
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDisplayUnits

public void setDisplayUnits(int units)
                     throws java.io.IOException,
                            AutomationException
Units the length of the dimension text is displayed in.

Specified by:
setDisplayUnits in interface IDimensionStyleText
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayUnits

public int getDisplayUnits()
                    throws java.io.IOException,
                           AutomationException
Units the length of the dimension text is displayed in.

Specified by:
getDisplayUnits in interface IDimensionStyleText
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConvertUnits

public void setConvertUnits(boolean convert)
                     throws java.io.IOException,
                            AutomationException
Indicates if the length of the dimension needs to be converted for display.

Specified by:
setConvertUnits in interface IDimensionStyleText
Parameters:
convert - The convert (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isConvertUnits

public boolean isConvertUnits()
                       throws java.io.IOException,
                              AutomationException
Indicates if the length of the dimension needs to be converted for display.

Specified by:
isConvertUnits in interface IDimensionStyleText
Returns:
The convert
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDisplayPrecision

public void setDisplayPrecision(int precision)
                         throws java.io.IOException,
                                AutomationException
Precision for the value displayed by the dimension text.

Specified by:
setDisplayPrecision in interface IDimensionStyleText
Parameters:
precision - The precision (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayPrecision

public int getDisplayPrecision()
                        throws java.io.IOException,
                               AutomationException
Precision for the value displayed by the dimension text.

Specified by:
getDisplayPrecision in interface IDimensionStyleText
Returns:
The precision
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextDisplay

public void setTextDisplay(int display)
                    throws java.io.IOException,
                           AutomationException
Text display setting for the style.

Specified by:
setTextDisplay in interface IDimensionStyleText
Parameters:
display - A com.esri.arcgis.carto.esriDimensionTextDisplay constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextDisplay

public int getTextDisplay()
                   throws java.io.IOException,
                          AutomationException
Text display setting for the style.

Specified by:
getTextDisplay in interface IDimensionStyleText
Returns:
A com.esri.arcgis.carto.esriDimensionTextDisplay constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpression

public void setExpression(java.lang.String expression)
                   throws java.io.IOException,
                          AutomationException
Text expression for the style.

Specified by:
setExpression in interface IDimensionStyleText
Parameters:
expression - The expression (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExpression

public java.lang.String getExpression()
                               throws java.io.IOException,
                                      AutomationException
Text expression for the style.

Specified by:
getExpression in interface IDimensionStyleText
Returns:
The expression
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpressionParserName

public void setExpressionParserName(java.lang.String name)
                             throws java.io.IOException,
                                    AutomationException
Text expression parser for the text expression for the style.

Specified by:
setExpressionParserName in interface IDimensionStyleText
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExpressionParserName

public java.lang.String getExpressionParserName()
                                         throws java.io.IOException,
                                                AutomationException
Text expression parser for the text expression for the style.

Specified by:
getExpressionParserName in interface IDimensionStyleText
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpressionSimple

public void setExpressionSimple(boolean isSimple)
                         throws java.io.IOException,
                                AutomationException
Indicates if the text expression is simple or custom for the style.

Specified by:
setExpressionSimple in interface IDimensionStyleText
Parameters:
isSimple - The isSimple (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isExpressionSimple

public boolean isExpressionSimple()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the text expression is simple or custom for the style.

Specified by:
isExpressionSimple in interface IDimensionStyleText
Returns:
The isSimple
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrefix

public void setPrefix(java.lang.String prefix)
               throws java.io.IOException,
                      AutomationException
Prefix for the text expression for the style.

Specified by:
setPrefix in interface IDimensionStyleText
Parameters:
prefix - The prefix (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrefix

public java.lang.String getPrefix()
                           throws java.io.IOException,
                                  AutomationException
Prefix for the text expression for the style.

Specified by:
getPrefix in interface IDimensionStyleText
Returns:
The prefix
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSuffix

public void setSuffix(java.lang.String suffix)
               throws java.io.IOException,
                      AutomationException
Suffix for the text expression for the style.

Specified by:
setSuffix in interface IDimensionStyleText
Parameters:
suffix - The suffix (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSuffix

public java.lang.String getSuffix()
                           throws java.io.IOException,
                                  AutomationException
Suffix for the text expression for the style.

Specified by:
getSuffix in interface IDimensionStyleText
Returns:
The suffix
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextFit

public void setTextFit(int fit)
                throws java.io.IOException,
                       AutomationException
Text fit policy for the style.

Specified by:
setTextFit in interface IDimensionStyleText
Parameters:
fit - A com.esri.arcgis.carto.esriDimensionTextFit constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextFit

public int getTextFit()
               throws java.io.IOException,
                      AutomationException
Text fit policy for the style.

Specified by:
getTextFit in interface IDimensionStyleText
Returns:
A com.esri.arcgis.carto.esriDimensionTextFit constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtendLineOnFit

public void setExtendLineOnFit(boolean draw)
                        throws java.io.IOException,
                               AutomationException
Indicates if the dimension line will be extended to underline the text on inward dimensions.

Specified by:
setExtendLineOnFit in interface IDimensionStyleText
Parameters:
draw - The draw (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isExtendLineOnFit

public boolean isExtendLineOnFit()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the dimension line will be extended to underline the text on inward dimensions.

Specified by:
isExtendLineOnFit in interface IDimensionStyleText
Returns:
The draw
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public IClone esri_clone()
                  throws java.io.IOException,
                         AutomationException
Clones the receiver and assigns the result to *clone.

Specified by:
esri_clone in interface IClone
Returns:
A reference to a com.esri.arcgis.system.IClone
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assign

public void assign(IClone src)
            throws java.io.IOException,
                   AutomationException
Assigns the properties of src to the receiver.

Specified by:
assign in interface IClone
Parameters:
src - A reference to a com.esri.arcgis.system.IClone (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqual

public boolean isEqual(IClone other)
                throws java.io.IOException,
                       AutomationException
Indicates if the receiver and other have the same properties.

Specified by:
isEqual in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The equal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIdentical

public boolean isIdentical(IClone other)
                    throws java.io.IOException,
                           AutomationException
Indicates if the receiver and other are the same object.

Specified by:
isIdentical in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The identical
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException