|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteFields
Method Summary | |
---|---|
IRemoteDateTimeField |
addDateField(IRemoteTextRange position)
This method adds a date field to the document. |
IRemoteField |
addField(IRemoteTextRange position,
int type)
This method adds a field to a document. |
IRemoteHiddenTextField |
addHiddenTextField(IRemoteTextRange position,
java.lang.String content,
java.lang.String condition)
This method adds a hidden text field to a document. |
IRemotePageNumberField |
addPageNumberField(IRemoteTextRange position)
This method adds a page number field to a document. |
IRemoteSetVariableField |
addSetVariableField(IRemoteTextRange position,
java.lang.String variableName)
This method adds a set variable field to a document. |
IRemoteShowVariableField |
addShowVariableField(IRemoteTextRange position,
java.lang.String variableName)
This method adds a show variable field to a document. |
IRemoteDateTimeField |
addTimeField(IRemoteTextRange position)
This method adds a time field to a document. |
IRemoteUserField |
addUserField(IRemoteTextRange position,
java.lang.String name)
This method adds a user field to a document. |
int |
countByType(int type)
This method returns the number of the fields according to the field type. |
IRemoteSymphonyApplication |
getApplication()
This property represents the Lotus Symphony application. |
IRemoteField |
itemByType(int type,
int index)
This method gets a field according to the index and field type. |
void |
refresh()
This method refreshes all the fields of a document. |
Method Detail |
---|
IRemoteSymphonyApplication getApplication() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteField itemByType(int type, int index) throws RemoteEclipseAPIException
type
- Specifies the type of the field. The type of this parameter is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
Constant.FIELD_TYPE_USER | 0 | specifies the user field. |
Constant.FIELD_TYPE_PAGENUMBER | 1 | specifies the page number field. |
Constant.FIELD_TYPE_DATETIME | 2 | specifies the show variable field. |
Constant.FIELD_TYPE_HIDDENTEXT | 3 | specifies the set variable field. |
Constant.FIELD_TYPE_SETVARIABLE | 4 | specifies the hidden text field. |
Constant.FIELD_TYPE_SHOWVARIABLE | 5 | specifies the date time field. |
index
- Specifies the index of the field to get, starting at 1.
RemoteEclipseAPIException
int countByType(int type) throws RemoteEclipseAPIException
type
- Specifies the type of the field. The type of this parameter is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
Constant.FIELD_TYPE_USER | 0 | specifies the user field. |
Constant.FIELD_TYPE_PAGENUMBER | 1 | specifies the page number field. |
Constant.FIELD_TYPE_DATETIME | 2 | specifies the show variable field. |
Constant.FIELD_TYPE_HIDDENTEXT | 3 | specifies the set variable field. |
Constant.FIELD_TYPE_SETVARIABLE | 4 | specifies the hidden text field. |
Constant.FIELD_TYPE_SHOWVARIABLE | 5 | specifies the date time field. |
RemoteEclipseAPIException
IRemoteField addField(IRemoteTextRange position, int type) throws RemoteEclipseAPIException
position
- Specifies the position of the new field.type
- Specifies the type of the new field. The type of this parameter is a constant and can be one of these values:Constant | Value | Description |
---|---|---|
Constant.FIELD_TYPE_USER | 0 | specifies the user field. |
Constant.FIELD_TYPE_PAGENUMBER | 1 | specifies the page number field. |
Constant.FIELD_TYPE_DATETIME | 2 | specifies the show variable field. |
Constant.FIELD_TYPE_HIDDENTEXT | 3 | specifies the set variable field. |
Constant.FIELD_TYPE_SETVARIABLE | 4 | specifies the hidden text field. |
Constant.FIELD_TYPE_SHOWVARIABLE | 5 | specifies the date time field. |
RemoteEclipseAPIException
IRemotePageNumberField addPageNumberField(IRemoteTextRange position) throws RemoteEclipseAPIException
position
- Specifies the position of the field.
RemoteEclipseAPIException
IRemoteUserField addUserField(IRemoteTextRange position, java.lang.String name) throws RemoteEclipseAPIException
position
- Specifies the position of the new field.name
- Specifies the name of the user field, the name is restrict within [alphabet,number,_].
RemoteEclipseAPIException
IRemoteHiddenTextField addHiddenTextField(IRemoteTextRange position, java.lang.String content, java.lang.String condition) throws RemoteEclipseAPIException
position
- Specifies the position of the field.content
- Specifies the content of the hidden text field.condition
- Specifies a logical expression to control the display of the field. For more information, see Help > Help Contents > IBM Lotus Symphony >Documents: Reference > Defining Conditions.
RemoteEclipseAPIException
IRemoteShowVariableField addShowVariableField(IRemoteTextRange position, java.lang.String variableName) throws RemoteEclipseAPIException
position
- Specifies the position of the field.variableName
- Specifies the name of the variable to show, the name is restrict within (_|[:alnum:]).
RemoteEclipseAPIException
IRemoteSetVariableField addSetVariableField(IRemoteTextRange position, java.lang.String variableName) throws RemoteEclipseAPIException
position
- Specifies the position of the field.variableName
- Specifies the variable name of the field, the name is restrict within (_|[:alnum:]).
RemoteEclipseAPIException
IRemoteDateTimeField addDateField(IRemoteTextRange position) throws RemoteEclipseAPIException
position
- Specifies the position of the new field.
RemoteEclipseAPIException
IRemoteDateTimeField addTimeField(IRemoteTextRange position) throws RemoteEclipseAPIException
position
- Specifies the position of the new field.
RemoteEclipseAPIException
void refresh() throws RemoteEclipseAPIException
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |