de.ukn.hci.squidy.manager.util
Class ControlUtils

java.lang.Object
  extended by de.ukn.hci.squidy.manager.util.ControlUtils

public class ControlUtils
extends Object

ControlUtils.

 Date: Mar 24, 2009
 Time: 3:33:43 PM
 

Since:
1.0.0
Version:
$Id: ControlUtils.java 242 2010-04-15 14:39:16Z raedle $
Author:
 Roman R&aumldle
 <a href="mailto:Roman.Raedle@uni-konstanz.de">Roman.Raedle@uni-konstanz.de</a>
 Human-Computer Interaction Group
 University of Konstanz
 

Constructor Summary
ControlUtils()
           
 
Method Summary
static GaugeControl createBatteryGaugeControl(Gauge bg, Object value)
           
static CheckBoxControl createCheckBoxControl(CheckBox checkBox, Object value)
           
static ComboBoxControl createComboBoxControl(ComboBox comboBox, Object value)
           
static
<T> IBasicControl<T,?>
createControl(Annotation controlAnnotation, Object value)
           
static FileChooserControl createFileChooserControl(FileChooser fileChooser, Object value)
           
static ImagePanelControl createImagePanelControl(ImagePanel imagePanel, Object value)
           
static SliderControl<Integer> createSliderControl(Slider slider, Object value)
           
static SpinnerControl createSpinnerControl(Spinner spinner, Object value)
           
static TextFieldControl createTextFieldControl(TextField textField, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlUtils

public ControlUtils()
Method Detail

createControl

public static final <T> IBasicControl<T,?> createControl(Annotation controlAnnotation,
                                                         Object value)
Type Parameters:
T -
Parameters:
controlAnnotation -
value -
Returns:

createBatteryGaugeControl

public static final GaugeControl createBatteryGaugeControl(Gauge bg,
                                                           Object value)
Parameters:
bg -
value -
Returns:

createImagePanelControl

public static final ImagePanelControl createImagePanelControl(ImagePanel imagePanel,
                                                              Object value)
Parameters:
imagePanel -
value -
Returns:

createTextFieldControl

public static final TextFieldControl createTextFieldControl(TextField textField,
                                                            Object value)
Parameters:
textField -
value -
Returns:

createCheckBoxControl

public static final CheckBoxControl createCheckBoxControl(CheckBox checkBox,
                                                          Object value)
Parameters:
checkBox -
value -
Returns:

createComboBoxControl

public static final ComboBoxControl createComboBoxControl(ComboBox comboBox,
                                                          Object value)
Parameters:
comboBox -
value -
Returns:

createSliderControl

public static final SliderControl<Integer> createSliderControl(Slider slider,
                                                               Object value)
Parameters:
slider -
value -
Returns:

createSpinnerControl

public static final SpinnerControl createSpinnerControl(Spinner spinner,
                                                        Object value)
Parameters:
spinner -
value -
Returns:

createFileChooserControl

public static final FileChooserControl createFileChooserControl(FileChooser fileChooser,
                                                                Object value)


Copyright © 2007-2010 Human-Computer-Interaction :: University of Konstanz. All Rights Reserved.