aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/peer/TextComponentPeer.java
blob: ba4ce1d4df02172cd9424896a4df936cd7233f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright (C) 2000  Free Software Foundation

   This file is part of libgcj.

This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */

package java.awt.peer;

public interface TextComponentPeer extends ComponentPeer
{
  int getCaretPosition();
  int getSelectionEnd();
  int getSelectionStart();
  String getText();
  void select(int start, int end);
  void setCaretPosition(int pos);
  void setEditable(boolean editable);
  void setText(String text);
}