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:
JRE 8 rt.jar - java.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the java.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ java/awt/event/AdjustmentEvent.java
/* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.event; import java.awt.Adjustable; import java.awt.AWTEvent; import java.lang.annotation.Native; /** * The adjustment event emitted by Adjustable objects like * {@link java.awt.Scrollbar} and {@link java.awt.ScrollPane}. * When the user changes the value of the scrolling component, * it receives an instance of {@code AdjustmentEvent}. * <p> * An unspecified behavior will be caused if the {@code id} parameter * of any particular {@code AdjustmentEvent} instance is not * in the range from {@code ADJUSTMENT_FIRST} to {@code ADJUSTMENT_LAST}. * <p> * The {@code type} of any {@code AdjustmentEvent} instance takes one of the following * values: * <ul> * <li> {@code UNIT_INCREMENT} * <li> {@code UNIT_DECREMENT} * <li> {@code BLOCK_INCREMENT} * <li> {@code BLOCK_DECREMENT} * <li> {@code TRACK} * </ul> * Assigning the value different from listed above will cause an unspecified behavior. * @see java.awt.Adjustable * @see AdjustmentListener * * @author Amy Fowler * @since 1.1 */ public class AdjustmentEvent extends AWTEvent { /** * Marks the first integer id for the range of adjustment event ids. */ public static final int ADJUSTMENT_FIRST = 601; /** * Marks the last integer id for the range of adjustment event ids. */ public static final int ADJUSTMENT_LAST = 601; /** * The adjustment value changed event. */ public static final int ADJUSTMENT_VALUE_CHANGED = ADJUSTMENT_FIRST; //Event.SCROLL_LINE_UP /** * The unit increment adjustment type. */ @Native public static final int UNIT_INCREMENT = 1; /** * The unit decrement adjustment type. */ @Native public static final int UNIT_DECREMENT = 2; /** * The block decrement adjustment type. */ @Native public static final int BLOCK_DECREMENT = 3; /** * The block increment adjustment type. */ @Native public static final int BLOCK_INCREMENT = 4; /** * The absolute tracking adjustment type. */ @Native public static final int TRACK = 5; /** * The adjustable object that fired the event. * * @serial * @see #getAdjustable */ Adjustable adjustable; /** * <code>value</code> will contain the new value of the * adjustable object. This value will always be in a * range associated adjustable object. * * @serial * @see #getValue */ int value; /** * The <code>adjustmentType</code> describes how the adjustable * object value has changed. * This value can be increased/decreased by a block or unit amount * where the block is associated with page increments/decrements, * and a unit is associated with line increments/decrements. * * @serial * @see #getAdjustmentType */ int adjustmentType; /** * The <code>isAdjusting</code> is true if the event is one * of the series of multiple adjustment events. * * @since 1.4 * @serial * @see #getValueIsAdjusting */ boolean isAdjusting; /* * JDK 1.1 serialVersionUID */ private static final long serialVersionUID = 5700290645205279921L; /** * Constructs an <code>AdjustmentEvent</code> object with the * specified <code>Adjustable</code> source, event type, * adjustment type, and value. * <p> This method throws an * <code>IllegalArgumentException</code> if <code>source</code> * is <code>null</code>. * * @param source The <code>Adjustable</code> object where the * event originated * @param id An integer indicating the type of event. * For information on allowable values, see * the class description for {@link AdjustmentEvent} * @param type An integer indicating the adjustment type. * For information on allowable values, see * the class description for {@link AdjustmentEvent} * @param value The current value of the adjustment * @throws IllegalArgumentException if <code>source</code> is null * @see #getSource() * @see #getID() * @see #getAdjustmentType() * @see #getValue() */ public AdjustmentEvent(Adjustable source, int id, int type, int value) { this(source, id, type, value, false); } /** * Constructs an <code>AdjustmentEvent</code> object with the * specified Adjustable source, event type, adjustment type, and value. * <p> This method throws an * <code>IllegalArgumentException</code> if <code>source</code> * is <code>null</code>. * * @param source The <code>Adjustable</code> object where the * event originated * @param id An integer indicating the type of event. * For information on allowable values, see * the class description for {@link AdjustmentEvent} * @param type An integer indicating the adjustment type. * For information on allowable values, see * the class description for {@link AdjustmentEvent} * @param value The current value of the adjustment * @param isAdjusting A boolean that equals <code>true</code> if the event is one * of a series of multiple adjusting events, * otherwise <code>false</code> * @throws IllegalArgumentException if <code>source</code> is null * @since 1.4 * @see #getSource() * @see #getID() * @see #getAdjustmentType() * @see #getValue() * @see #getValueIsAdjusting() */ public AdjustmentEvent(Adjustable source, int id, int type, int value, boolean isAdjusting) { super(source, id); adjustable = source; this.adjustmentType = type; this.value = value; this.isAdjusting = isAdjusting; } /** * Returns the <code>Adjustable</code> object where this event originated. * * @return the <code>Adjustable</code> object where this event originated */ public Adjustable getAdjustable() { return adjustable; } /** * Returns the current value in the adjustment event. * * @return the current value in the adjustment event */ public int getValue() { return value; } /** * Returns the type of adjustment which caused the value changed * event. It will have one of the following values: * <ul> * <li>{@link #UNIT_INCREMENT} * <li>{@link #UNIT_DECREMENT} * <li>{@link #BLOCK_INCREMENT} * <li>{@link #BLOCK_DECREMENT} * <li>{@link #TRACK} * </ul> * @return one of the adjustment values listed above */ public int getAdjustmentType() { return adjustmentType; } /** * Returns <code>true</code> if this is one of multiple * adjustment events. * * @return <code>true</code> if this is one of multiple * adjustment events, otherwise returns <code>false</code> * @since 1.4 */ public boolean getValueIsAdjusting() { return isAdjusting; } public String paramString() { String typeStr; switch(id) { case ADJUSTMENT_VALUE_CHANGED: typeStr = "ADJUSTMENT_VALUE_CHANGED"; break; default: typeStr = "unknown type"; } String adjTypeStr; switch(adjustmentType) { case UNIT_INCREMENT: adjTypeStr = "UNIT_INCREMENT"; break; case UNIT_DECREMENT: adjTypeStr = "UNIT_DECREMENT"; break; case BLOCK_INCREMENT: adjTypeStr = "BLOCK_INCREMENT"; break; case BLOCK_DECREMENT: adjTypeStr = "BLOCK_DECREMENT"; break; case TRACK: adjTypeStr = "TRACK"; break; default: adjTypeStr = "unknown type"; } return typeStr + ",adjType="+adjTypeStr + ",value="+value + ",isAdjusting="+isAdjusting; } }
⏎ java/awt/event/AdjustmentEvent.java
Or download all of them as a single archive file:
File name: jre-rt-java-1.8.0_191-src.zip File size: 6664831 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - javax.* Package Source Code
2023-08-23, 248382👍, 4💬
Popular Posts:
What Is ojdbc7.jar for Oracle 12c R1? ojdbc7.jar for Oracle 12c R1 is the JAR files of ojdbc.jar, JD...
What is the sax\Writer.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 insta...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
What is the sax\Writer.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 insta...
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...