com.alee.managers.language.data
Class Value
java.lang.Object
com.alee.managers.language.data.Value
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
@XStreamConverter(value=ValueConverter.class)
public final class Value
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- Author:
- Mikle Garin
- See Also:
- Serialized Form
Constructor Summary |
Value()
|
Value(java.lang.String lang,
java.lang.Character mnemonic,
java.lang.String text)
|
Value(java.lang.String lang,
java.lang.Character mnemonic,
java.lang.String hotkey,
java.lang.String text)
|
Value(java.lang.String lang,
java.lang.String text)
|
Value(java.lang.String lang,
java.lang.String hotkey,
java.lang.String text)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Value
public Value()
Value
public Value(java.lang.String lang,
java.lang.String text)
Value
public Value(java.lang.String lang,
java.lang.Character mnemonic,
java.lang.String text)
Value
public Value(java.lang.String lang,
java.lang.String hotkey,
java.lang.String text)
Value
public Value(java.lang.String lang,
java.lang.Character mnemonic,
java.lang.String hotkey,
java.lang.String text)
getLang
public java.lang.String getLang()
setLang
public void setLang(java.lang.String lang)
getMnemonic
public java.lang.Character getMnemonic()
setMnemonic
public void setMnemonic(java.lang.Character mnemonic)
getHotkey
public java.lang.String getHotkey()
setHotkey
public void setHotkey(java.lang.String hotkey)
getTexts
public java.util.List<Text> getTexts()
setTexts
public void setTexts(java.util.List<Text> texts)
getText
public java.lang.String getText()
getText
public java.lang.String getText(java.lang.String state)
getText
public java.lang.String getText(java.lang.String state,
boolean defaultState)
getTextObject
public Text getTextObject()
getTextObject
public Text getTextObject(java.lang.String state)
getTextObject
public Text getTextObject(java.lang.String state,
boolean defaultState)
getTextObject
public Text getTextObject(int index)
addText
public Text addText(java.lang.String text)
addText
public Text addText(java.lang.String text,
java.lang.String state)
addText
public Text addText(Text text)
removeText
public void removeText(Text text)
getTooltips
public java.util.List<Tooltip> getTooltips()
setTooltips
public void setTooltips(java.util.List<Tooltip> tooltips)
addTooltip
public Tooltip addTooltip(java.lang.String text)
addTooltip
public Tooltip addTooltip(java.lang.Integer delay,
java.lang.String text)
addTooltip
public Tooltip addTooltip(TooltipWay way,
java.lang.String text)
addTooltip
public Tooltip addTooltip(TooltipWay way,
java.lang.Integer delay,
java.lang.String text)
addTooltip
public Tooltip addTooltip(TooltipType type,
java.lang.String text)
addTooltip
public Tooltip addTooltip(Tooltip tooltip)
removeTooltip
public void removeTooltip(Tooltip tooltip)
getTooltipObject
public Tooltip getTooltipObject(int index)
clone
public Value clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object