daoc.editor.model.properties
Class PointProperty
java.lang.Object
daoc.editor.model.properties.Property
daoc.editor.model.properties.PointProperty
- All Implemented Interfaces:
- java.io.Serializable
- public class PointProperty
- extends Property
A two component point (x, y). Also used for texture
coordinates and sizes.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointProperty
public PointProperty(java.lang.String name)
PointProperty
public PointProperty(org.w3c.dom.Element p,
java.lang.String child)
PointProperty
public PointProperty(int x,
int y)
getX
public int getX()
getY
public int getY()
setX
public void setX(int a)
setY
public void setY(int b)
writeXML
public void writeXML(java.io.Writer fout,
int indent)
throws java.io.IOException
- Specified by:
writeXML in class Property
- Throws:
java.io.IOException