nl.coderight.jazz.form.field
Class SelectField<V>
java.lang.Object
nl.coderight.jazz.form.FormField<V>
nl.coderight.jazz.form.FormControl<V>
nl.coderight.jazz.form.field.scrollable.ScrollableField<V>
nl.coderight.jazz.form.field.selectable.SelectableField<V>
nl.coderight.jazz.form.field.selectable.ListSelectableField<V>
nl.coderight.jazz.form.field.SelectField<V>
- All Implemented Interfaces:
- DataBindable<V>, DataSelectable<V>
- Direct Known Subclasses:
- CheckSelectField, ComboField
public class SelectField<V>
- extends ListSelectableField<V>
Implementation of a non-editable JComboBox.
- See Also:
JComboBox
,
ComboField
Methods inherited from class nl.coderight.jazz.form.field.selectable.ListSelectableField |
backupSelection, createSortComparator, delete, delete, getData, getIndex, getValue, getValueAt, getValueCount, insert, insert, onFilterChanged, onRebuildProgress, restoreSelection, setData, setValueAt, sort, update |
Methods inherited from class nl.coderight.jazz.form.field.selectable.SelectableField |
addFilter, dispose, filter, getBindID, getFilters, getRelationID, getSelectID, getSelectionBackground, getSelectionCount, getSelectionForeground, getSortComparator, getSortID, getSortOrder, getValue, isSortingEnabled, onChange, onFocusGained, onSearchFinished, onSearchProgress, onSearchStart, onSelect, search, search, searchAll, setOnChangeEvent, setOnSelectAction, setOnSelectCondition, setOnSelectEvent, setOnSelectGroup, setRelationID, setSelectID, setSelectionBackground, setSelectionForeground, setSortComparator, setSortID, setSortingEnabled, setSortOrder, setValue |
Methods inherited from class nl.coderight.jazz.form.field.scrollable.ScrollableField |
getComponent, getFocusComponent, getPreferredSize, getViewportSize, isOpaque, onViewportChanged, setBackground, setBackgroundImage, setBorder, setColumnHeader, setComponent, setCorner, setEnabled, setForeground, setOpaque, setPreferredSize, setRowHeader, setScrollable, setScrollBarPolicy, setTitle |
Methods inherited from class nl.coderight.jazz.form.FormControl |
addField, addField, focus, focusField, focusNextField, focusPreviousField, getFields, hasFocus, registerKeyboardAction, setComponent, setLayout |
Methods inherited from class nl.coderight.jazz.form.FormField |
dispatchEvent, focusNextField, focusPreviousField, getBackground, getBorder, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getToolTip, isBindable, isChanged, isEnabled, isFocusable, isReadonly, isShowing, isValueChanged, isVisible, onClick, onDoubleClick, onFocusLost, onMouseEnter, onMouseLeave, setBindID, setChanged, setCursor, setDataBinding, setFocusable, setOnFocusGainedEvent, setOnFocusLostEvent, setPopupMenu, setReadonly, setToolTip, setVisible, translate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectField
public SelectField(String bindID,
String selectID)
createField
protected JComboBox createField()
getField
protected JComboBox getField()
getDisplayID
public String getDisplayID()
setDisplayID
public void setDisplayID(String displayID)
setRenderer
public void setRenderer(ListCellRenderer renderer)
getSelectedIndex
public int getSelectedIndex()
- Specified by:
getSelectedIndex
in class SelectableField<V>
setSelectedIndex
public void setSelectedIndex(int index)
- Specified by:
setSelectedIndex
in class SelectableField<V>
isScrollable
public final boolean isScrollable()
- Overrides:
isScrollable
in class ScrollableField<V>
locationToIndex
public final int locationToIndex(Point point)
- Specified by:
locationToIndex
in class SelectableField<V>
onPopup
protected final void onPopup(Point point)
- Overrides:
onPopup
in class SelectableField<V>
onRebuildStart
protected void onRebuildStart()
- Overrides:
onRebuildStart
in class ListSelectableField<V>
onRebuildFinished
protected void onRebuildFinished()
- Overrides:
onRebuildFinished
in class ListSelectableField<V>
notifyDataChanged
protected void notifyDataChanged()
- Specified by:
notifyDataChanged
in class ListSelectableField<V>
Copyright 2010 CodeRight, All rights reserved.