ee.quest.widget.form
Class DateDataType

java.lang.Object
  extended by ee.quest.widget.form.DateDataType
All Implemented Interfaces:
DataType

public class DateDataType
extends Object
implements DataType

Author:
Kaido Kalda

Nested Class Summary
 
Nested classes/interfaces inherited from interface ee.quest.widget.form.DataType
DataType.ModifiedCallback
 
Constructor Summary
DateDataType(String pattern)
           
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
           
 String getError()
           
 Object getValue()
           
 void initControl(org.eclipse.swt.widgets.Composite composite, DataType.ModifiedCallback callback)
           
 void setReadOnly(boolean readOnly)
           
 void setValue(Object value)
           
 boolean validateControl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateDataType

public DateDataType(String pattern)
Method Detail

getControl

public org.eclipse.swt.widgets.Control getControl()
Specified by:
getControl in interface DataType

validateControl

public boolean validateControl()
Specified by:
validateControl in interface DataType

getError

public String getError()
Specified by:
getError in interface DataType

getValue

public Object getValue()
Specified by:
getValue in interface DataType

setValue

public void setValue(Object value)
Specified by:
setValue in interface DataType

initControl

public void initControl(org.eclipse.swt.widgets.Composite composite,
                        DataType.ModifiedCallback callback)
Specified by:
initControl in interface DataType

setReadOnly

public void setReadOnly(boolean readOnly)
Specified by:
setReadOnly in interface DataType


Copyright © 2013. All Rights Reserved.