public class TextItems extends SimpleKeyValueList<java.lang.String,java.lang.String> implements SendableEntityCreator, LocalisationInterface
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_VALUE |
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLENEW, REMOVE, REMOVE_YOU, SIMPLE, UPDATE| Constructor and Description |
|---|
TextItems() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getProperties()
Gets the properties.
|
java.lang.Object |
getSendableInstance(boolean prototyp)
Gets the sendable instance.
|
java.lang.String |
getText(java.lang.CharSequence label,
java.lang.Object model,
java.lang.Object gui) |
java.lang.Object |
getValue(java.lang.Object entity,
java.lang.String attribute)
Gets the value.
|
boolean |
isDefaultLabel() |
java.lang.String |
put(java.lang.String label,
java.lang.String text) |
void |
setCustomLanguage(LocalisationInterface value) |
boolean |
setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
Sets the value.
|
TextItems |
withDefaultLabel(boolean value) |
add, add, add, addToKeyValue, comparator, containsKey, containsValue, copyEntity, entrySet, equals, get, getBoolean, getDouble, getInt, getKey, getKeyByIndex, getLong, getNewList, getPositionValue, getString, getString, getValueByIndex, increment, indexOfValue, isComparator, iterator, keyIterator, keySet, putAll, remove, removeByIndex, removePos, replaceAllValues, setValue, setValueItem, values, valuesArrayIntern, with, withComparator, withKeyValue, withKeyValueString, withList, withMap, withMultIndexaddHashItem, addKeyValue, checkValue, clear, contains, containsAll, containsAll, fireProperty, first, flag, get, getByIndex, getPositionKey, getTypClass, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isEmpty, isReadOnly, isVisible, last, lastIndexOf, move, pack, parseItem, removeAll, removeByObject, removeItem, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, subList, toArray, toArray, toString, toString, with, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withType, withVisibleclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final java.lang.String PROPERTY_VALUE
public java.lang.Object getValue(java.lang.Object entity,
java.lang.String attribute)
SendableEntityCreatorgetValue in interface SendableEntityCreatorentity - the entityattribute - the attributepublic boolean setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
SendableEntityCreatorsetValue in interface SendableEntityCreatorentity - the entityattribute - the attributevalue - the valuetype - edit, update or remove operationpublic java.lang.String getText(java.lang.CharSequence label,
java.lang.Object model,
java.lang.Object gui)
getText in interface LocalisationInterfacepublic java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic java.lang.Object getSendableInstance(boolean prototyp)
SendableEntityCreatorgetSendableInstance in interface SendableEntityCreatorprototyp - the prototyppublic void setCustomLanguage(LocalisationInterface value)
public java.lang.String put(java.lang.String label,
java.lang.String text)
put in interface LocalisationInterfaceput in interface java.util.Map<java.lang.String,java.lang.String>put in class SimpleKeyValueList<java.lang.String,java.lang.String>public boolean isDefaultLabel()
public TextItems withDefaultLabel(boolean value)