org.drools.guvnor.client.decisiontable.widget
Class DecisionTableCellFactory
java.lang.Object
org.drools.guvnor.client.widgets.drools.decoratedgrid.AbstractCellFactory<BaseColumn>
org.drools.guvnor.client.decisiontable.widget.DecisionTableCellFactory
public class DecisionTableCellFactory
- extends AbstractCellFactory<BaseColumn>
A Factory to provide the Cells for given coordinate for Decision Tables.
Methods inherited from class org.drools.guvnor.client.widgets.drools.decoratedgrid.AbstractCellFactory |
makeBooleanCell, makeDateCell, makeNumericBigDecimalCell, makeNumericBigIntegerCell, makeNumericByteCell, makeNumericCell, makeNumericDoubleCell, makeNumericFloatCell, makeNumericIntegerCell, makeNumericLongCell, makeNumericShortCell, makeTextCell |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecisionTableCellFactory
public DecisionTableCellFactory(GuidedDecisionTable52 model,
SuggestionCompletionEngine sce,
DecisionTableDropDownManager dropDownManager,
boolean isReadOnly,
com.google.gwt.event.shared.EventBus eventBus)
- Construct a Cell Factory for a specific Decision Table
- Parameters:
sce
- SuggestionCompletionEngine to assist with drop-downsdropDownManager
- DropDownManager for dependent cellsisReadOnly
- Should cells be created for a read-only mode of operationeventBus
- An EventBus on which cells can subscribe to events
getCell
public DecoratedGridCellValueAdaptor<? extends Comparable<?>> getCell(BaseColumn column)
- Create a Cell for the given DTColumnConfig
- Specified by:
getCell
in class AbstractCellFactory<BaseColumn>
- Parameters:
column
- The Decision Table model column
- Returns:
- A Cell
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.