org.drools.guvnor.client.decisiontable.widget
Class DecisionTableCellFactory
java.lang.Object
org.drools.guvnor.client.widgets.decoratedgrid.AbstractCellFactory<DTColumnConfig52>
org.drools.guvnor.client.decisiontable.widget.DecisionTableCellFactory
public class DecisionTableCellFactory
- extends AbstractCellFactory<DTColumnConfig52>
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<DTColumnConfig52> grid,
GuidedDecisionTable52 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(DTColumnConfig52 column)
- Create a Cell for the given DTColumnConfig
- Specified by:
getCell
in class AbstractCellFactory<DTColumnConfig52>
- Parameters:
column
- The Decision Table model column
- Returns:
- A Cell
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.