nl.coderight.jazz.form.field
Class TextField

java.lang.Object
  extended by nl.coderight.jazz.form.FormField<V>
      extended by nl.coderight.jazz.form.field.validatable.ValidatableField<V>
          extended by nl.coderight.jazz.form.field.input.InputField<String>
              extended by nl.coderight.jazz.form.field.TextField
All Implemented Interfaces:
ClipboardSupport, Editable, Validation
Direct Known Subclasses:
SearchField

public class TextField
extends InputField<String>

Provides an input field for text.


Field Summary
 
Fields inherited from class nl.coderight.jazz.form.FormField
Config
 
Constructor Summary
TextField(String bindID)
           
TextField(String bindID, int length)
           
 
Method Summary
 void setMask(String mask)
           
 void setMask(String mask, boolean containsLiteralCharacters)
           
protected  String valueOf(String string)
           
 
Methods inherited from class nl.coderight.jazz.form.field.input.InputField
copy, createField, createLabelFor, createLabelFor, cut, getField, getMaxLength, getValue, isEditable, onChange, onKeyTyped, paste, setColumns, setEditable, setFilter, setFormatter, setMaxLength, setOnChangeAction, setOnChangeEvent, setOverwriteMode, setValue, validate
 
Methods inherited from class nl.coderight.jazz.form.field.validatable.ValidatableField
checkIsRequired, getError, getValidator, isFocusable, isRequired, isValid, onFocusGained, onFocusLost, onIconClicked, onValidate, setComponent, setCopyAction, setCutAction, setIcon, setInputPrompt, setPasteAction, setRequired, setRequiredMessage, setToolTip, setValidator
 
Methods inherited from class nl.coderight.jazz.form.FormField
dispatchEvent, dispose, focus, focusNextField, focusPreviousField, getBackground, getBindID, getBorder, getComponent, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getPreferredSize, getToolTip, hasFocus, isBindable, isChanged, isEnabled, isOpaque, isReadonly, isShowing, isValueChanged, isVisible, onClick, onDoubleClick, onMouseEnter, onMouseLeave, onPopup, registerKeyboardAction, setBackground, setBindID, setBorder, setChanged, setCursor, setDataBinding, setEnabled, setFocusable, setForeground, setOnFocusGainedEvent, setOnFocusLostEvent, setOpaque, setPopupMenu, setPreferredSize, setReadonly, setVisible, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextField

public TextField(String bindID)

TextField

public TextField(String bindID,
                 int length)
Method Detail

setMask

public void setMask(String mask)

setMask

public void setMask(String mask,
                    boolean containsLiteralCharacters)

valueOf

protected String valueOf(String string)
                  throws ParseException
Specified by:
valueOf in class InputField<String>
Throws:
ParseException


Copyright 2010 CodeRight, All rights reserved.