|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.ui.hud.base.ListModel
org.xith3d.ui.hud.listmodels.DefaultAbstractListModel
public abstract class DefaultAbstractListModel
The default implementation of ListModel.
| Constructor Summary | |
|---|---|
DefaultAbstractListModel()
|
|
DefaultAbstractListModel(java.util.List<?> items)
|
|
| Method Summary | |
|---|---|
void |
addItemImpl(int index,
java.lang.Object item)
Adds a new Item at the given position. |
void |
clear()
Clears the list. |
java.lang.Object |
getItemImpl(int index)
Gets the item at index index. |
int |
getItemsCount()
Gets the number of items in the list. |
java.lang.Object |
getItemUserObject(int itemIndex)
Gets an item's user-object. |
java.lang.Object |
removeItemImpl(int index)
Removes an Item at the given position. |
void |
setItemImpl(int index,
java.lang.Object item)
Sets the item at the given position. |
void |
setItemUserObject(int itemIndex,
java.lang.Object userObject)
Sets an item's user-object. |
| Methods inherited from class org.xith3d.ui.hud.base.ListModel |
|---|
addItem, addItem, addItems, addItems, checkOnMouseButtonPressed, checkOnMouseButtonPressedImpl, getItem, getItemHeight, getItemHeightImpl, getList, getMinItemWidth, getMinItemWidthImpl, getSelectedIndex, getSelectedItem, getUsedWidgets, getUsesFixedHeight, getWidget, getWidgetImpl, hoverNeedsRedraw, isSelected, markListDirty, prepareWidget, prepareWidgetImpl, removeItem, setItem, setSelectedIndex, setUsesFixedHeight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAbstractListModel(java.util.List<?> items)
public DefaultAbstractListModel()
| Method Detail |
|---|
public void addItemImpl(int index,
java.lang.Object item)
addItemImpl in class ListModel
public void setItemImpl(int index,
java.lang.Object item)
setItemImpl in class ListModelpublic java.lang.Object removeItemImpl(int index)
removeItemImpl in class ListModelpublic void clear()
clear in class ListModelpublic int getItemsCount()
getItemsCount in class ListModelpublic java.lang.Object getItemImpl(int index)
getItemImpl in class ListModel
public void setItemUserObject(int itemIndex,
java.lang.Object userObject)
itemIndex - userObject - public final java.lang.Object getItemUserObject(int itemIndex)
itemIndex -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||