Package iofXml.v3

Class MapPosition

  • All Implemented Interfaces:

    
    public class MapPosition
    
                        

    Defines a position in a map's coordinate system.

    Java class for MapPosition complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
    <complexType name="MapPosition">
      <complexContent>
        <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
          <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
          <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
          <attribute name="unit" default="mm">
            <simpleType>
              <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                <enumeration value="px"/>
                <enumeration value="mm"/>
              </restriction>
            </simpleType>
          </attribute>
        </restriction>
      </complexContent>
    </complexType>
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MapPosition()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      double getX() The number of units right of the center of the coordinate system.
      void setX(double value) Sets the value of the x property.
      double getY() The number of units below the center of the coordinate system.
      void setY(double value) Sets the value of the y property.
      String getUnit() The type of unit used.
      void setUnit(String value) Sets the value of the unit property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapPosition

        MapPosition()
    • Method Detail

      • getX

         double getX()

        The number of units right of the center of the coordinate system.

      • setX

         void setX(double value)

        Sets the value of the x property.

      • getY

         double getY()

        The number of units below the center of the coordinate system.

      • setY

         void setY(double value)

        Sets the value of the y property.

      • setUnit

         void setUnit(String value)

        Sets the value of the unit property.

        Parameters:
        value - allowed object is String