public class ExtendedAttribute extends XMLComplexElement
attributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
ExtendedAttribute() |
ExtendedAttribute(ExtendedAttributes owner)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone()
Used to create exact copy of instance of this 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.
|
XMLCollection |
getAnyXMLCollection() |
Package |
getPackage()
Returns the package where ext. attrib. belongs to.
|
XMLPanel |
getPanel()
Prepares the panel for showing extended attribute of some XML element.
|
boolean |
isValidEnter(XMLPanel p)
This method checks if the name of the attribute is valid, and if complex
part of extended attribute is valid.
|
void |
setAnyXMLCollection(XMLCollection collection) |
String |
toString()
Returns the text representation of element's 'value'.
|
void |
toXML(Node parent)
Overrides super-class method to realize this class specific writting to
XML file.
|
get, get, getChildElements, getElementsCount, getIndex, getNode, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexTypeValues, toComplexValuesfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic ExtendedAttribute(ExtendedAttributes owner)
public ExtendedAttribute()
public Package getPackage()
protected void fillStructure()
fillStructure 在类中 XMLComplexElementpublic void toXML(Node parent)
toXML 在类中 XMLComplexElementparent - indicates how much tabulators to put before element tag.public XMLPanel getPanel()
getPanel 在类中 XMLComplexElementpublic String toString()
XMLElementtoString method of it's value member, if value is
null, returns labelName member.toString 在类中 XMLComplexElementpublic Object clone()
clone 在类中 XMLComplexElementpublic boolean isValidEnter(XMLPanel p)
isValidEnter 在类中 XMLElementp - The panel for editing extended attribute.public void setAnyXMLCollection(XMLCollection collection)
public XMLCollection getAnyXMLCollection()
public void fromXML(Node node)
XMLElementfromXML 在类中 XMLComplexElementnode - The content retrieved from XML file, that represents tag for
this element.Copyright © 2023 onecode. All rights reserved.