home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / ListSelectionModel.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  960 b   |  50 lines

  1. package javax.swing;
  2.  
  3. import javax.swing.event.ListSelectionListener;
  4.  
  5. public interface ListSelectionModel {
  6.    int SINGLE_SELECTION = 0;
  7.    int SINGLE_INTERVAL_SELECTION = 1;
  8.    int MULTIPLE_INTERVAL_SELECTION = 2;
  9.  
  10.    void setSelectionInterval(int var1, int var2);
  11.  
  12.    void addSelectionInterval(int var1, int var2);
  13.  
  14.    void removeSelectionInterval(int var1, int var2);
  15.  
  16.    int getMinSelectionIndex();
  17.  
  18.    int getMaxSelectionIndex();
  19.  
  20.    boolean isSelectedIndex(int var1);
  21.  
  22.    int getAnchorSelectionIndex();
  23.  
  24.    void setAnchorSelectionIndex(int var1);
  25.  
  26.    int getLeadSelectionIndex();
  27.  
  28.    void setLeadSelectionIndex(int var1);
  29.  
  30.    void clearSelection();
  31.  
  32.    boolean isSelectionEmpty();
  33.  
  34.    void insertIndexInterval(int var1, int var2, boolean var3);
  35.  
  36.    void removeIndexInterval(int var1, int var2);
  37.  
  38.    void setValueIsAdjusting(boolean var1);
  39.  
  40.    boolean getValueIsAdjusting();
  41.  
  42.    void setSelectionMode(int var1);
  43.  
  44.    int getSelectionMode();
  45.  
  46.    void addListSelectionListener(ListSelectionListener var1);
  47.  
  48.    void removeListSelectionListener(ListSelectionListener var1);
  49. }
  50.