public abstract class EditAction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Action |
action |
private int |
end |
private int |
start |
| Modifier | Constructor and Description |
|---|---|
protected |
EditAction(int start,
Action action) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doAction(java.lang.String buffer)
Perform an action
|
Action |
getAction() |
int |
getEnd() |
int |
getStart() |
protected boolean |
isDelimiter(char c)
Checks to see if the specified character is a delimiter.
|
protected boolean |
isSpace(char c)
Checks to see if the specified character is a space.
|
private void |
setAction(Action action) |
protected void |
setEnd(int end) |
private void |
setStart(int start) |
private int start
private int end
private Action action
protected EditAction(int start,
Action action)
public abstract void doAction(java.lang.String buffer)
buffer - consoleprivate void setAction(Action action)
public final Action getAction()
private void setStart(int start)
public final int getStart()
protected void setEnd(int end)
public final int getEnd()
protected final boolean isDelimiter(char c)
c - the character to testprotected final boolean isSpace(char c)
c - the character to test