org.jboss.errai.widgets.client.format
Class WSCellFormatter<T>
java.lang.Object
org.jboss.errai.widgets.client.format.WSCellFormatter<T>
- Direct Known Subclasses:
- WSCellDateFormat, WSCellMultiSelector, WSCellSimpleTextCell, WSCellTitle, WSCellWidgetCell
public abstract class WSCellFormatter<T>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wsCellReference
protected static WSGrid.WSCell wsCellReference
html
protected com.google.gwt.user.client.ui.HTML html
readonly
protected boolean readonly
cancel
protected boolean cancel
WSCellFormatter
public WSCellFormatter()
cancelEdit
public void cancelEdit()
setValue
public void setValue(T value)
getTextValue
public String getTextValue()
getValue
public abstract T getValue()
getWidget
public com.google.gwt.user.client.ui.Widget getWidget(WSGrid grid)
edit
public abstract boolean edit(WSGrid.WSCell element)
stopedit
public abstract void stopedit()
setHeight
public void setHeight(String height)
setWidth
public void setWidth(String width)
notifyCellUpdate
public void notifyCellUpdate(Object newValue)
- Notify any registered listeners that the value is about to change.
- Parameters:
newValue -
notifyCellAfterUpdate
public void notifyCellAfterUpdate()
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.