Style Intelligence v12.0

inetsoft.report.lens
Class DefaultTextLens

java.lang.Object
  extended by inetsoft.report.lens.DefaultTextLens
All Implemented Interfaces:
TextLens, Serializable, Cloneable
Direct Known Subclasses:
DefaultHeadingLens

public class DefaultTextLens
extends Object
implements TextLens

A wrapper class for a text string to provide a TextLens interface.

See Also:
Serialized Form

Constructor Summary
DefaultTextLens()
          Create an empty text lens.
DefaultTextLens(String text)
          Create a wrapper with the text contents.
 
Method Summary
 Object clone()
          Make a copy of the text lens.
 String getText()
          Get the text contents.
 void setText(String text)
          Set the text contents.
 String toString()
          Get the string representation.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTextLens

public DefaultTextLens()
Create an empty text lens.


DefaultTextLens

public DefaultTextLens(String text)
Create a wrapper with the text contents.

Parameters:
text - string value.
Method Detail

getText

public String getText()
Get the text contents.

Specified by:
getText in interface TextLens
Returns:
string value.

setText

public void setText(String text)
Set the text contents.

Parameters:
text - content.

clone

public Object clone()
Make a copy of the text lens.

Specified by:
clone in interface TextLens
Overrides:
clone in class Object

toString

public String toString()
Get the string representation.

Overrides:
toString in class Object

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.