org.faceless.graph2
Class Text

java.lang.Object
  extended by org.faceless.graph2.AbstractMarker
      extended by org.faceless.graph2.Text

public class Text
extends AbstractMarker

A type of Marker that represents an item of Text. These can be placed onto the Graph wherever an AbstractMarker is required - ie with the Series.addMarker or PieGraph.setLabel methods.


Constructor Summary
Text(String text, TextStyle style)
          Create a Text marker
 
Method Summary
 String toString()
           
 
Methods inherited from class org.faceless.graph2.AbstractMarker
setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Text

public Text(String text,
            TextStyle style)
Create a Text marker

Parameters:
text - The text to display. May contain newlines '\n'.
style - The style of the text
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2011 Big Faceless Organization