Class Item
java.lang.Object
com.independentsoft.office.odf.forms.Item
- All Implemented Interfaces:
IContentElement
The Class Item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Returns all content elements.getLabel()Gets the text for a control.Returns the parent content element.voidSets the text for a control.voidsetParent(IContentElement parent)Sets the parent content element.toString()Converts the value of the current Item object to its equivalent string representation.
-
Constructor Details
-
Item
public Item()Initializes a new instance of the Item class.
-
-
Method Details
-
getContentElements
Returns all content elements.- Specified by:
getContentElementsin interfaceIContentElement- Returns:
- A collection of content elements.
-
getParent
Returns the parent content element.- Specified by:
getParentin interfaceIContentElement- Returns:
- the parent
-
setParent
Sets the parent content element.- Specified by:
setParentin interfaceIContentElement- Parameters:
parent- the new parent
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein interfaceIContentElement- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current Item object to its equivalent string representation. -
getLabel
Gets the text for a control.- Returns:
- the label
-
setLabel
Sets the text for a control.- Parameters:
label- the new label
-