nl.coderight.jazz.form.field
Class SearchField

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
                  extended by nl.coderight.jazz.form.field.SearchField
All Implemented Interfaces:
ClipboardSupport, Editable, Validation

public class SearchField
extends TextField

Implementation of a Mac like search field.


Field Summary
 
Fields inherited from class nl.coderight.jazz.form.FormField
Config
 
Constructor Summary
SearchField(int length)
           
 
Method Summary
protected  void onIconClicked()
           
protected  void onKeyTyped(KeyEvent evt)
           
 void setOnSearchEvent(Event onSearchEvent)
           
 void setPopupMenu(PopupMenu popup)
          Sets field popup menu.
 
Methods inherited from class nl.coderight.jazz.form.field.TextField
setMask, setMask, valueOf
 
Methods inherited from class nl.coderight.jazz.form.field.input.InputField
copy, createField, createLabelFor, createLabelFor, cut, getField, getMaxLength, getValue, isEditable, onChange, 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, 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, setPreferredSize, setReadonly, setVisible, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchField

public SearchField(int length)
Method Detail

setPopupMenu

public void setPopupMenu(PopupMenu popup)
Description copied from class: FormField
Sets field popup menu.

Overrides:
setPopupMenu in class FormField<String>

setOnSearchEvent

public void setOnSearchEvent(Event onSearchEvent)

onKeyTyped

protected void onKeyTyped(KeyEvent evt)
Overrides:
onKeyTyped in class InputField<String>

onIconClicked

protected void onIconClicked()
Overrides:
onIconClicked in class ValidatableField<String>


Copyright 2010 CodeRight, All rights reserved.