Lines Matching defs:List

39  * The {@code List} component presents the user with a
46 * List lst = new List(4, false);
63 * <img src="doc-files/List-1.gif"
66 * If the List allows multiple selections, then clicking on
70 * list is {@code false}. If the List does not allow multiple
76 * cannot be changed. A default {@code List} is created with
77 * four rows, so that {@code lst = new List()} is equivalent to
78 * {@code list = new List(4, false)}.
81 * sends the {@code List} object all mouse, keyboard, and focus events
109 public class List extends Component implements ItemSelectable, Accessible {
112 * part of the List Component.
122 * {@code List} Component. It is specified only once, and
181 * {@code List(0, false)}. Also note that the number of visible
187 public List() throws HeadlessException {
195 * {@code List(rows, false)}. Also note that the number
204 public List(int rows) throws HeadlessException {
232 public List(int rows, boolean multipleMode) throws HeadlessException {
243 synchronized (List.class) {
683 * once the {@code List} has been created, this number
1020 * upon this {@code List}.
1029 * {@code List l}
1212 * The {@code List} component's
1263 * {@code List}.
1304 * {@code List}. For lists, the {@code AccessibleContext}
1309 * {@code AccessibleContext} of this {@code List}
1321 * {@code List} class. It provides an implementation of the
1338 List.this.addActionListener(this);
1339 List.this.addItemListener(this);
1357 if (List.this.isMultipleMode()) {
1392 return List.this.getItemCount();
1402 synchronized(List.this) {
1403 if (i >= List.this.getItemCount()) {
1406 return new AccessibleAWTListChild(List.this, i);
1432 return List.this.getSelectedIndexes().length;
1445 synchronized(List.this) {
1450 return getAccessibleChild(List.this.getSelectedIndexes()[i]);
1463 return List.this.isIndexSelected(i);
1476 List.this.select(i);
1487 List.this.deselect(i);
1495 synchronized(List.this) {
1496 int selectedIndexes[] = List.this.getSelectedIndexes();
1500 List.this.deselect(selectedIndexes[i]);
1510 synchronized(List.this) {
1511 for (int i = List.this.getItemCount() - 1; i >= 0; i--) {
1512 List.this.select(i);
1519 * List children. It provides an implementation of the
1534 private List parent;
1539 * parent {@code List} and 0-based index of this object in the parent.
1541 * @param parent the parent {@code List}
1544 public AccessibleAWTListChild(List parent, int indexInParent) {
1655 // AccessibleComponent delegation to parent List