public class ExternalPackages extends XMLCollection
controlledPanel, controlPanel, IDPrefix, myOwner, refCollectionElementsatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
ExternalPackages(Package myOwner)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canInsertElement(XMLElement el)
Returns true if element can be inserted into collection.
|
boolean |
canRemoveElement(XMLElement el)
Overrides super-class method to implement class specific check wether
specified element can be removed from this class collection or not.
|
XMLElement |
generateNewElement()
Generates a new element of the class which instances are members of
collection of this class. return The generated instance of class that
makes collection.
|
String |
getInUseMessageName(XMLComplexElement el)
Returns the name of the message defined within property file that
explains the reason why element that is in use can't be deleted.
|
XMLPanel |
getPanel()
Creates panel which allows user to manipulate with instances of classes
that makes a collection that this class represents.
|
void |
onElementInserted(XMLElement el)
Overrides super-class method to implement class specific actions when
element is inserted into this class collection.
|
void |
onElementRemoved(XMLElement el)
Overrides super-class method to implement class specific actions when
element is removed from this class collection.
|
add, clear, clone, decrementID, fromXML, generateID, get, getChoosable, getCollectionElement, getControlledPanel, getControlPanel, getCurrentID, getEditableDefaultValue, getEditableTableFieldOrdinals, getElementStructure, getIDPrefix, getInvisibleTableFieldOrdinals, getJList, getNode, getOwner, getReadOnlyMessageName, getTableElements, getValues, getXPDLNode, isEmpty, isIdValid, isJCheckBox, onElementCreated, onElementDeleted, onElementModified, refreshCollection, refreshLabelName, remove, resetID, setCurrentID, setIDPrefix, setOwner, setReadOnly, size, toCollection, toString, toXML, updateIDfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isValid, isValidEnter, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic ExternalPackages(Package myOwner)
myOwner - The package which member is this class instance.public XMLElement generateNewElement()
generateNewElement 在类中 XMLCollectionpublic boolean canInsertElement(XMLElement el)
XMLCollectioncanInsertElement 在类中 XMLCollectionpublic void onElementInserted(XMLElement el)
onElementInserted 在类中 XMLCollectionel - Inserted element - in this case it must be instance of
ExternalPackage class.public boolean canRemoveElement(XMLElement el)
canRemoveElement 在类中 XMLCollectionel - Element that is checked for removal - in this case it must be
instance of ExternalPackage class.public void onElementRemoved(XMLElement el)
onElementRemoved 在类中 XMLCollectionel - Removed element - in this case it must be instance of
ExternalPackage class.public XMLPanel getPanel()
NOTE: The order of creation is relevant, first, the controlled panel must be created, and then the control panel
getPanel 在类中 XMLCollectionpublic String getInUseMessageName(XMLComplexElement el)
XMLCollectiongetInUseMessageName 在类中 XMLCollectionCopyright © 2023 onecode. All rights reserved.