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

java.lang.Object
  extended by com.google.gwt.cell.client.AbstractCell<Pattern52>
      extended by org.drools.guvnor.client.widgets.drools.wizards.assets.decisiontable.cells.PatternCell
All Implemented Interfaces:
com.google.gwt.cell.client.Cell<Pattern52>
Direct Known Subclasses:
ActionSetFieldPatternCell, ConditionPatternCell

public class PatternCell
extends com.google.gwt.cell.client.AbstractCell<Pattern52>

A cell to display a Fact Pattern


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
PatternCell(Validator validator)
           
 
Method Summary
protected  String getCssStyleName(Pattern52 p)
           
 void render(com.google.gwt.cell.client.Cell.Context context, Pattern52 pattern, 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

PatternCell

public PatternCell(Validator validator)
Method Detail

render

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

getCssStyleName

protected String getCssStyleName(Pattern52 p)


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