public class DataTypes extends XMLComplexChoice
atts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
DataTypes(XMLComplexElement myOwner,
Package p,
int[] invisibleTypes,
int choosenIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromXML(String choosen,
Node node)
Supposed to be used (and overriden) by class that represent XML choice of
complex elements.
|
Object[] |
getChoices()
The possible choices could be instances of XMLElement class, or can be instances of String.
|
XMLComplexElement |
getOwner() |
XMLPanel |
getPanel()
The default panel that represents this class visually is instance of
XMLComboPanel class. |
void |
setValue(Object v)
Overrides the super-method to set the value field and the choosen field to the specified value.
|
String |
toString()
Overrides super-class method to retrieve the defined condition.
|
clone, isEmpty, toXMLgetChoosen, getChoosenIndex, itemChanged, refreshLabelName, setChoosenIndex, setReadOnlyfromXML, getNode, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isValid, isValidEnter, isVisible, setCollapsed, setLabelName, setRequired, setVisible, toLabel, toName, toValuepublic DataTypes(XMLComplexElement myOwner, Package p, int[] invisibleTypes, int choosenIndex)
public void setValue(Object v)
XMLChoicepublic XMLPanel getPanel()
XMLChoiceXMLComboPanel class. The panel has
the combo box that is filled with content of choices field.getPanel 在类中 XMLComplexChoicepublic Object[] getChoices()
XMLChoicegetChoices 在类中 XMLChoicepublic XMLComplexElement getOwner()
public String toString()
toString 在类中 XMLElementpublic void fromXML(String choosen, Node node)
XMLElementfromXML 在类中 XMLComplexChoicechoosen - The element name.node - The content retrieved from XML file, that represents tag for
this element.Copyright © 2023 onecode. All rights reserved.