public class TypeDeclaration extends XMLCollectionElement
attrId, ID_DELIMITER, myCollectionattributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
TypeDeclaration(TypeDeclarations tds,
Package p)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
fillStructure()
Defines the super-class method.
|
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.
|
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 "Name"
attribute.
|
clone, fromXML, getCollection, getID, getNode, setCollectionget, get, getChildElements, getElementsCount, getIndex, 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 TypeDeclaration(TypeDeclarations tds, Package p)
tds - The reference to collection of type declarations where this
instance will be put into.protected void fillStructure()
fillStructure 在类中 XMLCollectionElementpublic XMLPanel getPanel()
XMLElementgetPanel 在类中 XMLComplexElementpublic String toString()
toString 在类中 XMLComplexElementpublic boolean isIDUniqueAndValid(XMLPanel groupPanel)
public Collection toComplexTypeValues()
toComplexTypeValues 在类中 XMLComplexElementpublic Package getPackage()
Copyright © 2023 onecode. All rights reserved.