|
Forge - Parent 1.4.2-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NoopBufferManager>
org.jboss.forge.shell.integration.NoopBufferManager
public enum NoopBufferManager
Enum Constant Summary | |
---|---|
INSTANCE
|
Method Summary | |
---|---|
void |
bufferOnlyMode()
Set the buffer into buffering-only mode. |
void |
directWrite(String s)
|
void |
directWriteMode()
Direct-write mode. |
void |
flushBuffer()
Flush data to the lower-level buffer immediately. |
int |
getHeight()
Get height in lines |
int |
getWidth()
Get width in lines |
void |
setBufferPosition(int row,
int col)
Set buffer position. |
static NoopBufferManager |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NoopBufferManager[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
void |
write(byte b)
Write a single byte to the buffer. |
void |
write(byte[] b)
Write a byte array to the buffer. |
void |
write(byte[] b,
int offset,
int length)
Write a byte array to the buffer with offset |
void |
write(int b)
|
void |
write(String s)
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NoopBufferManager INSTANCE
Method Detail |
---|
public static NoopBufferManager[] values()
for (NoopBufferManager c : NoopBufferManager.values()) System.out.println(c);
public static NoopBufferManager valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic void bufferOnlyMode()
BufferManager
bufferOnlyMode
in interface BufferManager
public void directWriteMode()
BufferManager
directWriteMode
in interface BufferManager
public void flushBuffer()
BufferManager
flushBuffer
in interface BufferManager
public void write(int b)
write
in interface BufferManager
public void write(byte b)
BufferManager
write
in interface BufferManager
public void write(byte[] b)
BufferManager
write
in interface BufferManager
public void write(byte[] b, int offset, int length)
BufferManager
write
in interface BufferManager
public void write(String s)
write
in interface BufferManager
public void directWrite(String s)
directWrite
in interface BufferManager
public void setBufferPosition(int row, int col)
BufferManager
setBufferPosition
in interface BufferManager
public int getHeight()
BufferManager
getHeight
in interface BufferManager
public int getWidth()
BufferManager
getWidth
in interface BufferManager
|
Forge - Parent 1.4.2-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |