org.jboss.errai.widgets.client.format
Class WSCellDateFormat

java.lang.Object
  extended by org.jboss.errai.widgets.client.format.WSCellFormatter<Date>
      extended by org.jboss.errai.widgets.client.format.WSCellDateFormat

public class WSCellDateFormat
extends WSCellFormatter<Date>


Field Summary
 
Fields inherited from class org.jboss.errai.widgets.client.format.WSCellFormatter
cancel, html, readonly, wsCellReference
 
Constructor Summary
WSCellDateFormat(Date date)
           
WSCellDateFormat(String value)
           
 
Method Summary
 boolean edit(WSGrid.WSCell element)
           
 String getFormatPattern()
           
 String getTextValue()
           
 Date getValue()
           
 void setFormatPattern(String formatPattern)
           
 void setValue(Date date)
           
 void setValue(String value)
           
 void stopedit()
           
 
Methods inherited from class org.jboss.errai.widgets.client.format.WSCellFormatter
cancelEdit, getWidget, notifyCellAfterUpdate, notifyCellUpdate, setHeight, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSCellDateFormat

public WSCellDateFormat(String value)

WSCellDateFormat

public WSCellDateFormat(Date date)
Method Detail

getFormatPattern

public String getFormatPattern()

setFormatPattern

public void setFormatPattern(String formatPattern)

setValue

public void setValue(String value)

setValue

public void setValue(Date date)
Overrides:
setValue in class WSCellFormatter<Date>

getValue

public Date getValue()
Specified by:
getValue in class WSCellFormatter<Date>

getTextValue

public String getTextValue()
Overrides:
getTextValue in class WSCellFormatter<Date>

edit

public boolean edit(WSGrid.WSCell element)
Specified by:
edit in class WSCellFormatter<Date>

stopedit

public void stopedit()
Specified by:
stopedit in class WSCellFormatter<Date>


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.