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

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

public class TextField
extends Field

A field for the FieldBasedInputDialog. The TextFields allows the user to enter some text. No strings attached. The text field allows two modes of operation: SINGLE (a one-line text field) and MULTI (a multiple- line text field with vertical scrollbars).

Version:
$Id$
Author:
Philip Mayer

Nested Class Summary
static class TextField.Style
           
 
Constructor Summary
TextField(FieldBasedInputDialog dialog, String labelText, String initialValue, TextField.Style style)
           
 
Method Summary
protected  void createControl(org.eclipse.swt.widgets.Composite parent)
           
 String getSelection()
           
 void setEchoChar(char echoChar)
           
 void setText(String text)
           
 
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

TextField

public TextField(FieldBasedInputDialog dialog,
                 String labelText,
                 String initialValue,
                 TextField.Style style)
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

setText

public void setText(String text)

setEchoChar

public void setEchoChar(char echoChar)


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