OBEROn SDK

com.oberon.ooql.sdk
Class GraphStyler.Point

java.lang.Object
  extended by com.oberon.ooql.sdk.GraphStyler.Point
Enclosing class:
GraphStyler

public class GraphStyler.Point
extends java.lang.Object

Chart canvas point


Constructor Summary
GraphStyler.Point(org.jdom.Element point)
          Generates a point from XML element tree
GraphStyler.Point(int hposition, int vposition)
           
 
Method Summary
 void fromXML(org.jdom.Element point)
          Loads the point parameters from XML element tree
 int getHorizontalCoord()
          Get the point horizontal position
 int getVerticalCoord()
          Get the point vertical position
 void setHorizontalCoord(int position)
          Set the point horizontal position
 void setVerticalCoord(int position)
          Set the point vertical position
 org.jdom.Element toXML(java.lang.String name)
          Return the point as XML element tree
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphStyler.Point

public GraphStyler.Point(int hposition,
                         int vposition)
Parameters:
hposition - the horizontal position
vposition - the vertical position

GraphStyler.Point

public GraphStyler.Point(org.jdom.Element point)
Generates a point from XML element tree

Method Detail

setHorizontalCoord

public void setHorizontalCoord(int position)
Set the point horizontal position


getHorizontalCoord

public int getHorizontalCoord()
Get the point horizontal position


setVerticalCoord

public void setVerticalCoord(int position)
Set the point vertical position


getVerticalCoord

public int getVerticalCoord()
Get the point vertical position


toXML

public org.jdom.Element toXML(java.lang.String name)
Return the point as XML element tree

Parameters:
name - the root XML tag

fromXML

public void fromXML(org.jdom.Element point)
Loads the point parameters from XML element tree


OBEROn SDK

Copyright © 2008-2014 Mirko Solazzi. All Rights Reserved.