|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextFieldService
Textfield service of a text document.
Field Summary | |
---|---|
static java.lang.String |
ANNOTATION_TEXTFIELD_ID
Annotation textfield id |
static java.lang.String |
PLACEHOLDER_TEXTFIELD_ID
Placerholder textfield id |
static java.lang.String |
USER_TEXTFIELD_ID
User textfield id |
static java.lang.String |
USER_TEXTFIELD_MASTER_ID
User field master id |
static java.lang.String |
VARIABLES_TEXTFIELD_ID
Variables textfield id |
static java.lang.String |
VARIABLES_TEXTFIELD_MASTER_ID
Variables field master id |
Method Summary | |
---|---|
ITextField |
addUserTextField(java.lang.String name,
java.lang.String content)
Adds new user textfield. |
ITextField |
createPlaceholderTextField(java.lang.String name,
java.lang.String hint,
short placeholderType)
Creates a new placeholder textfield. |
IVariableTextFieldMaster |
createVariableTextFieldMaster(java.lang.String name,
short variableType)
Creates a new variable textfield master and returns it, or returns the one that already exists, if it does. |
ITextField[] |
getPlaceholderFields()
Returns all available placeholder textfields. |
ITextFieldMaster |
getUserTextFieldMaster(java.lang.String name)
Returns master of a user textfield with the submitted name. |
ITextFieldMaster[] |
getUserTextFieldMasters(java.lang.String prefix)
Returns masters of the user textfields with the submitted name prefix. |
ITextFieldMaster[] |
getUserTextFieldMasters(java.lang.String prefix,
java.lang.String suffix)
Returns masters of the user textfields with the submitted name prefix and suffix. |
ITextField[] |
getUserTextFields()
Returns all available user textfields. |
ITextField[] |
getVariableFields(java.lang.String prefix)
Returns all available variable textfields with the submitted name prefix. |
IVariableTextFieldMaster |
getVariableTextFieldMaster(java.lang.String masterName)
Returns master of the variables text fields with the submitted name, or null if not availbale. |
IVariableTextFieldMaster[] |
getVariableTextFieldMasters(java.lang.String prefix)
Returns all masters of the variables text fields with the submitted name prefix. |
void |
refresh()
Refreshes all textfields. |
Field Detail |
---|
static final java.lang.String USER_TEXTFIELD_MASTER_ID
static final java.lang.String USER_TEXTFIELD_ID
static final java.lang.String VARIABLES_TEXTFIELD_MASTER_ID
static final java.lang.String VARIABLES_TEXTFIELD_ID
static final java.lang.String ANNOTATION_TEXTFIELD_ID
static final java.lang.String PLACEHOLDER_TEXTFIELD_ID
Method Detail |
---|
ITextFieldMaster getUserTextFieldMaster(java.lang.String name) throws TextException
name
- name of the master of the user textfield
TextException
- if the user textfield can not be providedITextFieldMaster[] getUserTextFieldMasters(java.lang.String prefix) throws TextException
prefix
- name prefix to be used
TextException
- if the masters of the user textfields can not be constructedITextFieldMaster[] getUserTextFieldMasters(java.lang.String prefix, java.lang.String suffix) throws TextException
prefix
- name prefix to be usedsuffix
- name suffix to be used
TextException
- if the masters of the user textfields can not be constructedITextField addUserTextField(java.lang.String name, java.lang.String content) throws TextException
name
- name of the textfieldcontent
- content of the textfield
TextException
- if any error occurs during textfield creationITextField[] getUserTextFields() throws TextException
TextException
- if the user textfields can not be constructedITextField[] getPlaceholderFields() throws TextException
TextException
- if the placeholder textfields can not be constructedITextField createPlaceholderTextField(java.lang.String name, java.lang.String hint, short placeholderType) throws TextException
name
- name of the placeholder textfieldhint
- the hint of the placeholder textfield, may be nullplaceholderType
- the type of the placeholder found in static
members of com.sun.star.text.PlaceholderType (i.e. PlaceholderType.TEXT)
TextException
- if any error occurs during placeholder textfield creationIVariableTextFieldMaster getVariableTextFieldMaster(java.lang.String masterName) throws TextException
masterName
- name of the master to return
TextException
- if the master can not be returnedIVariableTextFieldMaster[] getVariableTextFieldMasters(java.lang.String prefix) throws TextException
prefix
- name prefix to be used
TextException
- if the masters can not be returnedIVariableTextFieldMaster createVariableTextFieldMaster(java.lang.String name, short variableType) throws TextException
name
- name of the variable textfield mastervariableType
- the type of the variable master found in static
members of com.sun.star.text.SetVariableType (i.e. SetVariableType.STRING)
TextException
- if any error occurs during variable textfield master creationITextField[] getVariableFields(java.lang.String prefix) throws TextException
prefix
- name prefix to be used
TextException
- if the variable textfields can not be constructedvoid refresh() throws TextException
TextException
- if refresh fails
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |