Package jmri.jmrit.logixng.util
Class LogixNG_SelectCharset
- java.lang.Object
-
- jmri.jmrit.logixng.util.LogixNG_SelectCharset
-
public class LogixNG_SelectCharset extends java.lang.Object
Select a charset for LogixNG actions and expressions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogixNG_SelectCharset.Addressing
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.nio.charset.Charset>STANDARD_CHARSETS
-
Constructor Summary
Constructors Constructor Description LogixNG_SelectCharset(AbstractBase base, java.beans.PropertyChangeListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopy(LogixNG_SelectCharset copy)java.nio.charset.CharsetevaluateCharset(ConditionalNG conditionalNG)LogixNG_SelectCharset.AddressinggetAddressing()java.nio.charset.CharsetgetAllValue()java.lang.StringgetDescription(java.util.Locale locale)LogixNG_SelectStringgetSelectUserSpecified()java.nio.charset.CharsetgetStandardValue()voidregisterListeners()Register listeners if this object needs that.voidsetAddressing(LogixNG_SelectCharset.Addressing addressing)voidsetAllValue(java.nio.charset.Charset charset)voidsetStandardValue(java.nio.charset.Charset charset)voidunregisterListeners()Unregister listeners if this object needs that.
-
-
-
Field Detail
-
STANDARD_CHARSETS
public static final java.util.List<java.nio.charset.Charset> STANDARD_CHARSETS
-
-
Constructor Detail
-
LogixNG_SelectCharset
public LogixNG_SelectCharset(AbstractBase base, java.beans.PropertyChangeListener listener)
-
-
Method Detail
-
copy
public void copy(LogixNG_SelectCharset copy) throws ParserException
- Throws:
ParserException
-
setAddressing
public void setAddressing(@Nonnull LogixNG_SelectCharset.Addressing addressing)
-
getAddressing
public LogixNG_SelectCharset.Addressing getAddressing()
-
setStandardValue
public void setStandardValue(@Nonnull java.nio.charset.Charset charset)
-
getStandardValue
public java.nio.charset.Charset getStandardValue()
-
setAllValue
public void setAllValue(@Nonnull java.nio.charset.Charset charset)
-
getAllValue
public java.nio.charset.Charset getAllValue()
-
getSelectUserSpecified
public LogixNG_SelectString getSelectUserSpecified()
-
evaluateCharset
public java.nio.charset.Charset evaluateCharset(ConditionalNG conditionalNG) throws JmriException
- Throws:
JmriException
-
getDescription
public java.lang.String getDescription(java.util.Locale locale)
-
registerListeners
public void registerListeners()
Register listeners if this object needs that.
-
unregisterListeners
public void unregisterListeners()
Unregister listeners if this object needs that.
-
-