ubc.cs.JLog.Foundation
Interface iPrologServiceText
- All Known Implementing Classes:
- gPrologServiceTextArea, gPrologServiceTextField
public interface iPrologServiceText
This is the interface for text. It represents the minimal interface suitable
for jPrologService* to interface with text sources and destinations. The
interface also supports the user interface aspects of TextArea and TextField,
which can be ignored by Strings.
- Author:
- Glendon Holst
getText
java.lang.String getText()
setText
void setText(java.lang.String t)
append
void append(java.lang.String a)
insert
void insert(java.lang.String i,
int p)
remove
void remove(int s,
int e)
setCaretPosition
void setCaretPosition(int i)
select
void select(int s,
int e)
selectAll
void selectAll()
requestFocus
void requestFocus()