org.apache.blur.shell
Class TableDisplay

java.lang.Object
  extended by org.apache.blur.shell.TableDisplay
All Implemented Interfaces:
Closeable

public class TableDisplay
extends Object
implements Closeable


Nested Class Summary
static class TableDisplay.Key
           
static class TableDisplay.LineBuilder
           
 
Constructor Summary
TableDisplay(jline.console.ConsoleReader reader)
           
 
Method Summary
 void addKeyHook(Runnable runnable, int c)
           
 void close()
           
static void main(String[] args)
           
 void remove(int x, int y)
           
 void set(int x, int y, Object value)
           
 void setDescription(String description)
           
 void setHeader(int x, String name)
           
 void setSeperator(String seperator)
           
 void setStopReadingInput(boolean b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDisplay

public TableDisplay(jline.console.ConsoleReader reader)
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        InterruptedException
Throws:
IOException
InterruptedException

addKeyHook

public void addKeyHook(Runnable runnable,
                       int c)

setDescription

public void setDescription(String description)

setSeperator

public void setSeperator(String seperator)

setHeader

public void setHeader(int x,
                      String name)

set

public void set(int x,
                int y,
                Object value)

remove

public void remove(int x,
                   int y)

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

setStopReadingInput

public void setStopReadingInput(boolean b)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.