OBEROn SDK

com.oberon.ooql.sdk
Class GraphValues.DataLabel

java.lang.Object
  extended by com.oberon.ooql.sdk.GraphValues.DataLabel
Enclosing class:
GraphValues

public class GraphValues.DataLabel
extends java.lang.Object

Defines a label for chart label axis or for a pie slice


Constructor Summary
GraphValues.DataLabel(java.lang.String text)
           
GraphValues.DataLabel(java.lang.String text, int offset, boolean displayValue)
           
 
Method Summary
 int getOffSet()
          Get the label offset
 java.lang.String getText()
          Get the label text
 boolean isDisplayValues()
           
 void setDisplayValues(boolean displayValue)
           
 void setOffSet(int offset)
          Set the label offset.
 void setText(java.lang.String text)
          Set the label text
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphValues.DataLabel

public GraphValues.DataLabel(java.lang.String text)
Parameters:
text - the label text

GraphValues.DataLabel

public GraphValues.DataLabel(java.lang.String text,
                             int offset,
                             boolean displayValue)
Parameters:
text - the label text
offset - the label offset respect to the chart label position
displayValue - true to show corresponding label values on the chart
Method Detail

setText

public void setText(java.lang.String text)
Set the label text


getText

public java.lang.String getText()
Get the label text


setOffSet

public void setOffSet(int offset)
Set the label offset.

Parameters:
offset - the label offset respect to the chart label position

getOffSet

public int getOffSet()
Get the label offset


setDisplayValues

public void setDisplayValues(boolean displayValue)

isDisplayValues

public boolean isDisplayValues()

OBEROn SDK

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