nl.coderight.jazz.form.field
Class SpinnerField<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.SpinnerField<V>
- All Implemented Interfaces:
- DataBindable<V>, DataSelectable<V>
public class SpinnerField<V>
- extends ListSelectableField<V>
Implementation of a JSpinner.
- See Also:
JSpinner
Methods inherited from class nl.coderight.jazz.form.field.selectable.ListSelectableField |
backupSelection, createSortComparator, delete, delete, getData, getIndex, getValue, getValueAt, getValueCount, insert, insert, onFilterChanged, onRebuildFinished, onRebuildProgress, onRebuildStart, 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 |
SpinnerField
public SpinnerField(String bindID,
String selectID)
createField
protected JSpinner createField()
getField
protected JSpinner getField()
getDisplayID
public String getDisplayID()
setDisplayID
public void setDisplayID(String displayID)
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>
notifyDataChanged
protected void notifyDataChanged()
- Specified by:
notifyDataChanged
in class ListSelectableField<V>
Copyright 2010 CodeRight, All rights reserved.