OBEROn SDK

com.oberon.ooql.sdk
Class GraphStyler.VPoint

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

public class GraphStyler.VPoint
extends java.lang.Object

Chart ValuePoint


Constructor Summary
GraphStyler.VPoint(org.jdom.Element point)
          Generates a value point from XML element tree
GraphStyler.VPoint(int labelIndex, float value)
           
 
Method Summary
 void fromXML(org.jdom.Element point)
          Loads the value point parameters from XML element tree
 int getPosition()
          Get the value point label index
 float getValue()
          Get the value point value
 void setPosition(int labelIndex)
          Set the value point label index
 void setValue(float value)
          Set the value point value
 org.jdom.Element toXML(java.lang.String name)
          Return the value point as XML element tree
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphStyler.VPoint

public GraphStyler.VPoint(int labelIndex,
                          float value)
Parameters:
labelIndex - the label axis position or index
value - the corresponding value

GraphStyler.VPoint

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

Method Detail

setPosition

public void setPosition(int labelIndex)
Set the value point label index

Parameters:
labelIndex - the label axis position or index

getPosition

public int getPosition()
Get the value point label index


setValue

public void setValue(float value)
Set the value point value

Parameters:
value - the corresponding value

getValue

public float getValue()
Get the value point value


toXML

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

Parameters:
name - the root XML tag

fromXML

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


OBEROn SDK

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