Style Intelligence v12.0

inetsoft.graph.aesthetic
Class DefaultTextFrame

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

public class DefaultTextFrame
extends TextFrame
implements CategoricalFrame

This class extracts value from a dataset to be used as text labels of visual objects.

See Also:
Serialized Form

Constructor Summary
DefaultTextFrame()
          Create a text frame.
DefaultTextFrame(String field)
          Create a text frame.
 
Method Summary
 Collection getKeys()
          Get the aliased values.
 Object getText(Object val)
          Get the text for the specified value.
 boolean isStatic(Object val)
          Check if the value is assigned a static aesthetic value.
 boolean isValid()
          Check if this frame has been initialized and is ready to be used.
 void setText(Object val, Object text)
          Set the text for the specified value.
 
Methods inherited from class inetsoft.graph.aesthetic.TextFrame
equals, getText, getTitle, getValues, getVisibleField, getVisibleRange, getVisibleValues, isTextVisible, isVisible, setVisibleField, setVisibleRange, setVisibleValues
 
Methods inherited from class inetsoft.graph.aesthetic.VisualFrame
clone, createComparator, getField, getLabels, getLegendFrame, getLegendSpec, getScale, getScaleOption, hashCode, init, setField, setLegendFrame, setLegendSpec, setScale, setScaleOption, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTextFrame

public DefaultTextFrame()
Create a text frame. The field needs to be set by calling setField.


DefaultTextFrame

public DefaultTextFrame(String field)
Create a text frame.

Parameters:
field - field to get value to map to text labels.
Method Detail

getText

public Object getText(Object val)
Get the text for the specified value.

Overrides:
getText in class TextFrame

setText

public void setText(Object val,
                    Object text)
Set the text for the specified value.


getKeys

public Collection getKeys()
Get the aliased values.

Overrides:
getKeys in class TextFrame

isValid

public boolean isValid()
Check if this frame has been initialized and is ready to be used.

Overrides:
isValid in class VisualFrame

isStatic

public boolean isStatic(Object val)
Check if the value is assigned a static aesthetic value.

Specified by:
isStatic in interface CategoricalFrame

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