public class UserProperties extends XMLCollection
controlledPanel, controlPanel, IDPrefix, myOwner, refCollectionElementsatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
UserProperties(Package myPackage)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
Collection |
getChoosable()
Overrides super-class method to return only optional properties to be
choosable.
|
int[] |
getInvisibleTableFieldOrdinals()
Returns the ordinal numbers of elements not to be displayed within table
panel.
|
Set |
getMandatoryProperties()
Returns set of mandatory and 'mandatory from it's creation' properties
defined in package.
|
UserProperty |
getProperty(String ID)
Returns a property specified by ID.
|
void |
onElementCreated(XMLElement el)
Overrides super-class method to implement class specific actions when
element is created.
|
void |
onElementDeleted(XMLElement el)
Overrides super-class method to implement class specific actions when
element is deleted.
|
void |
onElementModified(XMLElement el)
Overrides super-class method to implement class specific actions when
element is modified.
|
protected void |
updateID(String someID)
Overrides parent method to be accessible within package.
|
add, canInsertElement, canRemoveElement, clear, clone, decrementID, fromXML, generateID, get, getCollectionElement, getControlledPanel, getControlPanel, getCurrentID, getEditableDefaultValue, getEditableTableFieldOrdinals, getElementStructure, getIDPrefix, getInUseMessageName, getJList, getNode, getOwner, getPanel, getReadOnlyMessageName, getTableElements, getValues, getXPDLNode, isEmpty, isIdValid, isJCheckBox, onElementInserted, onElementRemoved, refreshCollection, refreshLabelName, remove, resetID, setCurrentID, setIDPrefix, setOwner, setReadOnly, size, toCollection, toString, toXMLfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isValid, isValidEnter, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic UserProperties(Package myPackage)
myPackage - The reference to package that defines properties.public XMLElement generateNewElement()
generateNewElement 在类中 XMLCollectionpublic int[] getInvisibleTableFieldOrdinals()
XMLCollectionXMLComplexElement.fillStructure() method.public Collection getChoosable()
getChoosable 在类中 XMLCollectionpublic Set getMandatoryProperties()
public UserProperty getProperty(String ID)
ID - An 'Id' attribut of desired property.public void onElementCreated(XMLElement el)
onElementCreated 在类中 XMLCollectionel - Created element - in this case it must be instance of
UserProperty class.public void onElementModified(XMLElement el)
onElementModified 在类中 XMLCollectionel - Modified element - in this case it must be instance of
UserProperty class.public void onElementDeleted(XMLElement el)
onElementDeleted 在类中 XMLCollectionel - Deleted element - in this case it must be instance of
UserProperty class.protected void updateID(String someID)
updateID 在类中 XMLCollectionsomeID - the ID value upon the update is performed.Copyright © 2023 onecode. All rights reserved.