public class Application extends XMLCollectionElement
attrId, ID_DELIMITER, myCollectionattributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
Application(Applications aps,
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.
|
Package |
getPackage()
Used to determine if application is external to some collection.
|
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 groupPanel)
This method is called only if user doesn't press Cancel button within the
dialog for editing Application properties, so the changes to the real
collection of Applications are applied here.
|
String |
toString()
Overrides super-class method to retreive the value of this class "Name"
attribute.
|
clone, getCollection, getID, getNode, setCollectionget, get, getChildElements, getElementsCount, getIndex, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexTypeValues, toComplexValues, toXMLfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic Application(Applications aps, Package p)
aps - The reference to collection of applications where this
instance will be put into.p - The package where applications are defined.protected void fillStructure()
fillStructure 在类中 XMLCollectionElementpublic XMLPanel getPanel()
XMLElementgetPanel 在类中 XMLComplexElementpublic String toString()
toString 在类中 XMLComplexElementpublic Package getPackage()
public void fromXML(Node node)
XMLElementfromXML 在类中 XMLCollectionElementnode - The content retrieved from XML file, that represents tag for
this element.public boolean isIDUniqueAndValid(XMLPanel groupPanel)
public boolean isValidEnter(XMLPanel groupPanel)
isValidEnter 在类中 XMLElementgroupPanel - The panel for editing parameters.Copyright © 2023 onecode. All rights reserved.