public class FormalParameter extends XMLCollectionElement
attrId, ID_DELIMITER, myCollectionattributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
FormalParameter(FormalParameters fps,
Package p)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
fillStructure()
Defines the super-class method.
|
void |
fromXML(Node node)
Supposed to be overriden by derived classes to implement element specific
reading from an XML file.
|
boolean |
isIDUniqueAndValid(XMLPanel groupPanel)
Checks if an ID entered by the user is unique.
|
Collection |
toComplexTypeValues()
Overrides parent method to display data type details for BasicType and
for DeclaredType.
|
String |
toString()
Returns the text representation of element's 'value'.
|
clone, getCollection, getID, getNode, setCollectionget, get, getChildElements, getElementsCount, getIndex, getPanel, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexValues, toXMLfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isValidEnter, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic FormalParameter(FormalParameters fps, Package p)
fps - The reference to collection of formal parameters where this
instance will be put into.p - The package which elements holds instance of of this class.protected void fillStructure()
fillStructure 在类中 XMLCollectionElementpublic void fromXML(Node node)
XMLElementfromXML 在类中 XMLCollectionElementnode - The content retrieved from XML file, that represents tag for
this element.public boolean isIDUniqueAndValid(XMLPanel groupPanel)
public String toString()
XMLElementtoString method of it's value member, if value is
null, returns labelName member.toString 在类中 XMLComplexElementpublic Collection toComplexTypeValues()
toComplexTypeValues 在类中 XMLComplexElementCopyright © 2023 onecode. All rights reserved.