org.drools.guvnor.client.widgets.wizards.assets.decisiontable.cells
Class ActionInsertFactFieldPatternCell

java.lang.Object
  extended by com.google.gwt.cell.client.AbstractCell<ActionInsertFactFieldsPattern>
      extended by org.drools.guvnor.client.widgets.wizards.assets.decisiontable.cells.ActionInsertFactFieldPatternCell
All Implemented Interfaces:
com.google.gwt.cell.client.Cell<ActionInsertFactFieldsPattern>

public class ActionInsertFactFieldPatternCell
extends com.google.gwt.cell.client.AbstractCell<ActionInsertFactFieldsPattern>

A cell to display a Fact Pattern on the Action Insert Fact Field page. Additional validation is performed on the Pattern's fields to determine whether the cell should be rendered as valid or invalid


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell
com.google.gwt.cell.client.Cell.Context
 
Field Summary
protected  Validator validator
           
 
Constructor Summary
ActionInsertFactFieldPatternCell(Validator validator)
           
 
Method Summary
protected  String getCssStyleName(Pattern52 p)
           
 void render(com.google.gwt.cell.client.Cell.Context context, ActionInsertFactFieldsPattern value, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
           
 
Methods inherited from class com.google.gwt.cell.client.AbstractCell
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, onBrowserEvent, onEnterKeyDown, resetFocus, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validator

protected Validator validator
Constructor Detail

ActionInsertFactFieldPatternCell

public ActionInsertFactFieldPatternCell(Validator validator)
Method Detail

render

public void render(com.google.gwt.cell.client.Cell.Context context,
                   ActionInsertFactFieldsPattern value,
                   com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
Specified by:
render in interface com.google.gwt.cell.client.Cell<ActionInsertFactFieldsPattern>
Specified by:
render in class com.google.gwt.cell.client.AbstractCell<ActionInsertFactFieldsPattern>

getCssStyleName

protected String getCssStyleName(Pattern52 p)


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