Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
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
⏎ java/awt/peer/ListPeer.java
/* * Copyright (c) 1995, 1998, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.peer; import java.awt.Dimension; import java.awt.List; /** * The peer interface for {@link List}. * * The peer interfaces are intended only for use in porting * the AWT. They are not intended for use by application * developers, and developers should not implement peers * nor invoke any of the peer methods directly on the peer * instances. */ public interface ListPeer extends ComponentPeer { /** * Returns the indices of the list items that are currently selected. * The returned array is not required to be a copy, the callers of this * method already make sure it is not modified. * * @return the indices of the list items that are currently selected * * @see List#getSelectedIndexes() */ int[] getSelectedIndexes(); /** * Adds an item to the list at the specified index. * * @param item the item to add to the list * @param index the index where to add the item into the list * * @see List#add(String, int) */ void add(String item, int index); /** * Deletes items from the list. All items from start to end should are * deleted, including the item at the start and end indices. * * @param start the first item to be deleted * @param end the last item to be deleted */ void delItems(int start, int end); /** * Removes all items from the list. * * @see List#removeAll() */ void removeAll(); /** * Selects the item at the specified {@code index}. * * @param index the index of the item to select * * @see List#select(int) */ void select(int index); /** * De-selects the item at the specified {@code index}. * * @param index the index of the item to de-select * * @see List#deselect(int) */ void deselect(int index); /** * Makes sure that the item at the specified {@code index} is visible, * by scrolling the list or similar. * * @param index the index of the item to make visible * * @see List#makeVisible(int) */ void makeVisible(int index); /** * Toggles multiple selection mode on or off. * * @param m {@code true} for multiple selection mode, * {@code false} for single selection mode * * @see List#setMultipleMode(boolean) */ void setMultipleMode(boolean m); /** * Returns the preferred size for a list with the specified number of rows. * * @param rows the number of rows * * @return the preferred size of the list * * @see List#getPreferredSize(int) */ Dimension getPreferredSize(int rows); /** * Returns the minimum size for a list with the specified number of rows. * * @param rows the number of rows * * @return the minimum size of the list * * @see List#getMinimumSize(int) */ Dimension getMinimumSize(int rows); }
⏎ java/awt/peer/ListPeer.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
2022-08-06, 194085👍, 5💬
Popular Posts:
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
What Is jsse.jar (JDK 6) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Ja...
What Is HttpComponents httpcore-4.2.2.jar? HttpComponents httpcore-4.2.2.jar is the JAR file for Apa...
JDK 17 jdk.compiler.jmod is the JMOD file for JDK 17 Compiler tool, which can be invoked by the "jav...
What Is poi-contrib-3.5.jar? poi-contrib-3.5.jar is one of the JAR files for Apache POI 3.5, which p...