Searched refs:selection (Results 1 - 25 of 27) sorted by relevance

12

/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...]
H A DJPopupMenu.java276 * description: The selection model for the popup menu
779 // set selection path before popping up!
1048 * in a change to the selection model.
1278 AccessibleSelection selection = ac.getAccessibleSelection();
1279 if (selection == null) {
1282 Accessible a = selection.getAccessibleSelection(0);
1364 * <code>MenuSelectionManager</code> and changes the menu selection,
1455 * Messaged when the menubar selection changes to activate or
H A DJTree.java80 * If you are interested in knowing when the selection changes implement
84 * selection changes, that is if the user clicks twice on the same
255 * If true, when editing is to be stopped by way of selection changing,
287 * Lead selection path, may not be <code>null</code>.
297 * True if paths in the selection should be expanded.
487 /** Bound property name for anchor selection path.
1141 * true, any time the selection is changed, either via the
1146 * <code>JTree</code>). If false, when the selection
1148 * This is useful if you wish to have your selection model maintain paths
1158 * description: Indicates whether changes to the selection shoul
[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/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/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 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 DXSelection.java43 * A class which interfaces with the X11 selection service.
49 /* Prevents from parallel selection data request processing. */
80 /* The X atom for the underlying selection. */
100 // True if we are the owner of this selection.
111 * Returns the XSelection object for the specified selection atom or
119 * Creates a selection object.
121 * @param atom the selection atom.
141 long selection = selectionAtom.getAtom();
157 selection, owner, time);
159 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 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
H A DMotifDnDDropTargetProtocol.java936 XSelection selection = XSelection.getSelection(selectionAtom);
937 if (selection == null) {
938 selection = new XSelection(selectionAtom);
941 return selection.getData(format, time_stamp);
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...]
/openjdk7/jdk/test/com/sun/security/sasl/
H A DClientCallbackHandler.java79 int selection;
81 selection = 0;
86 selection = rcb.getDefaultChoice();
88 selection = Integer.parseInt(result);
91 rcb.setSelectedIndex(selection);
/openjdk7/jdk/test/com/sun/security/sasl/digest/
H A DClientCallbackHandler.java79 int selection;
81 selection = 0;
86 selection = rcb.getDefaultChoice();
88 selection = Integer.parseInt(result);
91 rcb.setSelectedIndex(selection);
/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/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/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/share/classes/javax/swing/plaf/basic/
H A DBasicComboPopup.java217 MenuElement [] selection = manager.getSelectedPath();
218 for ( int i = 0 ; i < selection.length ; i++ ) {
219 if ( selection[i] == this ) {
224 if (selection.length > 0) {
402 * Creates a list selection listener that watches for selection changes in
650 * with click-and-drag scenarios by setting the selection if the mouse was
685 * This listener watches for dragging and updates the current selection in the
746 * The selection change is not committed to the model, this is for user feedback only.
755 * This listener watches for changes to the selection i
[all...]
/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/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/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; }
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java95 * Notification of changes to the caret position and the selection
558 * implies the cursor movement and selection should not be restricted.
672 * a selection and then moves the mouse a few pixels. Setting this property to
718 * selection and caret location.
808 * In some cases, the component may need to use it's internal selection
811 * This state object can be used to store, and later restore, the selection
818 * to save some state (because it is about to use the selection to show
820 * any saved selection state. On a second call, let's say the drop location
1274 * selection.
1283 * Sets the current color used to render the selection
[all...]

Completed in 219 milliseconds

12