net.bpelunit.framework.client.eclipse.dialog.field
Class CheckBoxField

java.lang.Object
  extended by net.bpelunit.framework.client.eclipse.dialog.Field
      extended by net.bpelunit.framework.client.eclipse.dialog.field.CheckBoxField

public class CheckBoxField
extends Field

A field for the FieldBasedInputDialog. The CheckBoxField allows the user to select a boolean value, represented by a checkbox with a title describing the value.

Version:
$Id$
Author:
Philip Mayer

Constructor Summary
CheckBoxField(FieldBasedInputDialog inputDialog, String labelText, boolean initialValue)
           
 
Method Summary
protected  void createControl(org.eclipse.swt.widgets.Composite parent)
           
 String getSelection()
           
 
Methods inherited from class net.bpelunit.framework.client.eclipse.dialog.Field
createButton, getDialog, getInitialValue, getLabelText, getValidator, setButtonLayoutData, setValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckBoxField

public CheckBoxField(FieldBasedInputDialog inputDialog,
                     String labelText,
                     boolean initialValue)
Method Detail

createControl

protected void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in class Field

getSelection

public String getSelection()
Specified by:
getSelection in class Field


Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.