com.alee.managers.language.data
Class Record
java.lang.Object
com.alee.managers.language.data.Record
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public final class Record
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- Author:
- Mikle Garin
- See Also:
- Serialized Form
Constructor Summary |
Record()
|
Record(java.lang.String key)
|
Record(java.lang.String key,
java.util.List<Value> values)
|
Record(java.lang.String key,
java.lang.String hotkey,
java.util.List<Value> values)
|
Record(java.lang.String key,
java.lang.String hotkey,
Value... values)
|
Record(java.lang.String key,
Value... values)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Record
public Record()
Record
public Record(java.lang.String key)
Record
public Record(java.lang.String key,
Value... values)
Record
public Record(java.lang.String key,
java.util.List<Value> values)
Record
public Record(java.lang.String key,
java.lang.String hotkey,
Value... values)
Record
public Record(java.lang.String key,
java.lang.String hotkey,
java.util.List<Value> values)
getKey
public java.lang.String getKey()
setKey
public void setKey(java.lang.String key)
getHotkey
public java.lang.String getHotkey()
setHotkey
public void setHotkey(java.lang.String hotkey)
getValues
public java.util.List<Value> getValues()
setValues
public void setValues(java.util.List<Value> values)
addValue
public Value addValue(Value value)
removeValue
public void removeValue(Value value)
removeValue
public void removeValue(java.lang.String language)
clear
public void clear()
size
public int size()
getText
public java.lang.String getText(java.lang.String lang)
getText
public java.lang.String getText(java.lang.String lang,
java.lang.String state)
getValue
public Value getValue(java.lang.String lang)
hasValue
public boolean hasValue(java.lang.String lang)
getSupportedLanguages
public java.util.List<java.lang.String> getSupportedLanguages()
getSupportedLanguages
public java.util.List<java.lang.String> getSupportedLanguages(java.util.List<java.lang.String> languages)
clone
public Record clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(boolean boldKey)