home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / tree / TreeSelectionModel.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.4 KB  |  65 lines

  1. package javax.swing.tree;
  2.  
  3. import java.beans.PropertyChangeListener;
  4. import javax.swing.event.TreeSelectionListener;
  5.  
  6. public interface TreeSelectionModel {
  7.    int SINGLE_TREE_SELECTION = 1;
  8.    int CONTIGUOUS_TREE_SELECTION = 2;
  9.    int DISCONTIGUOUS_TREE_SELECTION = 4;
  10.  
  11.    void setSelectionMode(int var1);
  12.  
  13.    int getSelectionMode();
  14.  
  15.    void setSelectionPath(TreePath var1);
  16.  
  17.    void setSelectionPaths(TreePath[] var1);
  18.  
  19.    void addSelectionPath(TreePath var1);
  20.  
  21.    void addSelectionPaths(TreePath[] var1);
  22.  
  23.    void removeSelectionPath(TreePath var1);
  24.  
  25.    void removeSelectionPaths(TreePath[] var1);
  26.  
  27.    TreePath getSelectionPath();
  28.  
  29.    TreePath[] getSelectionPaths();
  30.  
  31.    int getSelectionCount();
  32.  
  33.    boolean isPathSelected(TreePath var1);
  34.  
  35.    boolean isSelectionEmpty();
  36.  
  37.    void clearSelection();
  38.  
  39.    void setRowMapper(RowMapper var1);
  40.  
  41.    RowMapper getRowMapper();
  42.  
  43.    int[] getSelectionRows();
  44.  
  45.    int getMinSelectionRow();
  46.  
  47.    int getMaxSelectionRow();
  48.  
  49.    boolean isRowSelected(int var1);
  50.  
  51.    void resetRowSelection();
  52.  
  53.    int getLeadSelectionRow();
  54.  
  55.    TreePath getLeadSelectionPath();
  56.  
  57.    void addPropertyChangeListener(PropertyChangeListener var1);
  58.  
  59.    void removePropertyChangeListener(PropertyChangeListener var1);
  60.  
  61.    void addTreeSelectionListener(TreeSelectionListener var1);
  62.  
  63.    void removeTreeSelectionListener(TreeSelectionListener var1);
  64. }
  65.