|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.simple.Component
org.odftoolkit.simple.form.FormControl
public abstract class FormControl
This class represents the form control, which provides the methods to get/set the control properties and style and layout properties of its binding drawing shape.
| Field Summary | |
|---|---|
protected Control |
drawingShape
|
protected FormFormElement |
formElement
|
protected OdfElement |
mElement
|
protected FormPropertiesElement |
mFormProperties
|
| Constructor Summary | |
|---|---|
FormControl()
|
|
| Method Summary | |
|---|---|
Control |
getDrawControl()
Get the drawing shape binding to this control |
abstract String |
getId()
Get the control id. |
abstract String |
getName()
Get the control name. |
OdfElement |
getOdfElement()
Get the OdfElement which represents this control |
FrameRectangle |
getRectangle()
Return the rectangle used as the bounding box of this form control |
boolean |
remove()
Remove the form control from the container. |
void |
setAnchorType(StyleTypeDefinitions.AnchorType anchorType)
Set the anchor position how this form control is bound to a text document. |
abstract void |
setControlImplementation(String controlImpl)
Set the implementation of this control. |
protected void |
setFormProperty(String formPropertyName,
String officeValueType,
String officeStringValue,
Boolean officeBooleanValue,
String officeDateValue,
String officeTimeValue,
Double officeValue,
String officeCurrency)
|
abstract void |
setId(String id)
Set the control id. |
abstract void |
setName(String name)
Set the control name. |
void |
setRectangle(FrameRectangle rectangle)
Set the rectangle used as the bounding box of this form control |
| Methods inherited from class org.odftoolkit.simple.Component |
|---|
getComponentByElement, getOwnerDocument, registerComponent, unregisterComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Control drawingShape
protected FormFormElement formElement
protected FormPropertiesElement mFormProperties
protected OdfElement mElement
| Constructor Detail |
|---|
public FormControl()
| Method Detail |
|---|
public boolean remove()
The resource is removed if it's only used by this object.
Control.remove()public OdfElement getOdfElement()
getOdfElement in class Componentpublic Control getDrawControl()
public abstract void setId(String id)
id - -the control id.public abstract String getId()
public abstract void setName(String name)
name - - the control name.public abstract String getName()
public abstract void setControlImplementation(String controlImpl)
controlImpl - - the implementation description of this controlpublic void setAnchorType(StyleTypeDefinitions.AnchorType anchorType)
anchorType - - the anchor positionpublic FrameRectangle getRectangle()
public void setRectangle(FrameRectangle rectangle)
rectangle - - the rectangle
protected void setFormProperty(String formPropertyName,
String officeValueType,
String officeStringValue,
Boolean officeBooleanValue,
String officeDateValue,
String officeTimeValue,
Double officeValue,
String officeCurrency)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||