JDK 11 java.desktop.jmod - Desktop Module

JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.

JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.

JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

⏎ javax/accessibility/AccessibleSelection.java

/*
 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package javax.accessibility;

/**
 * This {@code AccessibleSelection} interface provides the standard mechanism
 * for an assistive technology to determine what the current selected children
 * are, as well as modify the selection set. Any object that has children that
 * can be selected should support the {@code AccessibleSelection} interface.
 * Applications can determine if an object supports the
 * {@code AccessibleSelection} interface by first obtaining its
 * {@code AccessibleContext} (see {@link Accessible}) and then calling the
 * {@link AccessibleContext#getAccessibleSelection} method. If the return value
 * is not {@code null}, the object supports this interface.
 *
 * @author Peter Korn
 * @author Hans Muller
 * @author Willie Walker
 * @see Accessible
 * @see Accessible#getAccessibleContext
 * @see AccessibleContext
 * @see AccessibleContext#getAccessibleSelection
 */
public interface AccessibleSelection {

    /**
     * Returns the number of {@code Accessible} children currently selected. If
     * no children are selected, the return value will be 0.
     *
     * @return the number of items currently selected
     */
    public int getAccessibleSelectionCount();

    /**
     * Returns an {@code Accessible} representing the specified selected child
     * of the object. If there isn't a selection, or there are fewer children
     * selected than the integer passed in, the return value will be
     * {@code null}.
     * <p>
     * Note that the index represents the i-th selected child, which is
     * different from the i-th child.
     *
     * @param  i the zero-based index of selected children
     * @return the i-th selected child
     * @see #getAccessibleSelectionCount
     */
    public Accessible getAccessibleSelection(int i);

    /**
     * Determines if the current child of this object is selected.
     *
     * @param  i the zero-based index of the child in this {@code Accessible}
     *         object
     * @return {@code true} if the current child of this object is selected;
     *         else {@code false}
     * @see AccessibleContext#getAccessibleChild
     */
    public boolean isAccessibleChildSelected(int i);

    /**
     * Adds the specified {@code Accessible} child of the object to the object's
     * selection. If the object supports multiple selections, the specified
     * child is added to any existing selection, otherwise it replaces any
     * existing selection in the object. If the specified child is already
     * selected, this method has no effect.
     *
     * @param  i the zero-based index of the child
     * @see AccessibleContext#getAccessibleChild
     */
    public void addAccessibleSelection(int i);

    /**
     * Removes the specified child of the object from the object's selection. If
     * the specified item isn't currently selected, this method has no effect.
     *
     * @param  i the zero-based index of the child
     * @see AccessibleContext#getAccessibleChild
     */
    public void removeAccessibleSelection(int i);

    /**
     * Clears the selection in the object, so that no children in the object are
     * selected.
     */
    public void clearAccessibleSelection();

    /**
     * Causes every child of the object to be selected if the object supports
     * multiple selections.
     */
    public void selectAllAccessibleSelection();
}

⏎ javax/accessibility/AccessibleSelection.java

 

Or download all of them as a single archive file:

File name: java.desktop-11.0.1-src.zip
File size: 7974380 bytes
Release date: 2018-11-04
Download 

 

⇒ JDK 11 java.instrument.jmod - Instrument Module

⇐ JDK 11 java.datatransfer.jmod - Data Transfer Module

⇑ Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2022-08-06, ≈887🔥, 5💬