|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OwComboModel
Interface for combo box model.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Field Summary | |
---|---|
static String |
EMPTY_VALUE
empty value |
Method Summary | |
---|---|
OwComboItem[] |
getAllItems()
Get all items. |
OwComboItem |
getItemAt(int position_p)
Return the OwComboItem object at the specified position. |
OwComboItem |
getSelectedItem()
Return the selected OwComboItem object. |
int |
getSize()
Get the number of items in this model. |
boolean |
hasItemOutOfRange()
Specify if the model has an item that is out of range. |
boolean |
isSelectedItem(OwComboItem item_p)
Check if the given item is the selected one. |
void |
setSelectedItem(OwComboItem item_p)
Set the given item as selected. |
Field Detail |
---|
static final String EMPTY_VALUE
Method Detail |
---|
OwComboItem[] getAllItems()
OwComboItem
objects.OwComboItem getSelectedItem()
OwComboItem
object. Can be null.
OwComboItem getItemAt(int position_p)
OwComboItem
object at the specified position. Can be null.
position_p
- - the position in the listvoid setSelectedItem(OwComboItem item_p)
item_p
- - the OwComboItem
int getSize()
boolean isSelectedItem(OwComboItem item_p)
item_p
- - the given OwComboItem
object
true
if the given item is selected.boolean hasItemOutOfRange()
true
if this model has an item out of range.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |