nl.coderight.jazz.form.selection
Interface Selection<V>

All Known Implementing Classes:
CheckListField, CheckSelectField, CheckTableField, CheckTreeField, CheckTreeTableField, ListField, TableField, TreeField, TreeTableField

public interface Selection<V>

Interface for fields that support multi-selection.


Nested Class Summary
static class Selection.SelectionMode
           
 
Method Summary
 void deselect(int index)
           
 void deselect(int[] indices)
           
 void deselect(int startIndex, int endIndex)
           
 void deselectAll()
           
 int getSelectionCount()
           
 int[] getSelectionIndices()
           
 Selection.SelectionMode getSelectionMode()
           
 List<V> getSelectionValues()
           
 void select(int index)
           
 void select(int[] indices)
           
 void select(int startIndex, int endIndex)
           
 void selectAll()
           
 void setSelectionMode(Selection.SelectionMode selectionMode)
           
 void setSelectionValues(List<V> values)
           
 

Method Detail

getSelectionMode

Selection.SelectionMode getSelectionMode()

setSelectionMode

void setSelectionMode(Selection.SelectionMode selectionMode)

getSelectionCount

int getSelectionCount()

getSelectionValues

List<V> getSelectionValues()

setSelectionValues

void setSelectionValues(List<V> values)

getSelectionIndices

int[] getSelectionIndices()

select

void select(int index)

select

void select(int startIndex,
            int endIndex)

select

void select(int[] indices)

selectAll

void selectAll()

deselect

void deselect(int index)

deselect

void deselect(int startIndex,
              int endIndex)

deselect

void deselect(int[] indices)

deselectAll

void deselectAll()


Copyright 2010 CodeRight, All rights reserved.