|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AbstractTextList<T extends TextWidget>
This a simple AbstractList extension, that adds methods for adding items as String.
| Method Summary | |
|---|---|
Label |
addItem(int index,
java.lang.String text)
Creates a Label and adds it to the List (at the given position). |
Label |
addItem(int index,
java.lang.String text,
org.openmali.vecmath2.Colorf color)
Creates a Label and adds it to the List (at the given position). |
Label |
addItem(int index,
java.lang.String text,
java.awt.Font font,
org.openmali.vecmath2.Colorf color)
Creates a Label and adds it to the List (at the given position). |
Label |
addItem(java.lang.String text)
Creates a Label and adds it to the List (at the end). |
Label |
addItem(java.lang.String text,
org.openmali.vecmath2.Colorf color)
Creates a Label and adds it to the List (at the given position). |
Label |
addItem(java.lang.String text,
java.awt.Font font,
org.openmali.vecmath2.Colorf color)
Creates a Label and adds it to the List (at the given position). |
Label |
createItem(java.lang.String text)
Creates a Label and adds it to the List (at the end). |
Label |
createItem(java.lang.String text,
org.openmali.vecmath2.Colorf color)
Creates a Label and adds it to the List (at the given position). |
Label |
createItem(java.lang.String text,
java.awt.Font font,
org.openmali.vecmath2.Colorf color)
Creates a Label from the parameters. |
| Methods inherited from interface org.xith3d.ui.hud.base.AbstractList |
|---|
addItem, addItem, addItemSetsSelectedItem, addSelectionListener, clear, getHeightByItems, getItem, getItem, getItems, getItemsCount, getMaxHeight, getSelectedIndex, getSelectedItem, isScrollBarForced, isScrollBarVisible, removeItem, removeItem, removeSelectionListener, selectNextItem, selectPreviousItem, setAddItemSetsSelectedItem, setHeightByItems, setMaxHeight, setScrollBarForced, setScrollBarVisible, setSelectedItem, setSelectedItem |
| Method Detail |
|---|
Label createItem(java.lang.String text,
java.awt.Font font,
org.openmali.vecmath2.Colorf color)
Label from the parameters.
text - the text content for the new Itemfont - color -
Label
Label createItem(java.lang.String text,
org.openmali.vecmath2.Colorf color)
Label and adds it to the List (at the given position).
text - the text content for the new Itemcolor -
LabelLabel createItem(java.lang.String text)
Label and adds it to the List (at the end).
text - the text content for the new Item
Label
Label addItem(int index,
java.lang.String text,
java.awt.Font font,
org.openmali.vecmath2.Colorf color)
Label and adds it to the List (at the given position).
index - the position to add the Item attext - the text content for the new Itemfont - color -
Label
Label addItem(java.lang.String text,
java.awt.Font font,
org.openmali.vecmath2.Colorf color)
Label and adds it to the List (at the given position).
text - the text content for the new Itemfont - color -
Label
Label addItem(int index,
java.lang.String text,
org.openmali.vecmath2.Colorf color)
Label and adds it to the List (at the given position).
index - the position to add the Item attext - the text content for the new Itemcolor -
Label
Label addItem(java.lang.String text,
org.openmali.vecmath2.Colorf color)
Label and adds it to the List (at the given position).
text - the text content for the new Itemcolor -
Label
Label addItem(int index,
java.lang.String text)
Label and adds it to the List (at the given position).
index - the position to add the Item attext - the text content for the new Item
LabelLabel addItem(java.lang.String text)
Label and adds it to the List (at the end).
text - the text content for the new Item
Label
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||