SWT LPEX
v3.0.5

com.ibm.lpex.samples
Class HairlineCommand

java.lang.Object
  extended bycom.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 "cursor" (to track cursor movements) or "off" (to remove the hairline)

SWT LPEX
v3.0.5

(C) Copyright IBM Corporation 1998, 2005.  All Rights Reserved.