|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.LongestCommand
Sample command longest - locate the longest text line. Run this command to locate the first longest visible text line in the current view. Trailing white space in the text is ignored.
Here is the LongestCommand source code.
To run this sample:
set commandClass.longest com.ibm.lpex.samples.LongestCommand
longest
All the samples
Constructor Summary | |
---|---|
LongestCommand()
|
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 LongestCommand()
Method Detail |
public boolean doCommand(LpexView lpexView, String parameters)
doCommand
in interface LpexCommand
lpexView
- the document view in which the command was issuedparameters
- N/A, no parameters are used by this command
|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |