org.drools.guvnor.client.modeldriven.ui
Class TemplateDataCellFactory

java.lang.Object
  extended by org.drools.guvnor.client.widgets.decoratedgrid.AbstractCellFactory<TemplateDataColumn>
      extended by org.drools.guvnor.client.modeldriven.ui.TemplateDataCellFactory

public class TemplateDataCellFactory
extends AbstractCellFactory<TemplateDataColumn>


Field Summary
 
Fields inherited from class org.drools.guvnor.client.widgets.decoratedgrid.AbstractCellFactory
grid, sce
 
Constructor Summary
TemplateDataCellFactory(SuggestionCompletionEngine sce, MergableGridWidget<TemplateDataColumn> grid)
          Construct a Cell Factory for a specific Template Data Widget
 
Method Summary
 DecoratedGridCellValueAdaptor<? extends Comparable<?>> getCell(TemplateDataColumn column)
          Create a Cell for the given TemplateDataColumn
 
Methods inherited from class org.drools.guvnor.client.widgets.decoratedgrid.AbstractCellFactory
makeBooleanCell, makeDateCell, makeNumericCell, makeTextCell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateDataCellFactory

public TemplateDataCellFactory(SuggestionCompletionEngine sce,
                               MergableGridWidget<TemplateDataColumn> grid)
Construct a Cell Factory for a specific Template Data Widget

Parameters:
sce - SuggestionCompletionEngine to assist with drop-downs
grid - MergableGridWidget to which cells will send their updates
Method Detail

getCell

public DecoratedGridCellValueAdaptor<? extends Comparable<?>> getCell(TemplateDataColumn column)
Create a Cell for the given TemplateDataColumn

Specified by:
getCell in class AbstractCellFactory<TemplateDataColumn>
Parameters:
column - The Template Data Table model column
Returns:
A Cell


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.