nl.coderight.jazz.form.field
Class CheckTreeTableField

java.lang.Object
  extended by nl.coderight.jazz.form.FormField<V>
      extended by nl.coderight.jazz.form.FormControl<V>
          extended by nl.coderight.jazz.form.field.scrollable.ScrollableField<V>
              extended by nl.coderight.jazz.form.field.selectable.SelectableField<V>
                  extended by nl.coderight.jazz.form.field.selectable.ListSelectableField<V>
                      extended by nl.coderight.jazz.form.field.TableField<TreeFieldNode>
                          extended by nl.coderight.jazz.form.field.TreeTableField
                              extended by nl.coderight.jazz.form.field.CheckTreeTableField
All Implemented Interfaces:
DataBindable<TreeFieldNode>, DataSelectable<TreeFieldNode>, Selection<TreeFieldNode>

public class CheckTreeTableField
extends TreeTableField

Implementation of a tree table with check boxes.


Nested Class Summary
 
Nested classes/interfaces inherited from class nl.coderight.jazz.form.field.TreeTableField
TreeTableField.JXTree
 
Nested classes/interfaces inherited from class nl.coderight.jazz.form.field.TableField
TableField.AutoResizeMode
 
Nested classes/interfaces inherited from class nl.coderight.jazz.form.field.selectable.SelectableField
SelectableField.KeyTypeSearchListener
 
Nested classes/interfaces inherited from class nl.coderight.jazz.form.field.scrollable.ScrollableField
ScrollableField.ScrollBarCorner, ScrollableField.ScrollBarPolicy
 
Nested classes/interfaces inherited from interface nl.coderight.jazz.form.selection.Selection
Selection.SelectionMode
 
Field Summary
 
Fields inherited from class nl.coderight.jazz.form.FormField
Config
 
Constructor Summary
CheckTreeTableField(String bindID, String selectID)
           
 
Method Summary
protected  TreeField createTreeField(String bindID, String selectID)
           
 void deselect(int index)
           
 void deselect(int[] indices)
           
 void deselect(int startIndex, int endIndex)
           
 void deselectAll()
           
 int getSelectionCount()
           
 int[] getSelectionIndices()
           
 List<TreeFieldNode> getSelectionValues()
          Returns selected values or empty list if none are selected.
 void select(int index)
           
 void select(int[] indices)
           
 void select(int startIndex, int endIndex)
           
 void selectAll()
           
 void setSelectionValues(List<TreeFieldNode> values)
          Select values.
 
Methods inherited from class nl.coderight.jazz.form.field.TreeTableField
addFilter, backupSelection, collapse, delete, expand, getClosedIcon, getData, getIndex, getLeafIcon, getOpenIcon, getValue, getValueAt, getValueCount, insert, insert, notifyDataChanged, restoreSelection, search, search, searchAll, setClosedIcon, setData, setExpandsSelectedNodes, setLeafIcon, setOnCollapseEvent, setOnEditAction, setOnEditCondition, setOnEditEvent, setOnExpandEvent, setOnSelectAction, setOnSelectCondition, setOnSelectEvent, setOnSelectGroup, setOpenIcon, setRowHeight, sort, update
 
Methods inherited from class nl.coderight.jazz.form.field.TableField
addColumn, addColumn, createField, getAutoResizeMode, getColumn, getColumnCount, getDisplayID, getField, getGridColor, getIntercellSpacing, getPreferredViewportSize, getRowHeight, getRowMargin, getSelectedIndex, getSelectionMode, getShowHorizontalLines, getShowVerticalLines, getSortColumnIndex, getSortID, getTableHeader, getTooltipID, isAlternatingColorsEnabled, isSelectedIndex, isSelectionEnabled, locationToIndex, onChange, onDoubleClick, onEdit, onSelect, print, setAlternatingColorsEnabled, setAutofitColumn, setAutofitColumn, setAutoResizeMode, setColumnVisible, setDefaults, setFillsViewportHeight, setGridColor, setHeaderVisible, setIntercellSpacing, setRenderer, setRowMargin, setSelectedIndex, setSelectionBackground, setSelectionEnabled, setSelectionForeground, setSelectionMode, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setSortID, setTableHeader, setVisibleRowCount, sort
 
Methods inherited from class nl.coderight.jazz.form.field.selectable.ListSelectableField
createSortComparator, delete, insert, onFilterChanged, onRebuildFinished, onRebuildProgress, onRebuildStart, setValueAt
 
Methods inherited from class nl.coderight.jazz.form.field.selectable.SelectableField
dispose, filter, getBindID, getFilters, getRelationID, getSelectID, getSelectionBackground, getSelectionForeground, getSortComparator, getSortOrder, getValue, isSortingEnabled, onFocusGained, onPopup, onSearchFinished, onSearchProgress, onSearchStart, setOnChangeEvent, setRelationID, setSelectID, setSortComparator, 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, 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, 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
 
Methods inherited from interface nl.coderight.jazz.form.field.bindable.DataBindable
isReadonly
 

Constructor Detail

CheckTreeTableField

public CheckTreeTableField(String bindID,
                           String selectID)
Method Detail

select

public void select(int index)
Specified by:
select in interface Selection<TreeFieldNode>
Overrides:
select in class TableField<TreeFieldNode>

select

public void select(int[] indices)
Specified by:
select in interface Selection<TreeFieldNode>
Overrides:
select in class TableField<TreeFieldNode>

select

public void select(int startIndex,
                   int endIndex)
Specified by:
select in interface Selection<TreeFieldNode>
Overrides:
select in class TableField<TreeFieldNode>

selectAll

public void selectAll()
Specified by:
selectAll in interface Selection<TreeFieldNode>
Overrides:
selectAll in class TableField<TreeFieldNode>

deselect

public void deselect(int index)
Specified by:
deselect in interface Selection<TreeFieldNode>
Overrides:
deselect in class TableField<TreeFieldNode>

deselect

public void deselect(int[] indices)
Specified by:
deselect in interface Selection<TreeFieldNode>
Overrides:
deselect in class TableField<TreeFieldNode>

deselect

public void deselect(int startIndex,
                     int endIndex)
Specified by:
deselect in interface Selection<TreeFieldNode>
Overrides:
deselect in class TableField<TreeFieldNode>

deselectAll

public void deselectAll()
Specified by:
deselectAll in interface Selection<TreeFieldNode>
Overrides:
deselectAll in class TableField<TreeFieldNode>

getSelectionCount

public int getSelectionCount()
Specified by:
getSelectionCount in interface Selection<TreeFieldNode>
Overrides:
getSelectionCount in class TableField<TreeFieldNode>

getSelectionIndices

public int[] getSelectionIndices()
Specified by:
getSelectionIndices in interface Selection<TreeFieldNode>
Overrides:
getSelectionIndices in class TableField<TreeFieldNode>

getSelectionValues

public List<TreeFieldNode> getSelectionValues()
Description copied from class: TableField
Returns selected values or empty list if none are selected.

Specified by:
getSelectionValues in interface Selection<TreeFieldNode>
Overrides:
getSelectionValues in class TableField<TreeFieldNode>

setSelectionValues

public void setSelectionValues(List<TreeFieldNode> values)
Description copied from class: TableField
Select values.

Specified by:
setSelectionValues in interface Selection<TreeFieldNode>
Overrides:
setSelectionValues in class TableField<TreeFieldNode>

createTreeField

protected TreeField createTreeField(String bindID,
                                    String selectID)


Copyright 2010 CodeRight, All rights reserved.