Searched refs:JList (Results 1 - 25 of 59) sorted by relevance

123

/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DListUI.java28 import javax.swing.JList;
34 * The {@code JList} pluggable look and feel delegate.
42 * Returns the cell index in the specified {@code JList} closest to the
53 public abstract int locationToIndex(JList list, Point location);
57 * Returns the origin in the given {@code JList}, of the specified item,
65 public abstract Point indexToLocation(JList list, int index);
83 public abstract Rectangle getCellBounds(JList list, int index1, int index2);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/FilterWindow/src/com/sun/hotspot/igv/filterwindow/
H A DCheckListView.java26 import javax.swing.JList;
47 protected JList createList() {
48 JList tmpList = super.createList();
H A DCheckRenderer.java34 import javax.swing.JList;
42 private JList list;
45 public CheckRenderer(final JList list) {
68 public Component getListCellRendererComponent(final JList list, Object value, final int index, boolean isSelected, boolean cellHasFocus) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DComboPopup.java31 import javax.swing.JList;
72 public JList getList();
H A DBasicListUI.java62 protected JList list = null;
65 // Listeners that this UI attaches to the JList
118 * Local cache of JList's client property "List.isFileList"
123 * Local cache of JList's component orientation property
127 /* The bits below define JList property changes that affect layout.
249 case JList.VERTICAL_WRAP:
255 case JList.HORIZONTAL_WRAP:
294 int rowIncrement = (layoutOrientation == JList.HORIZONTAL_WRAP) ?
329 JList.DropLocation loc = list.getDropLocation();
342 private Rectangle getDropLineRect(JList
[all...]
H A DBasicComboBoxRenderer.java91 JList list,
/openjdk7/jdk/src/share/classes/javax/swing/
H A DListCellRenderer.java33 * the cells in a JList. For example, to use a JLabel as a
42 * public Component getListCellRendererComponent(JList<?> list,
54 * JList.DropLocation dropLocation = list.getDropLocation();
84 * @see JList
99 * @param list The JList we're painting.
106 * @see JList
111 JList<? extends E> list,
H A DJList.java61 * It's easy to display an array or Vector of objects, using the {@code JList}
66 * // Create a JList that displays strings from an array
69 * JList<String> myList = new JList<String>(data);
71 * // Create a JList that displays the superclasses of JList.class, by
75 * Class<JList> rootClass = javax.swing.JList.class;
79 * JList<Class<?>> myList = new JList<Clas
282 public class JList<E> extends JComponent implements Scrollable, Accessible class in inherits:JComponent,Scrollable,Accessible
418 public JList(ListModel<E> dataModel) method in class:JList
453 public JList(final E[] listData) method in class:JList
478 public JList(final Vector<? extends E> listData) { method in class:JList
491 public JList() { method in class:JList
[all...]
H A DDefaultListCellRenderer.java114 JList<?> list,
125 JList.DropLocation dropLocation = list.getDropLocation();
180 * and differs from the JList's background;
190 // p should now be the JList.
/openjdk7/jdk/test/javax/swing/JList/6823603/
H A Dbug6823603.java26 @summary Generics: JList
55 // Test JList
58 new JList();
59 new JList(rawTestModel);
60 new JList(new Object[]{TEST_ELEMENT});
61 JList rawTestList = new JList(new Vector());
79 JList rawJList = new JList(new Object[]{testEntry});
125 JList lis
[all...]
/openjdk7/jdk/test/java/awt/Focus/FocusTraversalPolicy/
H A DInitialFTP_Swing.java12 import javax.swing.JList;
35 JList list = new JList(new String[] {"one", "two", "three"});
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DMonitorTool.java51 private JList list;
58 list = new JList(env.getMonitorListModel());
103 public Component getListCellRendererComponent(JList list,
H A DStackTraceTool.java54 private JList list;
67 list = new JList(stackModel);
127 public Component getListCellRendererComponent(JList list,
H A DSourceTool.java57 private JList list;
81 list = new JList(sourceModel);
296 public Component getListCellRendererComponent(JList list,
354 JList list = (JList)invoker;
H A DJDBMenuBar.java147 JList list = new JList(classes);
/openjdk7/jdk/test/javax/swing/JFileChooser/4524490/
H A Dbug4524490.java74 JList list = (JList) Util.findSubComponent(fileChooser, "javax.swing.JList");
/openjdk7/jdk/test/javax/swing/JComboBox/7082443/
H A Dbug7082443.java64 public Component getListCellRendererComponent(JList list, Object value, int index,
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWListPeer.java184 final JList<Object> list = new JListDelegate();
207 final JList source = (JList) e.getSource();
226 public JList getView() {
227 return (JList) getViewport().getView();
257 private final class JListDelegate extends JList<Object> {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalComboBoxButton.java53 protected JList listBox;
78 CellRendererPane pane, JList list ) {
88 CellRendererPane pane, JList list ) {
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaListUI.java41 * A Mac L&F implementation of JList
81 final JList list = (JList)e.getSource();
137 JList getComponent() {
H A DAquaFocusHandler.java134 static void swapSelectionColors(final String prefix, final JList c, final Object value) {
152 static void setSelectionColors(final JList c, final String fgName, final String bgName) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/
H A DMultiListUI.java29 import javax.swing.JList;
78 public int locationToIndex(JList a, Point b) {
93 public Point indexToLocation(JList a, int b) {
108 public Rectangle getCellBounds(JList a, int b, int c) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthListUI.java38 * {@link javax.swing.JList}.
106 updateStyle((JList)e.getSource());
211 @Override public Component getListCellRendererComponent(JList list, Object value,
/openjdk7/jdk/test/java/beans/Introspector/
H A DTest4935607.java50 import javax.swing.JList;
97 test(JList.class, "cellRenderer"); // NON-NLS: getCellRenderer()
98 test(JList.class, "selectedIndices"); // NON-NLS: getSelectedIndices()
/openjdk7/jdk/src/share/classes/sun/swing/
H A DFilePane.java235 if (source instanceof JList) {
236 repaintListSelection((JList)source);
242 private void repaintListSelection(JList list) {
274 private JList list;
334 list = (JList) findChildComponent(createdViewPanel, JList.class);
344 list.setLayoutOrientation(JList.VERTICAL_WRAP);
569 private void updateListRowCount(JList list) {
580 final JList list = new JList() {
[all...]

Completed in 77 milliseconds

123