public class SelectChoice extends Object implements Externalizable, Localizable
| Modifier and Type | Field and Description |
|---|---|
TreeElement |
copyNode
if this choice represents part of an
|
| Constructor and Description |
|---|
SelectChoice()
for deserialization only
|
SelectChoice(String labelID,
String value) |
SelectChoice(String labelOrID,
String Value,
boolean isLocalizable) |
SelectChoice(String labelID,
String labelInnerText,
String value,
boolean isLocalizable) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
String |
getLabelInnerText() |
String |
getTextID() |
String |
getValue() |
boolean |
isLocalizable() |
void |
localeChanged(String locale,
Localizer localizer)
Updates the current object with the locate given.
|
void |
readExternal(DataInputStream in,
PrototypeFactory pf) |
Selection |
selection() |
void |
setIndex(int index) |
void |
setLocalizable(boolean localizable) |
void |
setTextID(String textID) |
String |
toString() |
void |
writeExternal(DataOutputStream out) |
public TreeElement copyNode
public SelectChoice()
public SelectChoice(String labelID, String labelInnerText, String value, boolean isLocalizable)
labelID - can be nulllabelInnerText - can be nullvalue - should not be nullXFormParseException - if value is nullpublic void setIndex(int index)
public String getLabelInnerText()
public String getValue()
public int getIndex()
public void localeChanged(String locale, Localizer localizer)
LocalizablelocaleChanged in interface Localizablepublic void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException, DeserializationException
readExternal in interface ExternalizableIOExceptionDeserializationExceptionpublic void writeExternal(DataOutputStream out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic Selection selection()
public boolean isLocalizable()
public void setLocalizable(boolean localizable)
public String getTextID()
public void setTextID(String textID)
Copyright © 2021. All rights reserved.