nl.coderight.jazz.form.field
Class CheckTreeField<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<TreeFieldNode<V>>
nl.coderight.jazz.form.field.selectable.TreeSelectableField<TreeFieldNode<V>>
nl.coderight.jazz.form.field.TreeField<V>
nl.coderight.jazz.form.field.CheckTreeField<V>
- All Implemented Interfaces:
- DataBindable<TreeFieldNode<TreeFieldNode<V>>>, DataSelectable<TreeFieldNode<TreeFieldNode<V>>>, Selection<TreeFieldNode<V>>
public class CheckTreeField<V>
- extends TreeField<V>
Implementation of a JTree with check boxes.
Methods inherited from class nl.coderight.jazz.form.field.TreeField |
backupSelection, collapse, createField, deselect, expand, getClosedIcon, getField, getIndex, getLeafIcon, getOpenIcon, getPreferredViewportSize, getRowHeight, getSelectedIndex, getSelectionMode, getSelectionValues, getValue, getValueCount, isAlternatingColorsEnabled, isSelectedIndex, isSelectionEnabled, locationToIndex, onDoubleClick, onEdit, onSelect, restoreSelection, select, setAlternatingColorsEnabled, setClosedIcon, setDefaults, setEditor, setExpandsSelectedNodes, setLeafIcon, setOnCollapseEvent, setOnEditAction, setOnEditCondition, setOnEditEvent, setOnExpandEvent, setOpenIcon, setRenderer, setRootName, setRowHeight, setSelectedIndex, setSelectionEnabled, setSelectionValues, setVisibleRowCount |
Methods inherited from class nl.coderight.jazz.form.field.selectable.TreeSelectableField |
createSortComparator, getData, getRootName, getValueAt, insert, insert, insert, onFilterChanged, setComponent, setData, 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, onPopup, onSearchFinished, onSearchProgress, onSearchStart, 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, isScrollable, onViewportChanged, setBackground, setBackgroundImage, setBorder, setColumnHeader, 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, 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 |
CheckTreeField
public CheckTreeField(String bindID,
String selectID)
setSelectionMode
public void setSelectionMode(Selection.SelectionMode selectionMode)
- Specified by:
setSelectionMode
in interface Selection<TreeFieldNode<V>>
- Overrides:
setSelectionMode
in class TreeField<V>
getSelectionCount
public int getSelectionCount()
- Specified by:
getSelectionCount
in interface Selection<TreeFieldNode<V>>
- Overrides:
getSelectionCount
in class TreeField<V>
getSelectionIndices
public int[] getSelectionIndices()
- Specified by:
getSelectionIndices
in interface Selection<TreeFieldNode<V>>
- Overrides:
getSelectionIndices
in class TreeField<V>
select
public void select(int index)
- Specified by:
select
in interface Selection<TreeFieldNode<V>>
- Overrides:
select
in class TreeField<V>
deselect
public void deselect(int index)
- Specified by:
deselect
in interface Selection<TreeFieldNode<V>>
- Overrides:
deselect
in class TreeField<V>
select
public void select(int startIndex,
int endIndex)
- Specified by:
select
in interface Selection<TreeFieldNode<V>>
- Overrides:
select
in class TreeField<V>
deselect
public void deselect(int startIndex,
int endIndex)
- Specified by:
deselect
in interface Selection<TreeFieldNode<V>>
- Overrides:
deselect
in class TreeField<V>
selectAll
public void selectAll()
- Specified by:
selectAll
in interface Selection<TreeFieldNode<V>>
- Overrides:
selectAll
in class TreeField<V>
deselectAll
public void deselectAll()
- Specified by:
deselectAll
in interface Selection<TreeFieldNode<V>>
- Overrides:
deselectAll
in class TreeField<V>
delete
public void delete(TreeFieldNode node)
- Specified by:
delete
in interface DataBindable<TreeFieldNode<TreeFieldNode<V>>>
- Overrides:
delete
in class TreeSelectableField<TreeFieldNode<V>>
toggleSelection
protected void toggleSelection(int index)
onCollapse
protected void onCollapse(TreeFieldNode node)
- Overrides:
onCollapse
in class TreeField<V>
onExpand
protected void onExpand(TreeFieldNode node)
- Overrides:
onExpand
in class TreeField<V>
Copyright 2010 CodeRight, All rights reserved.