|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.lpex.samples.ComposeAction
public class ComposeAction
Sample action compose - enter special characters. Use this action to enter into the document special characters that are not found on your default keyboard. For example, enter a acute (á) by typing a compose sequence consisting of a and apostrophe ('), and the plus-minus sign (±) by typing + and -.
Here is the ComposeAction source code.
To run this sample:
set actionClass.compose com.ibm.lpex.samples.ComposeAction
action composeor associate it with a key (here, Alt+F1 in the text area):
set keyAction.a-f1 compose
All the samples
Field Summary | |
---|---|
static LpexAction |
composeAction
Compose action that can be used when the compose command has been already defined in the view. |
static LpexCommand |
composeCommand
Command to compose special characters from a sequence of regular ones. |
Constructor Summary | |
---|---|
ComposeAction()
|
Method Summary | |
---|---|
boolean |
available(LpexView lpexView)
Returns the availability of this action. |
void |
doAction(LpexView lpexView)
Runs the action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LpexCommand composeCommand
TestUserProfile
.
public static final LpexAction composeAction
TestUserProfile
.
Constructor Detail |
---|
public ComposeAction()
Method Detail |
---|
public void doAction(LpexView lpexView)
doAction
in interface LpexAction
lpexView
- the document view in which the action is issuedpublic boolean available(LpexView lpexView)
available
in interface LpexAction
lpexView
- the document view for which the action availability is
queried
|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |