jdk/src/share/classes/java/awt/peer/ListPeer.java
changeset 1964 934568dfe859
parent 2 90ce3da70b43
child 1975 b8dae32335f2
equal deleted inserted replaced
1963:16c7a0981e65 1964:934568dfe859
    43     void makeVisible(int index);
    43     void makeVisible(int index);
    44     void setMultipleMode(boolean b);
    44     void setMultipleMode(boolean b);
    45     Dimension getPreferredSize(int rows);
    45     Dimension getPreferredSize(int rows);
    46     Dimension getMinimumSize(int rows);
    46     Dimension getMinimumSize(int rows);
    47 
    47 
    48     /**
       
    49      * DEPRECATED:  Replaced by add(String, int).
       
    50      */
       
    51     void addItem(String item, int index);
       
    52 
       
    53     /**
       
    54      * DEPRECATED:  Replaced by removeAll().
       
    55      */
       
    56     void clear();
       
    57 
       
    58     /**
       
    59      * DEPRECATED:  Replaced by setMultipleMode(boolean).
       
    60      */
       
    61     void setMultipleSelections(boolean v);
       
    62 
       
    63     /**
       
    64      * DEPRECATED:  Replaced by getPreferredSize(int).
       
    65      */
       
    66     Dimension preferredSize(int v);
       
    67 
       
    68     /**
       
    69      * DEPRECATED:  Replaced by getMinimumSize(int).
       
    70      */
       
    71     Dimension minimumSize(int v);
       
    72 }
    48 }