|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.shell.ui.UIWriterContext
class UIWriterContext
| Field Summary | |
|---|---|
private static EnumMap<Pad,String> |
charMap
|
private InvocationContext |
context
. |
(package private) boolean |
needLF
. |
private static EnumMap<Pad,Pad> |
nextMap
|
(package private) Style |
padStyle
. |
(package private) UIWriterContext |
parentUIContext
. |
(package private) ArrayList<Pad> |
stack
. |
| Constructor Summary | |
|---|---|
UIWriterContext(InvocationContext context)
|
|
UIWriterContext(UIWriterContext parentUIContext)
|
|
| Method Summary | |
|---|---|
int |
getConsoleWidth()
|
InvocationContext |
getInvocationContext()
|
void |
lineFeed()
|
void |
pad(ShellWriter writer)
|
void |
text(CharSequence csq,
int off,
int end)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final ArrayList<Pad> stack
Style padStyle
boolean needLF
private final InvocationContext context
UIWriterContext parentUIContext
private static EnumMap<Pad,String> charMap
private static EnumMap<Pad,Pad> nextMap
| Constructor Detail |
|---|
UIWriterContext(InvocationContext context)
UIWriterContext(UIWriterContext parentUIContext)
| Method Detail |
|---|
public void pad(ShellWriter writer)
throws IOException
pad in interface ShellWriterContextIOException
public void text(CharSequence csq,
int off,
int end)
text in interface ShellWriterContextpublic void lineFeed()
lineFeed in interface ShellWriterContextpublic int getConsoleWidth()
public InvocationContext getInvocationContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||