aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/peer/ListPeer.java
blob: a334e380506cdf52efa342e713e3160c4dc232ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* 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;

import java.awt.Dimension;

public interface ListPeer extends ComponentPeer
{
  void add(String item, int index);
  void addItem(String item, int index);
  void clear();
  void delItems(int start_index, int end_index);
  void deselect(int index);
  int[] getSelectedIndexes();
  void makeVisible(int index);
  Dimension minimumSize(int size);
  Dimension preferredSize(int size);
  void removeAll();
  void select(int index);
  void setMultipleMode(boolean multipleMode);
  void setMultipleSelections(boolean multipleSelections);
}