com.sencha.gxt.widget.core.client.grid
Class AggregationRowConfig<M>

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.grid.AggregationRowConfig<M>
Type Parameters:
M - the model type

public class AggregationRowConfig<M>
extends java.lang.Object

Defines the configuration information for an aggregation row.


Constructor Summary
AggregationRowConfig()
          Creates a new aggregation row config.s
 
Method Summary
 java.lang.String getCellStyle(ColumnConfig<M,?> id)
          Returns the cell style for the given column.
 AggregationRenderer<M> getRenderer(ColumnConfig<M,?> config)
          Returns the aggregation renderer for the given column.
 void setCellStyle(ColumnConfig<M,?> config, java.lang.String style)
          Sets the cell style for the given column.
 void setRenderer(ColumnConfig<M,?> config, AggregationRenderer<M> renderer)
          Sets the aggregation renderer for the given column.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationRowConfig

public AggregationRowConfig()
Creates a new aggregation row config.s

Method Detail

getCellStyle

public java.lang.String getCellStyle(ColumnConfig<M,?> id)
Returns the cell style for the given column.

Parameters:
id - the column id
Returns:
the CSS style name

getRenderer

public AggregationRenderer<M> getRenderer(ColumnConfig<M,?> config)
Returns the aggregation renderer for the given column.

Parameters:
config - the column
Returns:
the aggregation renderer

setCellStyle

public void setCellStyle(ColumnConfig<M,?> config,
                         java.lang.String style)
Sets the cell style for the given column.

Parameters:
config - the column
style - the CSS style name

setRenderer

public void setRenderer(ColumnConfig<M,?> config,
                        AggregationRenderer<M> renderer)
Sets the aggregation renderer for the given column.

Parameters:
config - the column
renderer - the renderer


Copyright © 2012. All Rights Reserved.