com.esri.arcgis.gisclient
Class WMTSTileMatrix

java.lang.Object
  extended by com.esri.arcgis.gisclient.WMTSTileMatrix
All Implemented Interfaces:
IWMTSTileMatrix, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class WMTSTileMatrix
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IWMTSTileMatrix

Object that describes a particular tile matrix

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
WMTSTileMatrix(Object obj)
          Construct a WMTSTileMatrix using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getIdentifier()
          Tile matrix set identifier.
 int getMatrixHeight()
          Height of each tile of this tile matrix in pixels.
 int getMatrixWidth()
          Width of each tile of this tile matrix in pixels.
 double getScaleDenominator()
          Scale denominator level of this tile matrix.
 int getTileHeight()
          Height of each tile of this tile matrix in pixels.
 int getTileWidth()
          Width of each tile of this tile matrix in pixels.
 _WKSPoint getTopLeftCorner()
          Position in CRS coordinates of the top-left corner of this tile matrix.
 int hashCode()
          the hashcode for this object
 
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

WMTSTileMatrix

public WMTSTileMatrix(Object obj)
               throws IOException
Construct a WMTSTileMatrix using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to WMTSTileMatrix.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
WMTSTileMatrix o = (WMTSTileMatrix)obj; // will not work

WMTSTileMatrix o = new WMTSTileMatrix(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems WMTSTileMatrix theWMTSTileMatrix = (WMTSTileMatrix) obj;
Method Detail

equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getIdentifier

public String getIdentifier()
                     throws IOException,
                            AutomationException
Tile matrix set identifier.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getScaleDenominator

public double getScaleDenominator()
                           throws IOException,
                                  AutomationException
Scale denominator level of this tile matrix.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getScaleDenominator in interface IWMTSTileMatrix
Returns:
The scale
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTopLeftCorner

public _WKSPoint getTopLeftCorner()
                           throws IOException,
                                  AutomationException
Position in CRS coordinates of the top-left corner of this tile matrix.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTopLeftCorner in interface IWMTSTileMatrix
Returns:
A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileWidth

public int getTileWidth()
                 throws IOException,
                        AutomationException
Width of each tile of this tile matrix in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTileWidth in interface IWMTSTileMatrix
Returns:
The width
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileHeight

public int getTileHeight()
                  throws IOException,
                         AutomationException
Height of each tile of this tile matrix in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getMatrixWidth

public int getMatrixWidth()
                   throws IOException,
                          AutomationException
Width of each tile of this tile matrix in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMatrixWidth in interface IWMTSTileMatrix
Returns:
The width
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMatrixHeight

public int getMatrixHeight()
                    throws IOException,
                           AutomationException
Height of each tile of this tile matrix in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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