com.artenum.rosetta.interfaces.ui
Interface InputCommandView

All Superinterfaces:
GuiComponent, OutputView
All Known Implementing Classes:
InputCommandViewImpl

public interface InputCommandView
extends OutputView

Author:
Sebastien Jourdain (jourdain@artenum.com)

Field Summary
 
Fields inherited from interface com.artenum.rosetta.interfaces.ui.OutputView
BIG, SMALL
 
Method Summary
 void backspace()
           
 Point getCaretLocation()
           
 int getCaretPosition()
          Returns the caret Position
 void requestFocus()
          The input command view requests the focus when is set visible
 void setCaretPosition(int newPosition)
          Sets the caret Position
 
Methods inherited from interface com.artenum.rosetta.interfaces.ui.OutputView
append, append, getErrorWriter, getText, getWriter, reset, setCaretPositionToBeginning, setCaretPositionToEnd, setEditable, setStyledDocument, setStyleName, setText
 
Methods inherited from interface com.artenum.rosetta.interfaces.ui.GuiComponent
setBackground, setFont, setForeground, setVisible
 

Method Detail

getCaretPosition

int getCaretPosition()
Returns the caret Position

Returns:
the position

setCaretPosition

void setCaretPosition(int newPosition)
Sets the caret Position

Parameters:
newPosition - the position to set for the caret

getCaretLocation

Point getCaretLocation()
Returns:

backspace

void backspace()

requestFocus

void requestFocus()
The input command view requests the focus when is set visible



Copyright © 2007-2011 Artenum. All Rights Reserved.