LPEX
4.4.0

com.ibm.lpex.samples
Class HairlineCommand

java.lang.Object
  extended by com.ibm.lpex.samples.HairlineCommand
All Implemented Interfaces:
LpexCommand

public class HairlineCommand
extends Object
implements LpexCommand

Sample command hairline - control the display of a cursor or fixed vertical hairline.

Here is the HairlineCommand source code.

To run this sample:

See Also:
CursorHairline, All the samples

Constructor Summary
HairlineCommand()
           
 
Method Summary
 boolean doCommand(LpexView lpexView, String parameters)
          Runs this command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HairlineCommand

public HairlineCommand()
Method Detail

doCommand

public boolean doCommand(LpexView lpexView,
                         String parameters)
Runs this command. Sets the display and type of a vertical hairline.

Specified by:
doCommand in interface LpexCommand
Parameters:
lpexView - the document view in which the command was issued
parameters - optional parameter "on", "cursor" (to track cursor movements), or "off" (to remove the hairline)

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.