|
LPEX 3.6.7 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.FindsCommand
public class FindsCommand
Sample command finds - count find-text matches in the document. This command uses the current findText. settings to determine the number of occurrences in the document of either findText.findText or the specified text string. It is a purely-informational "findText all".
Here is the FindsCommand source code.
To run this sample:
set commandClass.finds com.ibm.lpex.samples.FindsCommand
finds [text]
?
as a parameter, the command displays its syntax
on the message line.
MatchesCommand
,
All the samples
Constructor Summary | |
---|---|
FindsCommand()
|
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 FindsCommand()
Method Detail |
---|
public boolean doCommand(LpexView lpexView, String parameters)
doCommand
in interface LpexCommand
lpexView
- the document view in which the command was issuedparameters
- the command parameters
|
LPEX 3.6.7 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |