public class TableCombo extends Object
The table registers the comboboxes to use with an ID. Each instance is created from the table component prior to use in cells.
This class is thread-safe.
Modifier and Type | Field and Description |
---|---|
int |
id
The unique ID of this table combo instance.
|
Modifier and Type | Method and Description |
---|---|
KString[] |
getKStringContents()
Gets the contents as strings.
|
String[] |
getStringContents()
Gets the contents as strings.
|
UITable |
getTable()
Gets the table associated with this table combo.
|
int |
getType()
Gets the contents type.
|
boolean |
isEditable()
Returns if this combo contents should be editable.
|
void |
setKStringContents(Collection<KString> list)
Sets the KString contents of this combo.
|
void |
setStringContents(Collection<String> list)
Sets the string contents of this combo.
|
String |
toString()
Converts to a debug string.
|
public UITable getTable()
public boolean isEditable()
public void setStringContents(Collection<String> list)
list
- The list of non-null strings.NullPointerException
- If the list is null or has null items.IllegalStateException
- If the contents already has been set.public void setKStringContents(Collection<KString> list)
list
- The list of non-null KStrings.NullPointerException
- If the list is null or has null items.IllegalStateException
- If the contents already has been set.public int getType()
public String[] getStringContents()
public KString[] getKStringContents()
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.