|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.lpex.samples.HairlineCommand
public class HairlineCommand
Sample command hairline - control the display of a cursor or fixed vertical hairline.
Here is the HairlineCommand source code.
To run this sample:
set commandClass.hairline com.ibm.lpex.samples.HairlineCommand
hairline [on | cursor | off]
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 |
---|
public HairlineCommand()
Method Detail |
---|
public boolean doCommand(LpexView lpexView, String parameters)
doCommand
in interface LpexCommand
lpexView
- the document view in which the command was issuedparameters
- optional parameter "on", "cursor" (to track cursor movements),
or "off" (to remove the hairline)
|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |