public interface ItsNatFreeList extends ItsNatList, ItsNatFreeComponent
Almost a child DOM element must be present in the markup, this element is used as a pattern to create new list items and is removed because by default the data model is empty.
By default this component uses the default renderer and editor.
There is no default decoration of list item selection, selection model listeners may be used to decorate the list markup when its selection state changes.
Modifier and Type | Method and Description |
---|---|
boolean |
isJoystickMode()
Informs whether a joystick is enough to control the component
(some kind of mouse, pointer or stylus not present or not necessary).
|
void |
setJoystickMode(boolean value)
Informs whether a joystick is enough to control the component
(some kind of mouse, pointer or stylus not present or not necessary).
|
createDefaultListModel, getEditingIndex, getEditorActivatorEvent, getItsNatListCellEditor, getItsNatListCellRenderer, getItsNatListStructure, getItsNatListUI, getListModel, getSelectedIndex, indexOf, isEditing, isEditingEnabled, setEditingEnabled, setEditorActivatorEvent, setItsNatListCellEditor, setItsNatListCellRenderer, setListModel, setSelectedIndex, startEditingAt
getElement, getItsNatElementComponentUI
addEventListener, addEventListener, addEventListener, addEventListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, disableEventListener, disableEventListener, dispose, enableEventListener, enableEventListener, getArtifact, getArtifact, getItsNatComponentManager, getItsNatComponentUI, getItsNatDocument, getNode, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, isDisposed, isEnabled, registerArtifact, removeArtifact, removeEventListener, removeEventListener, removeEventListener, removeEventListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, setEnabled, setEventListenerParams, setEventListenerParams, setNode
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
boolean isJoystickMode()
If the component is in joystick mode, the "content element" of every list item has an event listener associated. By this way list items are "live" elements and can traversed using a joystick in mobile devices without a mouse, pointer or stylus.
Default value is defined by ItsNatDocument.isJoystickMode()
setJoystickMode(boolean)
,
ItsNatListStructure.getContentElement(ItsNatList, int, org.w3c.dom.Element)
void setJoystickMode(boolean value)
value
- true to enable joystick mode.isJoystickMode()
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.