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 class
LogixNG_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 void
copy(LogixNG_SelectCharset copy)
java.nio.charset.Charset
evaluateCharset(ConditionalNG conditionalNG)
LogixNG_SelectCharset.Addressing
getAddressing()
java.nio.charset.Charset
getAllValue()
java.lang.String
getDescription(java.util.Locale locale)
LogixNG_SelectString
getSelectUserSpecified()
java.nio.charset.Charset
getStandardValue()
void
registerListeners()
Register listeners if this object needs that.void
setAddressing(LogixNG_SelectCharset.Addressing addressing)
void
setAllValue(java.nio.charset.Charset charset)
void
setStandardValue(java.nio.charset.Charset charset)
void
unregisterListeners()
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.
-
-