Package com.independentsoft.office.vml
Class TextBox
java.lang.Object
com.independentsoft.office.vml.TextBox
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class TextBox.
-
Constructor Summary
ConstructorsConstructorDescriptionTextBox()Instantiates a new text box.TextBox(InternalXMLStreamReader reader)Instantiates a new text box. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the content.getID()Gets the id.getInset()Gets the inset.Gets the inset mode.getStyle()Gets the style.booleanChecks if is single click.voidsetContent(String content)Sets the content.voidSets the id.voidSets the inset.voidsetInsetMode(InsetMode insetMode)Sets the inset mode.voidsetSingleClick(boolean singleClick)Sets the single click.voidsetStyle(ShapeStyle style)Sets the style.toString()
-
Constructor Details
-
TextBox
public TextBox()Instantiates a new text box. -
TextBox
Instantiates a new text box.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIGroupElement- Specified by:
clonein interfaceIShapeElement- Specified by:
clonein interfaceIVmlElement- Overrides:
clonein classObject
-
toString
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getInset
Gets the inset.- Returns:
- the inset
-
setInset
Sets the inset.- Parameters:
inset- the new inset
-
getInsetMode
Gets the inset mode.- Returns:
- the inset mode
-
setInsetMode
Sets the inset mode.- Parameters:
insetMode- the new inset mode
-
isSingleClick
public boolean isSingleClick()Checks if is single click.- Returns:
- true, if is single click
-
setSingleClick
public void setSingleClick(boolean singleClick)Sets the single click.- Parameters:
singleClick- the new single click
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
getContent
Gets the content.- Returns:
- the content
-
setContent
Sets the content.- Parameters:
content- the new content
-