com.ibm.lpex.samples
Class ComposeHebrewAction
java.lang.Object
com.ibm.lpex.samples.ComposeAction
com.ibm.lpex.samples.ComposeHebrewAction
- All Implemented Interfaces:
- LpexAction
public class ComposeHebrewAction
- extends ComposeAction
Sample action composeHebrew - enter Hebrew characters.
Use this action to enter Hebrew characters into a document using
a non-Hebrew keyboard. For example, enter alef by typing a.
The mapping table used is a quirky, very rough transliteration.
Here is the ComposeHebrewAction
source code.
To run this sample:
See the source code
for the character mapping. To see these characters in the document, you may need
a Hebrew-locale or Unicode font installed on your system. The document must be
saved to an encoding which supports Hebrew characters.
- See Also:
All the samples
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
composeHebrewCommand
public static LpexCommand composeHebrewCommand
- Command to map regular Latin characters to Hebrew characters. Called by the
input editor command when prompting for the sequence to 'transliterate'.
ComposeHebrewAction
public ComposeHebrewAction()
doAction
public void doAction(LpexView lpexView)
- Runs the action.
Prompts the user for a sequence to 'transliterate', then enters the (mapped
Hebrew) character(s) into the document. Uses the input default editor
command, and the composeHebrew command defined in here.
- Specified by:
doAction
in interface LpexAction
- Overrides:
doAction
in class ComposeAction
- Parameters:
lpexView
- the document view in which the action is issued
Copyright © 2013 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.