|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.text.ChunkAdapter
public class ChunkAdapter
| Field Summary | |
|---|---|
private LinkedList<Object> |
buffer
. |
private RenderAppendable |
out
. |
private Renderable |
renderable
. |
| Constructor Summary | |
|---|---|
ChunkAdapter(IOContext<Chunk> out)
|
|
| Method Summary | |
|---|---|
void |
flush()
|
int |
getHeight()
Returns the term height in chars. |
int |
getWidth()
Returns the term width in chars. |
void |
provide(Object element)
Provide an element. |
void |
send()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final LinkedList<Object> buffer
private Renderable renderable
private final RenderAppendable out
| Constructor Detail |
|---|
public ChunkAdapter(IOContext<Chunk> out)
| Method Detail |
|---|
public int getWidth()
IOContext
getWidth in interface IOContext<Object>public int getHeight()
IOContext
getHeight in interface IOContext<Object>
public void provide(Object element)
throws IOException
Pipe
provide in interface Pipe<Object>element - the provided element
IOException
public void flush()
throws IOException
flush in interface FlushableIOException
public void send()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||