|
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.DetabCommand
public class DetabCommand
Sample command detab - expand all tabs to spaces. Expands all the tab characters in the document to blanks. By default, it uses the value of the tabs editor parameter in the current view. Alternatively, the tab settings may be specified via the command parameters.
Here is the DetabCommand
source code.
This class shares several methods with EntabCommand
.
To run this sample:
set commandClass.detab com.ibm.lpex.samples.DetabCommand
detab [stop1 stop2 .. [every increment]]
EntabCommand
,
All the samples
Constructor Summary | |
---|---|
DetabCommand()
|
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 DetabCommand()
Method Detail |
---|
public boolean doCommand(LpexView lpexView, String parameters)
doCommand
in interface LpexCommand
lpexView
- the document view in which the command was issuedparameters
- optional tab stops
|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |