Style Intelligence v12.0

inetsoft.graph.aesthetic
Class MultiTextFrame

java.lang.Object
  extended by inetsoft.graph.aesthetic.VisualFrame
      extended by inetsoft.graph.aesthetic.TextFrame
          extended by inetsoft.graph.aesthetic.MultiTextFrame
All Implemented Interfaces:
Serializable, Cloneable

public class MultiTextFrame
extends TextFrame

This text frame extracts text value from multiple columns of a dataset.

See Also:
Serialized Form

Constructor Summary
MultiTextFrame()
           
 
Method Summary
 boolean equals(Object obj)
          Check if equals another object.
 String getField()
          Get the column associated with this frame.
 String[] getFields()
          Get the fields for getting the stems.
 MessageFormat getMessageFormat()
          Get the message for formatting multiple values into a text.
 Object getText(DataSet data, String col, int row)
          Get the text for the specified cell.
protected  Object getText(Object[] vals)
          Get the text for the specified values.
 void setField(String field)
          Set the column associated with this frame.
 void setFields(String[] fields)
          Set the fields for the stems.
 void setMessageFormat(MessageFormat fmt)
          Set the message for formatting multiple values into a text.
 
Methods inherited from class inetsoft.graph.aesthetic.TextFrame
getKeys, getText, getTitle, getValues, getVisibleField, getVisibleRange, getVisibleValues, isTextVisible, isVisible, setVisibleField, setVisibleRange, setVisibleValues
 
Methods inherited from class inetsoft.graph.aesthetic.VisualFrame
clone, createComparator, getLabels, getLegendFrame, getLegendSpec, getScale, getScaleOption, hashCode, init, isValid, setLegendFrame, setLegendSpec, setScale, setScaleOption, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiTextFrame

public MultiTextFrame()
Method Detail

setField

public void setField(String field)
Set the column associated with this frame.

Overrides:
setField in class VisualFrame

getField

public String getField()
Get the column associated with this frame.

Overrides:
getField in class VisualFrame

setFields

public void setFields(String[] fields)
Set the fields for the stems.


getFields

public String[] getFields()
Get the fields for getting the stems.


setMessageFormat

public void setMessageFormat(MessageFormat fmt)
Set the message for formatting multiple values into a text.


getMessageFormat

public MessageFormat getMessageFormat()
Get the message for formatting multiple values into a text.


getText

public Object getText(DataSet data,
                      String col,
                      int row)
Get the text for the specified cell.

Overrides:
getText in class TextFrame
Parameters:
data - the specified dataset.
col - the specified column name.
row - the specified row index.

equals

public boolean equals(Object obj)
Description copied from class: VisualFrame
Check if equals another object. The default implementation will just test whether class is equal.

Overrides:
equals in class TextFrame

getText

protected Object getText(Object[] vals)
Get the text for the specified values.


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