com.artenum.rosetta.core
Class DefaultInputParsingManager

java.lang.Object
  extended by com.artenum.rosetta.core.DefaultInputParsingManager
All Implemented Interfaces:
InputParsingManager

public class DefaultInputParsingManager
extends Object
implements InputParsingManager

Author:
Sebastien Jourdain (jourdain@artenum.com)

Constructor Summary
DefaultInputParsingManager()
           
 
Method Summary
 void append(String content)
           
 void backspace()
           
 int getCaretPosition()
           
 String getCommandLine()
           
 int getCompletionLevel()
           
 int getNumberOfLines()
           
 String getPartLevel(int level)
           
 Point getWindowCompletionLocation()
           
 boolean isBlockEditing()
           
 void reset()
           
 void setInputCommandView(InputCommandView inputCommandView)
           
 void writeCompletionPart(String completionResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInputParsingManager

public DefaultInputParsingManager()
Method Detail

append

public void append(String content)
Specified by:
append in interface InputParsingManager

getCaretPosition

public int getCaretPosition()
Specified by:
getCaretPosition in interface InputParsingManager
Returns:

getCommandLine

public String getCommandLine()
Specified by:
getCommandLine in interface InputParsingManager
Returns:

getCompletionLevel

public int getCompletionLevel()
Specified by:
getCompletionLevel in interface InputParsingManager
Returns:

getNumberOfLines

public int getNumberOfLines()
Specified by:
getNumberOfLines in interface InputParsingManager
Returns:

getPartLevel

public String getPartLevel(int level)
Specified by:
getPartLevel in interface InputParsingManager
Returns:

getWindowCompletionLocation

public Point getWindowCompletionLocation()
Specified by:
getWindowCompletionLocation in interface InputParsingManager
Returns:

isBlockEditing

public boolean isBlockEditing()
Specified by:
isBlockEditing in interface InputParsingManager
Returns:

reset

public void reset()
Specified by:
reset in interface InputParsingManager

setInputCommandView

public void setInputCommandView(InputCommandView inputCommandView)
Specified by:
setInputCommandView in interface InputParsingManager

writeCompletionPart

public void writeCompletionPart(String completionResult)
Specified by:
writeCompletionPart in interface InputParsingManager

backspace

public void backspace()
Specified by:
backspace in interface InputParsingManager


Copyright © 2007-2011 Artenum. All Rights Reserved.