org.drools.guvnor.client.widgets.drools.decoratedgrid
Class AbstractCellFactory<T>
java.lang.Object
org.drools.guvnor.client.widgets.drools.decoratedgrid.AbstractCellFactory<T>
- Direct Known Subclasses:
- DecisionTableCellFactory, TemplateDataCellFactory
public abstract class AbstractCellFactory<T>
- extends Object
A Factory to provide the Cells.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sce
protected final SuggestionCompletionEngine sce
dropDownManager
protected final CellTableDropDownDataValueMapProvider dropDownManager
isReadOnly
protected final boolean isReadOnly
eventBus
protected final com.google.gwt.event.shared.EventBus eventBus
AbstractCellFactory
public AbstractCellFactory(SuggestionCompletionEngine sce,
CellTableDropDownDataValueMapProvider dropDownManager,
boolean isReadOnly,
com.google.gwt.event.shared.EventBus eventBus)
- Construct a Cell Factory for a specific grid widget
- Parameters:
sce
- SuggestionCompletionEngine to assist with drop-downsdropDownManager
- DropDownManager for dependent cellsisReadOnly
- Should cells be created for a read-only mode of operationeventBus
- EventBus to which cells can send update events
getCell
public abstract DecoratedGridCellValueAdaptor<? extends Comparable<?>> getCell(T column)
- Create a Cell for the given Column
- Parameters:
column
- The Decision Table model column
- Returns:
- A Cell
makeBooleanCell
protected DecoratedGridCellValueAdaptor<Boolean> makeBooleanCell()
makeDateCell
protected DecoratedGridCellValueAdaptor<Date> makeDateCell()
makeNumericCell
protected DecoratedGridCellValueAdaptor<BigDecimal> makeNumericCell()
makeNumericBigDecimalCell
protected DecoratedGridCellValueAdaptor<BigDecimal> makeNumericBigDecimalCell()
makeNumericBigIntegerCell
protected DecoratedGridCellValueAdaptor<BigInteger> makeNumericBigIntegerCell()
makeNumericByteCell
protected DecoratedGridCellValueAdaptor<Byte> makeNumericByteCell()
makeNumericDoubleCell
protected DecoratedGridCellValueAdaptor<Double> makeNumericDoubleCell()
makeNumericFloatCell
protected DecoratedGridCellValueAdaptor<Float> makeNumericFloatCell()
makeNumericIntegerCell
protected DecoratedGridCellValueAdaptor<Integer> makeNumericIntegerCell()
makeNumericLongCell
protected DecoratedGridCellValueAdaptor<Long> makeNumericLongCell()
makeNumericShortCell
protected DecoratedGridCellValueAdaptor<Short> makeNumericShortCell()
makeTextCell
protected DecoratedGridCellValueAdaptor<String> makeTextCell()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.