ee.quest.widget.form
Class TextMultiselectDataType

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

public class TextMultiselectDataType
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
TextMultiselectDataType()
           
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
           
protected  List<?> getData()
           
 String getError()
           
protected  String getItemText(Object item)
           
 Object getValue()
           
 void initControl(org.eclipse.swt.widgets.Composite composite, DataType.ModifiedCallback callback)
           
 void load(List<?> data)
           
 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

TextMultiselectDataType

public TextMultiselectDataType()
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

load

public void load(List<?> data)

setReadOnly

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

getData

protected List<?> getData()

getItemText

protected String getItemText(Object item)


Copyright © 2013. All Rights Reserved.