org.drools.guvnor.client.decisiontable.widget
Class DecisionTableCellFactory
java.lang.Object
org.drools.guvnor.client.widgets.decoratedgrid.AbstractCellFactory<DTColumnConfig>
org.drools.guvnor.client.decisiontable.widget.DecisionTableCellFactory
public class DecisionTableCellFactory
- extends AbstractCellFactory<DTColumnConfig>
A Factory to provide the Cells for given coordinate for Decision Tables.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecisionTableCellFactory
public DecisionTableCellFactory(SuggestionCompletionEngine sce,
MergableGridWidget<DTColumnConfig> grid,
TypeSafeGuidedDecisionTable model)
- Construct a Cell Factory for a specific Decision Table
- Parameters:
sce
- SuggestionCompletionEngine to assist with drop-downsgrid
- MergableGridWidget to which cells will send their updatesmodel
- The Decision Table model to assist data-type derivation
getCell
public DecoratedGridCellValueAdaptor<? extends Comparable<?>> getCell(DTColumnConfig column)
- Create a Cell for the given DTColumnConfig
- Specified by:
getCell
in class AbstractCellFactory<DTColumnConfig>
- Parameters:
column
- The Decision Table model column
- Returns:
- A Cell
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.