org.itsnat.comp.list
Interface ItsNatFreeListMultSel

All Superinterfaces:
ItsNatComponent, ItsNatElementComponent, ItsNatFreeComponent, ItsNatFreeList, ItsNatList, ItsNatListMultSel, ItsNatUserData

public interface ItsNatFreeListMultSel
extends ItsNatFreeList, ItsNatListMultSel

Is the interface of the free multiple selection list components.

ItsNat provides a default implementation of this interface.

There is no default decoration of item selection, selection model listeners may be used to decorate the item markup when its selection state changes.

Author:
Jose Maria Arranz Santamaria
See Also:
ItsNatComponentManager.createItsNatFreeListMultSel(org.w3c.dom.Element element,ItsNatListStructure,org.itsnat.core.NameValue[] artifacts)

Method Summary
 boolean isSelectionUsesKeyboard()
          Returns if the keyboard is used to select items.
 void setSelectionUsesKeyboard(boolean value)
          Sets if the keyboard is used to select items.
 
Methods inherited from interface org.itsnat.comp.list.ItsNatFreeList
isJoystickMode, setJoystickMode
 
Methods inherited from interface org.itsnat.comp.list.ItsNatListMultSel
getListSelectionModel, getSelectedIndices, setListData, setListData, setListSelectionModel, setSelectedIndices
 
Methods inherited from interface org.itsnat.comp.list.ItsNatList
createDefaultListModel, getEditingIndex, getEditorActivatorEvent, getItsNatListCellEditor, getItsNatListCellRenderer, getItsNatListStructure, getItsNatListUI, getListModel, getSelectedIndex, indexOf, isEditing, isEditingEnabled, setEditingEnabled, setEditorActivatorEvent, setItsNatListCellEditor, setItsNatListCellRenderer, setListModel, setSelectedIndex, startEditingAt
 
Methods inherited from interface org.itsnat.comp.ItsNatElementComponent
getElement, getItsNatElementComponentUI
 

Method Detail

isSelectionUsesKeyboard

boolean isSelectionUsesKeyboard()
Returns if the keyboard is used to select items.

If false ItsNat simulates the CTRL key is ever pressed when an item is selected.

This feature is useful for mobile devices without keyboard and tactile screens to select multiple items (if set to false).

Default value is defined by ItsNatComponentManager.isSelectionOnComponentsUsesKeyboard()

Returns:
the current state.
See Also:
setSelectionUsesKeyboard(boolean)

setSelectionUsesKeyboard

void setSelectionUsesKeyboard(boolean value)
Sets if the keyboard is used to select items.

Parameters:
value - the new state.
See Also:
isSelectionUsesKeyboard()


Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.