Searched defs:selection (Results 1 - 17 of 17) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DButtonGroup.java74 * The current selection.
76 ButtonModel selection = null; field in class:ButtonGroup
94 if (selection == null) {
95 selection = b.getModel();
113 if(b.getModel() == selection) {
114 selection = null;
120 * Clears the selection such that none of the buttons
126 if (selection != null) {
127 ButtonModel oldSelection = selection;
128 selection
[all...]
H A DMenuSelectionManager.java35 * A MenuSelectionManager owns the selection in menu hierarchy.
40 private Vector<MenuElement> selection = new Vector<MenuElement>(); field in class:MenuSelectionManager
51 * Returns the default menu selection manager.
78 * Changes the selection in the menu hierarchy. The elements
90 int currentSelectionCount = selection.size();
103 if (i < currentSelectionCount && selection.elementAt(i) == path[i])
110 MenuElement me = selection.elementAt(i);
111 selection.removeElementAt(i);
117 selection.addElement(path[i]);
131 MenuElement res[] = new MenuElement[selection
[all...]
H A DJTable.java159 * selection is always in terms of <code>JTable</code> so that when
166 * int[] selection = table.getSelectedRows();
167 * for (int i = 0; i &lt; selection.length; i++) {
168 * selection[i] = table.convertRowIndexToModel(selection[i]);
170 * // selection is now in terms of the underlying TableModel
174 * selection and variable row heights in terms of the model on
177 * underlying model will be selected. Visually the selection may
181 * was filtered out the selection will be empty after the sort.
323 /** True if row selection i
4193 restoreSortingSelection(int[] selection, int lead, ModelChange change) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/callback/
H A DChoiceCallback.java168 * @param selection the selection represented as an index into the
173 public void setSelectedIndex(int selection) { argument
175 this.selections[0] = selection;
H A DConfirmationCallback.java152 private int selection; field in class:ConfirmationCallback
467 * @param selection the selection represented as <code>YES</code>,
471 * Otherwise, the selection represents the index into the
477 public void setSelectedIndex(int selection) { argument
478 this.selection = selection;
499 return selection;
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/
H A DElement.java63 static <P extends Element<?>, T extends Element<P>> List<T> getNodesFor(final Node parentNode, final String selection, final Class<T> clazz, final P parent) { argument
75 if (!selection.equals(node.getLocalName())) continue;
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_mgrsel.c35 * Structures that describes the manager selection AWT listens to with
36 * callabacks to the subsytems interested in the selection. (We only
40 char *selname; /* base name of selection atoms */
41 Atom *per_scr_atoms; /* per-screen selection atoms (ICCCM 1.2.6) */
42 Atom *per_scr_owners; /* windows currently owning the selection */
92 * manager selection.
198 awt_mgrsel_select_per_screen(Atom selection, long extra_mask) argument
205 owner = XGetSelectionOwner(dpy, selection);
244 Atom selection; local
250 selection
283 Atom selection; local
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXClipboard.java41 * A class which interfaces with the X11 selection service in order to support
46 private final XSelection selection; field in class:XClipboard
69 selection = new XSelection(XAtom.get(selectionName));
70 selection.registerOwershipListener(this);
90 if (!selection.setOwner(contents, formatMap, formats,
98 return selection.getSelectionAtom().getAtom();
111 selection.reset();
116 return selection.getTargets(XToolkit.getCurrentServerTime());
120 return selection.getData(format, XToolkit.getCurrentServerTime());
147 XAtom.get("XAWT_TARGETS_OF_SELECTION:" + selection
[all...]
H A DXMSelection.java41 * manager selection.
59 /* Name of the selection */
65 /* X atom array (one per screen) for this selection */
68 /* Window ids of selection owners */
156 if (log.isLoggable(PlatformLogger.FINE)) log.fine("Screen = " + screen + " selection name = " + selection_name);
217 static XMSelection getInstance(long selection) { argument
218 return (XMSelection) selectionMap.get(Long.valueOf(selection));
232 * Some users may not need to know about selection changes,
H A DXSystemTrayPeer.java42 private final XMSelection selection = new XMSelection("_NET_SYSTEM_TRAY"); field in class:XSystemTrayPeer
56 selection.addSelectionListener(this);
58 long selection_owner = selection.getOwner(SCREEN);
61 log.fine(" check if system tray is available. selection owner: " + selection_owner);
100 selection.removeSelectionListener(this);
107 long selection_owner = selection.getOwner(SCREEN);
H A DXToolkit.java73 // the system clipboard - CLIPBOARD selection
75 // the system selection - PRIMARY selection
76 XClipboard selection; field in class:XToolkit
1131 if (selection == null) {
1132 selection = new XClipboard("Selection", "PRIMARY");
1135 return selection;
2328 // WM forgot to acquire selection or there is no WM
2348 // Wait for selection notify for oops on win
2351 eventLog.finer("WM_S0 selection owne
[all...]
H A DXlibWrapper.java456 static native void XConvertSelection(long display, long selection, argument
460 static native void XSetSelectionOwner(long display, long selection, argument
463 static native long XGetSelectionOwner(long display, long selection); argument
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DControlFlowScene.java63 private HashSet<BlockWidget> selection; field in class:ControlFlowScene
74 selection = new HashSet<BlockWidget>();
136 for (BlockWidget w : selection) {
139 selection.clear();
147 for (BlockWidget w : selection) {
156 selection.add(widget);
162 selection.remove(widget);
182 if (selection.contains(bw)) {
188 if (!selection.contains(bw)) {
210 for (Widget w : this.selection) {
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeSelectionModel.java43 * the paths in the selection change, not the rows. In order
74 protected TreePath[] selection; field in class:DefaultTreeSelectionModel
82 /** Handles maintaining the list selection model. The RowMapper is used
86 /** Mode for the selection, will be either SINGLE_TREE_SELECTION,
93 /** Index of the lead path in selection. */
99 * in <code>selection</code>.
108 * empty, with a selection mode of DISCONTIGUOUS_TREE_SELECTION.
137 * Sets the selection model, which must be one of SINGLE_TREE_SELECTION,
141 * <p>This may change the selection if the current selection i
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dcompile.hpp886 void set_24_bit_selection_and_mode(bool selection, bool mode) { argument
887 _select_24_bit_instr = selection;
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXlibWrapper.c1605 jlong display, jlong selection,
1609 XConvertSelection((Display*)jlong_to_ptr(display), selection, target, property, requestor,
1620 jlong display, jlong selection,
1623 XSetSelectionOwner((Display*)jlong_to_ptr(display), selection, owner, time);
1633 jlong display, jlong selection) {
1635 return (jlong)XGetSelectionOwner((Display*)jlong_to_ptr(display), selection);
1936 * clipboard/selection. In this case the event dispatch thread waits for the
1604 Java_sun_awt_X11_XlibWrapper_XConvertSelection(JNIEnv *env, jclass clazz, jlong display, jlong selection, jlong target, jlong property, jlong requestor, jlong time) argument
1619 Java_sun_awt_X11_XlibWrapper_XSetSelectionOwner(JNIEnv *env, jclass clazz, jlong display, jlong selection, jlong owner, jlong time) argument
1632 Java_sun_awt_X11_XlibWrapper_XGetSelectionOwner(JNIEnv *env, jclass clazz, jlong display, jlong selection) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/
H A DCOFFFileParser.java3658 private byte selection; field in class:COFFFileParser.COFFFileImpl.COFFHeaderImpl.AuxSectionDefinitionsRecordImpl
3667 selection = readByte();
3675 public byte getSelection() { return selection; }

Completed in 173 milliseconds