nl.coderight.jazz.form.field
Class CheckSelectField<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>
nl.coderight.jazz.form.field.CheckSelectField<V>
- All Implemented Interfaces:
- DataBindable<V>, DataSelectable<V>, Selection<V>
public class CheckSelectField<V>
- extends SelectField<V>
- implements Selection<V>
Methods inherited from class nl.coderight.jazz.form.field.SelectField |
getDisplayID, getField, getSelectedIndex, isScrollable, locationToIndex, notifyDataChanged, onPopup, onRebuildFinished, onRebuildStart, setDisplayID, setSelectedIndex |
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, 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 |
CheckSelectField
public CheckSelectField(String bindID,
String selectID)
createField
protected JComboBox createField()
- Overrides:
createField
in class SelectField<V>
setRenderer
public final void setRenderer(ListCellRenderer renderer)
- Overrides:
setRenderer
in class SelectField<V>
getSelectionMode
public Selection.SelectionMode getSelectionMode()
- Specified by:
getSelectionMode
in interface Selection<V>
setSelectionMode
public void setSelectionMode(Selection.SelectionMode selectionMode)
- Specified by:
setSelectionMode
in interface Selection<V>
getSelectionCount
public int getSelectionCount()
- Specified by:
getSelectionCount
in interface Selection<V>
- Overrides:
getSelectionCount
in class SelectableField<V>
getSelectionIndices
public int[] getSelectionIndices()
- Specified by:
getSelectionIndices
in interface Selection<V>
select
public void select(int index)
- Specified by:
select
in interface Selection<V>
deselect
public void deselect(int index)
- Specified by:
deselect
in interface Selection<V>
select
public void select(int startIndex,
int endIndex)
- Specified by:
select
in interface Selection<V>
deselect
public void deselect(int startIndex,
int endIndex)
- Specified by:
deselect
in interface Selection<V>
select
public void select(int[] indices)
- Specified by:
select
in interface Selection<V>
deselect
public void deselect(int[] indices)
- Specified by:
deselect
in interface Selection<V>
selectAll
public void selectAll()
- Specified by:
selectAll
in interface Selection<V>
deselectAll
public void deselectAll()
- Specified by:
deselectAll
in interface Selection<V>
getSelectionValues
public List<V> getSelectionValues()
- Specified by:
getSelectionValues
in interface Selection<V>
setSelectionValues
public void setSelectionValues(List<V> values)
- Specified by:
setSelectionValues
in interface Selection<V>
createComboUI
protected ComboBoxUI createComboUI(JComboBox combo,
nl.coderight.jazz.form.field.CheckSelectField.CheckListPopup popup)
Copyright 2010 CodeRight, All rights reserved.