public class DataField extends XMLCollectionElement
attrId, ID_DELIMITER, myCollectionattributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
DataField(DataFields dfs,
XMLComplexElement porw)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
fillStructure()
Defines the super-class method.
|
void |
fromXML(Node node)
Overrides super-class method to return an attribute
specific XML input.
|
Package |
getPackage() |
XMLPanel |
getPanel()
Returns the panel for editing the element.
|
boolean |
isIDUniqueAndValid(XMLPanel groupPanel)
Checks if an ID entered by the user is unique.
|
boolean |
isValidEnter(XMLPanel p)
This method is called only if user doesn't press Cancel button
within the dialog for editing DataField properties, so
the changes to the real collection of DataField are applied here.
|
Collection |
toComplexTypeValues()
Overrides parent method to display data type details for BasicType and
for DeclaredType.
|
String |
toString()
Overrides super-class method to retreive the value
of this class "Id" attribute.
|
Object |
toValue()
Overrides the super class method to return the value
of it's "Name" attribute value.
|
clone, getCollection, getID, getNode, setCollectionget, get, getChildElements, getElementsCount, getIndex, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexValues, toXMLfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toNamepublic DataField(DataFields dfs, XMLComplexElement porw)
dfs - The reference to collection of data fields where
this instance will be put into.porw - The class instance which member is this class instance.protected void fillStructure()
fillStructure 在类中 XMLCollectionElementpublic XMLPanel getPanel()
XMLElementgetPanel 在类中 XMLComplexElementpublic void fromXML(Node node)
fromXML 在类中 XMLCollectionElementnode - The content retrieved from XML file, that represents tag for
this element.public Object toValue()
toValue 在类中 XMLElementpublic boolean isIDUniqueAndValid(XMLPanel groupPanel)
public String toString()
toString 在类中 XMLComplexElementpublic boolean isValidEnter(XMLPanel p)
isValidEnter 在类中 XMLElementp - The panel for editing parameters.public Collection toComplexTypeValues()
toComplexTypeValues 在类中 XMLComplexElementpublic Package getPackage()
Copyright © 2023 onecode. All rights reserved.