org.ow2.weblab.core.model
Class Coordinate

java.lang.Object
  extended by org.ow2.weblab.core.model.Coordinate
All Implemented Interfaces:
java.io.Serializable

public class Coordinate
extends java.lang.Object
implements java.io.Serializable

A coordinate is a simple container of two dimensional coordinate aiming at localising information spatially in a mediaUnit; for instance in an image or a video. Those dimensions are generally explained in pixel, given the fact that it starts at bottom-left with (0;0). Other measure somehow references are possible. Data Exchange Model for WebLab platform provided by CASSIDIAN Multimedia package - Version 1.2 - 2010/08

Java class for Coordinate complex type.

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

 <complexType name="Coordinate">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  int x
           
protected  int y
           
 
Constructor Summary
Coordinate()
           
 
Method Summary
 int getX()
          Gets the value of the x property.
 int getY()
          Gets the value of the y property.
 void setX(int value)
          Sets the value of the x property.
 void setY(int value)
          Sets the value of the y property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected int x

y

protected int y
Constructor Detail

Coordinate

public Coordinate()
Method Detail

getX

public int getX()
Gets the value of the x property.


setX

public void setX(int value)
Sets the value of the x property.


getY

public int getY()
Gets the value of the y property.


setY

public void setY(int value)
Sets the value of the y property.



Copyright © 2004-2010. All Rights Reserved.