Searched refs:list (Results 76 - 100 of 832) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/awt/dnd/URIListBetweenJVMsTest/
H A DSourceFileListFrame.java39 private List list = new List(URIListBetweenJVMsTest.VISIBLE_RAWS_IN_LIST); field in class:SourceFileListFrame
47 new DragSource().createDefaultDragGestureRecognizer(list,
57 list.add(currFile.getName());
64 this.add(new Panel().add(list));
78 return (int)list.getLocationOnScreen().getX()+(list.getWidth()/2);
82 return (int)list.getLocationOnScreen().getY()+ SOURCE_POINT_SHIFT;
90 String [] filesAsStringArray = list.getItems();
H A DFileListTransferable.java35 private java.util.List<File> list; field in class:FileListTransferable
37 public FileListTransferable(java.util.List<File> list) { argument
38 this.list = list;
54 return list;
/openjdk7/jdk/test/java/beans/XMLEncoder/6777487/
H A DTestCheckedCollection.java39 List<String> list = Collections.emptyList();
41 Collections.checkedCollection(list, String.class),
H A DTestCheckedList.java39 List<String> list = Collections.emptyList();
41 Collections.checkedList(list, String.class),
H A DTestCheckedRandomAccessList.java39 List<String> list = new ArrayList<String>();
41 Collections.checkedList(list, String.class),
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DRmiRegistrySslTest.java45 String[] list = registry.list();
46 if ("jmxrmi".equals(list[0])) {
62 String[] list = registry.list();
75 String[] list = registry.list();
76 if ("jmxrmi".equals(list[0])) {
/openjdk7/langtools/test/tools/javadoc/6958836/
H A DTest.java39 javadoc("errs", list(), 10, 0);
40 javadoc("errs", list("-Xmaxerrs", "0"), 10, 0);
41 javadoc("errs", list("-Xmaxerrs", "2"), 2, 0);
42 javadoc("errs", list("-Xmaxerrs", "4"), 4, 0);
43 javadoc("errs", list("-Xmaxerrs", "20"), 10, 0);
45 javadoc("warns", list(), 0, 10);
46 javadoc("warns", list("-Xmaxwarns", "0"), 0, 10);
47 javadoc("warns", list("-Xmaxwarns", "2"), 0, 2);
48 javadoc("warns", list("-Xmaxwarns", "4"), 0, 4);
49 javadoc("warns", list("
109 private List<String> list(String... args) { method in class:Test
[all...]
/openjdk7/jdk/test/java/awt/Focus/FocusTraversalPolicy/
H A DInitialFTP_AWT.java35 List list = new List(); field in class:AWTFrame
40 list.add("one");
41 list.add("two");
42 list.add("three");
47 this.add(list);
/openjdk7/jdk/test/java/awt/dnd/FileListBetweenJVMsTest/
H A DFileListTransferable.java35 private java.util.List<File> list; field in class:FileListTransferable
37 public FileListTransferable(java.util.List<File> list) { argument
38 this.list = list;
54 return list;
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/scripts/
H A Djtop.js9 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in the
83 var list = new java.util.ArrayList(map.entrySet());
84 java.util.Collections.reverse(list);
85 return list;
102 var list = getThreadList();
103 var itr = list.iterator();
/openjdk7/jdk/src/share/classes/javax/management/
H A DAttributeList.java35 * <p>Represents a list of values for attributes of an MBean. See the
100 * @param list the <code>AttributeList</code> that defines the initial
105 public AttributeList(AttributeList list) { argument
106 super(list);
114 * @param list the {@code List} that defines the initial contents of
117 * @exception IllegalArgumentException if the {@code list} parameter
118 * is {@code null} or if the {@code list} parameter contains any
125 public AttributeList(List<Attribute> list) { argument
128 if (list == null)
133 adding(list);
229 addAll(AttributeList list) argument
249 addAll(int index, AttributeList list) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DStackTraceTool.java54 private JList list; field in class:StackTraceTool
67 list = new JList(stackModel);
68 list.setCellRenderer(new StackFrameRenderer());
70 JScrollPane listView = new JScrollPane(list);
76 list.addListSelectionListener(listener);
103 list.setSelectedIndex(frameIndex);
104 list.ensureIndexIsVisible(frameIndex);
113 int index = list.getSelectedIndex();
127 public Component getListCellRendererComponent(JList list, argument
138 super.getListCellRendererComponent(list, valu
[all...]
/openjdk7/jaxp/src/com/sun/xml/internal/stream/dtd/nonvalidating/
H A DXMLSimpleType.java90 /** list */
91 public boolean list; field in class:XMLSimpleType
113 * @param list
120 boolean list, short defaultType,
133 this.list = list;
153 list = simpleType.list;
167 this.list = false;
119 setValues(short type, String name, String[] enumeration, boolean list, short defaultType, String defaultValue, String nonNormalizedDefaultValue) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthComboPopup.java45 * Configures the list which is used to hold the combo box items in the
53 list.setFont( comboBox.getFont() );
54 list.setCellRenderer( comboBox.getRenderer() );
55 list.setFocusable( false );
56 list.setSelectionMode( ListSelectionModel.SINGLE_SELECTION );
59 list.clearSelection();
62 list.setSelectedIndex( selectedIndex );
63 list.ensureIndexIsVisible( selectedIndex );
H A DSynthListUI.java52 * @param list component to create UI object for
55 public static ComponentUI createUI(JComponent list) { argument
97 list.addPropertyChangeListener(this);
116 list.removePropertyChangeListener(this);
124 if (list.getCellRenderer() == null ||
125 (list.getCellRenderer() instanceof UIResource)) {
126 list.setCellRenderer(new SynthListCellRenderer());
128 updateStyle(list);
132 SynthContext context = getContext(list, ENABLED);
139 Color sbg = list
211 getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
[all...]
/openjdk7/jdk/test/java/awt/event/MouseWheelEvent/DisabledComponent/
H A DDisabledComponent.java61 List list = new List(3);
62 list.add("1");
63 list.add("2");
64 list.add("3");
65 frame.add(list);
76 list.addMouseWheelListener(listener);
84 // point and wheel on the list
85 Util.pointOnComp(list, robot);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DContextList.java36 LinkedList<HttpContextImpl> list = new LinkedList<HttpContextImpl>(); field in class:ContextList
40 list.add (ctx);
44 return list.size();
58 for (HttpContextImpl ctx: list) {
81 throw new IllegalArgumentException ("cannot remove element from list");
83 list.remove (ctx);
89 for (HttpContextImpl ctx: list) {
91 list.remove (ctx);
95 throw new IllegalArgumentException ("no such context in list");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSList.java35 public JSList(List list, JSJavaFactory fac) { argument
36 this.list = list;
42 return new Integer(list.size());
50 Object item = list.get(index);
59 final int size = list.size();
99 for (Iterator itr = list.iterator(); itr.hasNext();) {
111 return index >= 0 && index < list.size();
118 private final List list; field in class:JSList
/openjdk7/jdk/test/java/util/ArrayList/
H A DRangeCheckMicroBenchmark.java148 private static void deoptimize(ArrayList<Integer> list) { argument
149 for (Integer x : list)
162 final ArrayList<Integer> list = new ArrayList<Integer>();
165 list.add(rnd.nextInt());
171 if (list.get(k) == 42)
174 deoptimize(list);}},
176 Integer[] xs = list.toArray(new Integer[size]);
179 list.set(k, xs[k]);
181 deoptimize(list);}},
185 list
[all...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest6921644.java74 private List<T> list = new ArrayList<T>(); field in class:Test6921644.Owner
86 return this.list;
89 public void setList(List<T> list) { argument
90 this.list = list;
98 private List<Document> list = new ArrayList<Document>(); field in class:Test6921644.Author
127 return this.list;
130 public void setList(List<Document> list) { argument
131 this.list = list;
142 private List<Document> list = new ArrayList<Document>(); field in class:Test6921644.Category
157 setList(List<Document> list) argument
[all...]
H A DTest4652928.java46 List<BeanContext> list = new ArrayList<BeanContext>();
47 list.add(fill(new BeanContextSupport()));
48 list.add(fill(new BeanContextServicesSupport()));
49 return list;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicComboPopup.java86 protected JList list; field in class:BasicComboPopup
142 // Listeners that are attached to the list
233 return list;
292 // reference to the list, causing the list (and us) to never get gced.
293 list.setModel(EmptyListModel);
330 list = createList();
331 list.setName("ComboBox.list");
402 * Creates a list selectio
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/resolver/
H A DResolver.java43 java.util.Set list() ; method in interface:Resolver
/openjdk7/jdk/src/share/classes/javax/swing/
H A DListCellRenderer.java42 * public Component getListCellRendererComponent(JList<?> list,
54 * JList.DropLocation dropLocation = list.getDropLocation();
95 * of a list because the list cells do not have a fixed size, this method
99 * @param list The JList we're painting.
100 * @param value The value returned by list.getModel().getElementAt(index).
111 JList<? extends E> list,
110 getListCellRendererComponent( JList<? extends E> list, E value, int index, boolean isSelected, boolean cellHasFocus) argument
/openjdk7/jdk/test/java/io/File/
H A DListSpace.java26 * @summary check list with spaces at end of path
37 if (d.list() == null)
38 throw new RuntimeException("list is null");

Completed in 68 milliseconds

1234567891011>>