nl.coderight.jazz.form.field
Class SearchField
java.lang.Object
nl.coderight.jazz.form.FormField<V>
nl.coderight.jazz.form.field.validatable.ValidatableField<V>
nl.coderight.jazz.form.field.input.InputField<String>
nl.coderight.jazz.form.field.TextField
nl.coderight.jazz.form.field.SearchField
- All Implemented Interfaces:
- ClipboardSupport, Editable, Validation
public class SearchField
- extends TextField
Implementation of a Mac like search field.
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 |
SearchField
public SearchField(int length)
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.