|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicAlgoOrthogonal
public class SchematicAlgoOrthogonal
Orthogonal schematic algorithm object.
Constructor Summary | |
---|---|
SchematicAlgoOrthogonal()
Constructs a SchematicAlgoOrthogonal using ArcGIS Engine. |
|
SchematicAlgoOrthogonal(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SchematicAlgoOrthogonal theSchematicAlgoOrthogonal = (SchematicAlgoOrthogonal) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
execute(ISchematicLayer schematicLayer,
ITrackCancel cancelTracker)
Execute the schematic algorithm. |
String |
getAlgorithmCLSID()
The CLSID of the algorithm. |
double |
getAngle()
Counterclockwise rotation angle from the vertical axis that determines the direction for the orthogonal layout. |
double |
getBreakPoint()
Number comprised between 0 and 1 that allows computing the distance between the extremity node of the links and the break points that will be inserted on the links that are overlapping. |
static String |
getClsid()
getClsid. |
double |
getDistanceBetweenLinks()
Number comprised between 0 and 1 used to compute the distance between the links or the link segments that are overlapping so that they are separated. |
double |
getHorizontalStep()
Spacing between the nodes aligned on the same horizontal axis. |
String |
getLabel()
The label of the algorithm. |
IPropertySet |
getPropertySet()
The property set of the algorithm contains a collection of its parameters and their values. |
ISchematicDiagramClassName |
getSchematicDiagramClassName()
The diagram class object used to initialize the algorithm. |
double |
getVerticalStep()
Spacing between the nodes aligned on the same vertical axis. |
int |
hashCode()
the hashcode for this object |
boolean |
isAbsoluteParameters()
Indicates if the values set for the spacing and step parameters must be interpreted as absolute units. |
boolean |
isAvailable()
Indicates if the algorithm is currently available. |
boolean |
isEnabled(ISchematicLayer schematicLayer)
Indicates if the algorithm is currently enabled. |
boolean |
isOverridable()
Indicates if the algorithm properties page is editable from ArcMap; that is, enabling the Layout Properties button in ArcMap. |
boolean |
isUseEndNode()
Indicates if the algorithm use end nodes. |
boolean |
isUseRootNode()
Indicates if the algorithm use root nodes. |
void |
setAbsoluteParameters(boolean pVal)
Indicates if the values set for the spacing and step parameters must be interpreted as absolute units. |
void |
setAngle(double pVal)
Counterclockwise rotation angle from the vertical axis that determines the direction for the orthogonal layout. |
void |
setAvailable(boolean available)
Indicates if the algorithm is currently available. |
void |
setBreakPoint(double pVal)
Number comprised between 0 and 1 that allows computing the distance between the extremity node of the links and the break points that will be inserted on the links that are overlapping. |
void |
setDistanceBetweenLinks(double pVal)
Number comprised between 0 and 1 used to compute the distance between the links or the link segments that are overlapping so that they are separated. |
void |
setHorizontalStep(double pVal)
Spacing between the nodes aligned on the same horizontal axis. |
void |
setLabel(String label)
The label of the algorithm. |
void |
setOverridable(boolean pOverridable)
Indicates if the algorithm properties page is editable from ArcMap; that is, enabling the Layout Properties button in ArcMap. |
void |
setPropertySet(IPropertySet propertySet)
The property set of the algorithm contains a collection of its parameters and their values. |
void |
setSchematicDiagramClassNameByRef(ISchematicDiagramClassName schematicDiagramClassName)
The diagram class object used to initialize the algorithm. |
void |
setVerticalStep(double pVal)
Spacing between the nodes aligned on the same vertical axis. |
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 SchematicAlgoOrthogonal() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SchematicAlgoOrthogonal(Object obj) throws IOException
SchematicAlgoOrthogonal theSchematicAlgoOrthogonal = (SchematicAlgoOrthogonal) obj;
obj
to SchematicAlgoOrthogonal
.
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 double getHorizontalStep() throws IOException, AutomationException
This property value determines the minimum X distance between two nodes that are horizontally aligned. All nodes aligned on the same horizontal axis will be exactly spaced by this distance or by a multiple of this distance.
getHorizontalStep
in interface ISchematicAlgoOrthogonal
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicAlgoOrthogonal.getVerticalStep()
public void setHorizontalStep(double pVal) throws IOException, AutomationException
setHorizontalStep
in interface ISchematicAlgoOrthogonal
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getVerticalStep() throws IOException, AutomationException
This property value determines the minimum Y distance between two nodes that are vertically aligned. All nodes aligned on the same vertical axis will be exactly spaced by this distance or by a multiple of this distance.
getVerticalStep
in interface ISchematicAlgoOrthogonal
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicAlgoOrthogonal.getHorizontalStep()
public void setVerticalStep(double pVal) throws IOException, AutomationException
setVerticalStep
in interface ISchematicAlgoOrthogonal
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDistanceBetweenLinks() throws IOException, AutomationException
For horizontal links that are overlapping, this value is combined with the VerticalStep property value. When the VerticalStep value is 6 and the DistanceBetweenLinks property value is 0.5, the vertical spacing that will separate overlapping links will be 6 x 0.5; that is, 3. For vertical links that are overlapping, this value is combined with the HorizontalStep property value. When the HorizontalStep property value is 6 and the DistanceBetweenLinks property value is 0.5, the horizontal spacing that will separate overlapping links will be 6 x 0.5; that is, 3.
getDistanceBetweenLinks
in interface ISchematicAlgoOrthogonal
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDistanceBetweenLinks(double pVal) throws IOException, AutomationException
setDistanceBetweenLinks
in interface ISchematicAlgoOrthogonal
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getBreakPoint() throws IOException, AutomationException
For horizontal links that are overlapping, this value is combined with the HorizontalStep property value to compute the inserted break point X coordinate. When the HorizontalStep property value is 3 and the BreakPoint distance is 0.5, the horizontal spacing between the extremity node and the break point that will be inserted in order to separate the overlapping links will be 3 x 0.5; that is 1.5. For vertical links that are overlapping, this value is combined with the VerticalStep property value to compute the inserted break point Y coordinate. When the VerticalStep property value is 3 and the BreakPoint distance is 0.5, the vertical spacing between the extremity node and the break point that will be inserted in order to separate the overlapping links will be 3 x 0.5; that is 1.5.
getBreakPoint
in interface ISchematicAlgoOrthogonal
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBreakPoint(double pVal) throws IOException, AutomationException
setBreakPoint
in interface ISchematicAlgoOrthogonal
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAngle() throws IOException, AutomationException
By default, when no Angle value is specified, the Orthogonal layout arranges the schematic elements orthogonally positioning the root node at the bottom and the leave nodes at the top.
getAngle
in interface ISchematicAlgoOrthogonal
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAngle(double pVal) throws IOException, AutomationException
setAngle
in interface ISchematicAlgoOrthogonal
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAbsoluteParameters() throws IOException, AutomationException
When this property returns false, the parameters that define the distances are expressed as relative units to the average of the current symbols sizes used to represent the schematic nodes in the diagram; for instance, when the HorizontalStep property value is 2, the distance that separates two nodes that are horizontally aligned corresponds to the average size of two symbols placed side by side (or to a multiple of this average size).
isAbsoluteParameters
in interface ISchematicAlgoOrthogonal
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAbsoluteParameters(boolean pVal) throws IOException, AutomationException
setAbsoluteParameters
in interface ISchematicAlgoOrthogonal
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnabled(ISchematicLayer schematicLayer) throws IOException, AutomationException
isEnabled
in interface ISchematicAlgorithm
schematicLayer
- A reference to a com.esri.arcgis.schematic.ISchematicLayer (in, optional, pass 0 if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAvailable() throws IOException, AutomationException
isAvailable
in interface ISchematicAlgorithm
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAvailable(boolean available) throws IOException, AutomationException
setAvailable
in interface ISchematicAlgorithm
available
- The available (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOverridable() throws IOException, AutomationException
isOverridable
in interface ISchematicAlgorithm
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOverridable(boolean pOverridable) throws IOException, AutomationException
setOverridable
in interface ISchematicAlgorithm
pOverridable
- The pOverridable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagramClassName getSchematicDiagramClassName() throws IOException, AutomationException
getSchematicDiagramClassName
in interface ISchematicAlgorithm
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSchematicDiagramClassNameByRef(ISchematicDiagramClassName schematicDiagramClassName) throws IOException, AutomationException
setSchematicDiagramClassNameByRef
in interface ISchematicAlgorithm
schematicDiagramClassName
- A reference to a com.esri.arcgis.schematic.ISchematicDiagramClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLabel() throws IOException, AutomationException
getLabel
in interface ISchematicAlgorithm
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(String label) throws IOException, AutomationException
setLabel
in interface ISchematicAlgorithm
label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseRootNode() throws IOException, AutomationException
isUseRootNode
in interface ISchematicAlgorithm
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseEndNode() throws IOException, AutomationException
isUseEndNode
in interface ISchematicAlgorithm
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getPropertySet() throws IOException, AutomationException
getPropertySet
in interface ISchematicAlgorithm
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertySet(IPropertySet propertySet) throws IOException, AutomationException
setPropertySet
in interface ISchematicAlgorithm
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAlgorithmCLSID() throws IOException, AutomationException
getAlgorithmCLSID
in interface ISchematicAlgorithm
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void execute(ISchematicLayer schematicLayer, ITrackCancel cancelTracker) throws IOException, AutomationException
execute
in interface ISchematicAlgorithm
schematicLayer
- A reference to a com.esri.arcgis.schematic.ISchematicLayer (in, optional, pass 0 if not required)cancelTracker
- A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
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 |