Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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
⏎ sun/awt/image/DataBufferNative.java
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.awt.image;
import java.awt.image.DataBuffer;
import sun.java2d.SurfaceData;
import java.awt.Rectangle;
/**
* This class extends {@code DataBuffer} and allows access to
* native data via the DataBuffer methods. Note that, unlike other
* DataBuffer classes, the data is not stored in this class but
* has been created and stored elsewhere and this class is used
* merely to access that data. Note also that this class subclasses
* from DataBuffer and not from any of the standard subclasses
* (e.g., DataBufferInt); those subclasses allow the user to
* get a pointer to the data and manipulate it directly. That
* operation may not be possible or wise with native data.
* One important use of this DataBuffer class is in accessing the
* data stored in an offscreen vram surface, such as that created
* by the createVolatileImage() method.
*/
public class DataBufferNative extends DataBuffer
{
protected SurfaceData surfaceData;
protected int width;
/**
* Constructor. The constructor of this object requires a
* SurfaceData object; that surfaceData object will be used
* to access the actual pixel data in native code.
*/
public DataBufferNative(SurfaceData sData, int type, int width, int height) {
super(type, width*height);
this.width = width;
this.surfaceData = sData;
}
protected native int getElem(int x, int y, SurfaceData sData);
/**
* getElem returns the pixel value for a given index into the
* dataBuffer array. The bank value is currently ignored (the
* type of data accessed through this class is not stored in
* separate banks). The x and y coordinates of a pixel are calculated
* from the index value and the native getElem() method is
* called with the internal surfaceData object.
*/
public int getElem(int bank, int i) {
return getElem(i % width, i / width, surfaceData);
}
protected native void setElem(int x, int y, int val, SurfaceData sData);
/**
* setElem sets the pixel value of a given index into the
* dataBuffer array. The bank value is currently ignored (the
* type of data accessed through this class is not stored in
* separate banks). The x and y coordinates of a pixel are calculated
* from the index value and the native setElem() method is
* called with the internal surfaceData object.
*/
public void setElem(int bank, int i, int val) {
setElem(i % width, i / width, val, surfaceData);
}
}
⏎ sun/awt/image/DataBufferNative.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, ≈889🔥, 5💬
Popular Posts:
JDK 17 java.sql.rowset.jmod is the JMOD file for JDK 17 SQL Rowset module. JDK 17 SQL Rowset module ...
commons-io-1.4.jar is the JAR file for Commons IO 1.4, which is a library of utilities to assist wit...
JDK 17 jdk.incubator.vector.jmo dis the JMOD file for JDK 17 HTTP Server module. JDK 17 Incubator Ve...
Woodstox 6.4.0 Source Code Files are provided at the Woodstox GitHub Website . You can download them...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...