Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.client.decisiontable.widget
Class DecisionTableCellFactory

java.lang.Object
  extended by org.drools.guvnor.client.widgets.drools.decoratedgrid.AbstractCellFactory<BaseColumn>
      extended by 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.


Field Summary
 
Fields inherited from class org.drools.guvnor.client.widgets.drools.decoratedgrid.AbstractCellFactory
dropDownManager, eventBus, isReadOnly, sce
 
Constructor Summary
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
 
Method Summary
 DecoratedGridCellValueAdaptor<? extends Comparable<?>> getCell(BaseColumn column)
          Create a Cell for the given DTColumnConfig
 
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
 

Constructor Detail

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-downs
dropDownManager - DropDownManager for dependent cells
isReadOnly - Should cells be created for a read-only mode of operation
eventBus - An EventBus on which cells can subscribe to events
Method Detail

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

Guvnor web application Drools 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.