com.infragistics.faces.chart.component
Class Caption

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

public class Caption
extends StyledText

Caption components may be nested within a Chart to display a styled label.

See Also:
Serialized Form

Constructor Summary
Caption()
           
 
Method Summary
 java.lang.String getPosition()
          Returns the automatic layout positioning flag.
 java.lang.String getStyle()
          Returns the CSS style applied when this caption is rendered.
 java.lang.String getStyleClass()
          Returns the CSS style applied when this component is rendered.
 void setPosition(java.lang.String position)
          Sets the automatic layout positioning flag.
 void setStyle(java.lang.String style)
          Sets the CSS style applied when this caption is rendered.
 void setStyleClass(java.lang.String styleClass)
          Sets the CSS style applied when this component is rendered.
 
Methods inherited from class com.infragistics.faces.chart.component.StyledText
getCaption, setCaption
 
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

Caption

public Caption()
Method Detail

getPosition

public java.lang.String getPosition()
Returns the automatic layout positioning flag.

Returns:
com.infragistics.faces.shared.enumeration.Position (bottom, left, right, top)

getStyle

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

Returns:
java.lang.String

getStyleClass

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

Overrides:
getStyleClass in class StyledText
Returns:
java.lang.String

setPosition

public void setPosition(java.lang.String position)
Sets the automatic layout positioning flag.

Parameters:
position - String (bottom, left, right, top)

setStyle

public void setStyle(java.lang.String style)
Sets the CSS style applied when this caption is rendered.

Parameters:
style - String

setStyleClass

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

Overrides:
setStyleClass in class StyledText
Parameters:
styleClass - String