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.
|
Field Summary |
protected com.google.gwt.event.shared.EventBus |
eventBus
|
protected org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine |
sce
|
|
Constructor Summary |
AbstractCellFactory(org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine sce,
com.google.gwt.event.shared.EventBus eventBus)
Construct a Cell Factory for a specific grid widget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sce
protected final org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine sce
eventBus
protected final com.google.gwt.event.shared.EventBus eventBus
AbstractCellFactory
public AbstractCellFactory(org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine sce,
com.google.gwt.event.shared.EventBus eventBus)
- Construct a Cell Factory for a specific grid widget
- Parameters:
sce - SuggestionCompletionEngine to assist with drop-downseventBus - 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()
makeTextCell
protected DecoratedGridCellValueAdaptor<String> makeTextCell()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.