|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.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 ('), or 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 that view. |
static LpexCommand |
composeCommand
Command to compose special characters from 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 LpexCommand composeCommand
TestUserProfile
.
public static 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
|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |