com.infragistics.faces.chart.component
Class StyledText

java.lang.Object
  extended bycom.infragistics.faces.shared.component.ModelComponent
      extended bycom.infragistics.faces.chart.component.StyledText
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Caption

public class StyledText
extends ModelComponent

Represents a styled string placed within a styled rectangle.

This class is used internally by the charting component as the super class for Caption components and should not be instantiated by users.

See Also:
Serialized Form

Constructor Summary
StyledText()
           
 
Method Summary
 java.lang.String getCaption()
          Returns the string displayed by this component.
 java.lang.String getStyleClass()
          Returns the CSS style applied when this component is rendered.
 void setCaption(java.lang.String caption)
          Sets the string displayed by this component.
 void setStyleClass(java.lang.String styleClass)
          Sets the CSS style applied when this component is rendered.
 
Methods inherited from class com.infragistics.faces.shared.component.ModelComponent
getParent, getValueBinding, setParent, setValueBinding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyledText

public StyledText()
Method Detail

getCaption

public java.lang.String getCaption()
Returns the string displayed by this component.

Returns:
java.lang.String

setCaption

public void setCaption(java.lang.String caption)
Sets the string displayed by this component.

Parameters:
caption - String

getStyleClass

public java.lang.String getStyleClass()
Returns the CSS style applied when this component is rendered.

Returns:
java.lang.String

setStyleClass

public void setStyleClass(java.lang.String styleClass)
Sets the CSS style applied when this component is rendered.

Parameters:
styleClass - String