LPEX
4.4.0

com.ibm.lpex.samples
Class ComposeHebrewAction

java.lang.Object
  extended by com.ibm.lpex.samples.ComposeAction
      extended by 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

Field Summary
static LpexCommand composeHebrewCommand
          Command to map regular Latin characters to Hebrew characters.
 
Fields inherited from class com.ibm.lpex.samples.ComposeAction
composeAction, composeCommand
 
Constructor Summary
ComposeHebrewAction()
           
 
Method Summary
 void doAction(LpexView lpexView)
          Runs the action.
 
Methods inherited from class com.ibm.lpex.samples.ComposeAction
available
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

composeHebrewCommand

public static final LpexCommand composeHebrewCommand
Command to map regular Latin characters to Hebrew characters. Called by the input editor command when prompting for the sequence to 'transliterate'.

Constructor Detail

ComposeHebrewAction

public ComposeHebrewAction()
Method Detail

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

LPEX
4.4.0

Copyright � 2016 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.