Interface InputCommandView
-
- All Superinterfaces:
GuiComponent
,OutputView
- All Known Implementing Classes:
InputCommandViewImpl
public interface InputCommandView extends OutputView
-
-
Field Summary
-
Fields inherited from interface com.artenum.rosetta.interfaces.ui.OutputView
BIG, SMALL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
backspace()
java.awt.Point
getCaretLocation()
int
getCaretPosition()
Returns the caret Positionvoid
requestFocus()
The input command view requests the focus when is set visiblevoid
setCaretPosition(int newPosition)
Sets the caret Position-
Methods inherited from interface com.artenum.rosetta.interfaces.ui.GuiComponent
setBackground, setFont, setForeground, setVisible
-
Methods inherited from interface com.artenum.rosetta.interfaces.ui.OutputView
append, append, getErrorWriter, getText, getWriter, reset, setCaretPositionToBeginning, setCaretPositionToEnd, setEditable, setStyledDocument, setStyleName, setText
-
-
-
-
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
java.awt.Point getCaretLocation()
- Returns:
-
backspace
void backspace()
-
requestFocus
void requestFocus()
The input command view requests the focus when is set visible
-
-