com.infragistics.faces.chart.component
Class LegendItem

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

public class LegendItem
extends ModelComponent

A legend item represent rows in the chart legend.

Most commonly, legend items are automatically created by the legend. However, users may occaisionally wish to control the legend contents manually.

See Also:
Serialized Form

Constructor Summary
LegendItem()
           
 
Method Summary
 java.lang.String getColumns()
          Returns the Legend column items
 java.lang.String getSampleStyleClass()
          Returns the CSS style class used to create the sample rectangle for this legend item.
 java.lang.String getStyleClass()
          Returns the CSS styleclass applied when this legend item is rendered.
 boolean isVisible()
          Returns the item visibility flag.
 void setColumns(java.lang.String columns)
          Sets the collection of strings defining this legend item's columns.
 void setSampleStyleClass(java.lang.String sampleStyleClass)
          Sets the CSS style class used to create the sample rectangle for this legend item.
 void setStyleClass(java.lang.String styleClass)
          Sets the CSS styleclass applied when this legend item is rendered.
 void setVisible(boolean visible)
          Sets the item visibility flag.
 
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

LegendItem

public LegendItem()
Method Detail

getColumns

public java.lang.String getColumns()
Returns the Legend column items

Returns:
String

getSampleStyleClass

public java.lang.String getSampleStyleClass()
Returns the CSS style class used to create the sample rectangle for this legend item.

Returns:
java.lang.String

getStyleClass

public java.lang.String getStyleClass()
Returns the CSS styleclass applied when this legend item is rendered.

Returns:
java.lang.String

isVisible

public boolean isVisible()
Returns the item visibility flag.

Returns:
boolean

setColumns

public void setColumns(java.lang.String columns)
Sets the collection of strings defining this legend item's columns.

Parameters:
columns - String

setSampleStyleClass

public void setSampleStyleClass(java.lang.String sampleStyleClass)
Sets the CSS style class used to create the sample rectangle for this legend item.

Parameters:
sampleStyleClass - String

setStyleClass

public void setStyleClass(java.lang.String styleClass)
Sets the CSS styleclass applied when this legend item is rendered.

Parameters:
styleClass - String

setVisible

public void setVisible(boolean visible)
Sets the item visibility flag.

Parameters:
visible - boolean