## Uses of Class
java.lang.annotation.Native

Packages that use Native
java.awt: Contains all of the classes for creating user interfaces and for painting graphics and images.
java.awt.color: Provides classes for color spaces.
java.awt.dnd: Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
java.awt.event: Provides interfaces and classes for dealing with different types of events fired by AWT components.
java.awt.geom: Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
java.awt.image: Provides classes for creating and modifying images.
java.awt.print: Provides classes and interfaces for a general printing API.
java.lang: Provides classes that are fundamental to the design of the Java programming language.
java.net: Provides the classes for implementing networking applications.
jdk.net: Platform specific socket options for the `java.net` and `java.nio.channels` socket classes.

### Uses of Native in java.awt

Fields in java.awt with annotations of type Native
`static int` SystemColor.`ACTIVE_CAPTION` The array index for the `SystemColor.activeCaption` system color.
`static int` SystemColor.`ACTIVE_CAPTION_BORDER` The array index for the `SystemColor.activeCaptionBorder` system color.
`static int` SystemColor.`ACTIVE_CAPTION_TEXT` The array index for the `SystemColor.activeCaptionText` system color.
`static int` DisplayMode.`BIT_DEPTH_MULTI` Value of the bit depth if multiple bit depths are supported in this display mode.
`static int` Transparency.`BITMASK` Represents image data that is guaranteed to be either completely opaque, with an alpha value of 1.0, or completely transparent, with an alpha value of 0.0.
`static int` BasicStroke.`CAP_BUTT` Ends unclosed subpaths and dash segments with no added decoration.
`static int` BasicStroke.`CAP_ROUND` Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen.
`static int` BasicStroke.`CAP_SQUARE` Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width.
`static int` AlphaComposite.`CLEAR` Both the color and the alpha of the destination are cleared (Porter-Duff Clear rule).
`static int` SystemColor.`CONTROL` The array index for the `SystemColor.control` system color.
`static int` SystemColor.`CONTROL_DK_SHADOW` The array index for the `SystemColor.controlDkShadow` system color.
`static int` SystemColor.`CONTROL_HIGHLIGHT` The array index for the `SystemColor.controlHighlight` system color.
`static int` SystemColor.`CONTROL_LT_HIGHLIGHT` The array index for the `SystemColor.controlLtHighlight` system color.
`static int` SystemColor.`CONTROL_SHADOW` The array index for the `SystemColor.controlShadow` system color.
`static int` SystemColor.`CONTROL_TEXT` The array index for the `SystemColor.controlText` system color.
`static int` SystemColor.`DESKTOP` The array index for the `SystemColor.desktop` system color.
`static int` AlphaComposite.`DST` The destination is left untouched (Porter-Duff Destination rule).
`static int` AlphaComposite.`DST_ATOP` The part of the destination lying inside of the source is composited over the source and replaces the destination (Porter-Duff Destination Atop Source rule).
`static int` AlphaComposite.`DST_IN` The part of the destination lying inside of the source replaces the destination (Porter-Duff Destination In Source rule).
`static int` AlphaComposite.`DST_OUT` The part of the destination lying outside of the source replaces the destination (Porter-Duff Destination Held Out By Source rule).
`static int` AlphaComposite.`DST_OVER` The destination is composited over the source and the result replaces the destination (Porter-Duff Destination Over Source rule).
`static int` Adjustable.`HORIZONTAL` Indicates that the `Adjustable` has horizontal orientation.
`static int` SystemColor.`INACTIVE_CAPTION` The array index for the `SystemColor.inactiveCaption` system color.
`static int` SystemColor.`INACTIVE_CAPTION_BORDER` The array index for the `SystemColor.inactiveCaptionBorder` system color.
`static int` SystemColor.`INACTIVE_CAPTION_TEXT` The array index for the `SystemColor.inactiveCaptionText` system color.
`static int` SystemColor.`INFO` The array index for the `SystemColor.info` system color.
`static int` SystemColor.`INFO_TEXT` The array index for the `SystemColor.infoText` system color.
`static int` BasicStroke.`JOIN_BEVEL` Joins path segments by connecting the outer corners of their wide outlines with a straight segment.
`static int` BasicStroke.`JOIN_MITER` Joins path segments by extending their outside edges until they meet.
`static int` BasicStroke.`JOIN_ROUND` Joins path segments by rounding off the corner at a radius of half the line width.
`static int` SystemColor.`MENU` The array index for the `SystemColor.menu` system color.
`static int` SystemColor.`MENU_TEXT` The array index for the `SystemColor.menuText` system color.
`static int` Adjustable.`NO_ORIENTATION` Indicates that the `Adjustable` has no orientation.
`static int` SystemColor.`NUM_COLORS` The number of system colors in the array.
`static int` Transparency.`OPAQUE` Represents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0.
`static int` DisplayMode.`REFRESH_RATE_UNKNOWN` Value of the refresh rate if not known.
`static int` SystemColor.`SCROLLBAR` The array index for the `SystemColor.scrollbar` system color.
`static int` AlphaComposite.`SRC` The source is copied to the destination (Porter-Duff Source rule).
`static int` AlphaComposite.`SRC_ATOP` The part of the source lying inside of the destination is composited onto the destination (Porter-Duff Source Atop Destination rule).
`static int` AlphaComposite.`SRC_IN` The part of the source lying inside of the destination replaces the destination (Porter-Duff Source In Destination rule).
`static int` AlphaComposite.`SRC_OUT` The part of the source lying outside of the destination replaces the destination (Porter-Duff Source Held Out By Destination rule).
`static int` AlphaComposite.`SRC_OVER` The source is composited over the destination (Porter-Duff Source Over Destination rule).
`static int` SystemColor.`TEXT` The array index for the `SystemColor.text` system color.
`static int` SystemColor.`TEXT_HIGHLIGHT` The array index for the `SystemColor.textHighlight` system color.
`static int` SystemColor.`TEXT_HIGHLIGHT_TEXT` The array index for the `SystemColor.textHighlightText` system color.
`static int` SystemColor.`TEXT_INACTIVE_TEXT` The array index for the `SystemColor.textInactiveText` system color.
`static int` SystemColor.`TEXT_TEXT` The array index for the `SystemColor.textText` system color.
`static int` Transparency.`TRANSLUCENT` Represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0.
`static int` Adjustable.`VERTICAL` Indicates that the `Adjustable` has vertical orientation.
`static int` SystemColor.`WINDOW` The array index for the `SystemColor.window` system color.
`static int` SystemColor.`WINDOW_BORDER` The array index for the `SystemColor.windowBorder` system color.
`static int` SystemColor.`WINDOW_TEXT` The array index for the `SystemColor.windowText` system color.
`static int` AlphaComposite.`XOR` The part of the source that lies outside of the destination is combined with the part of the destination that lies outside of the source (Porter-Duff Source Xor Destination rule).

### Uses of Native in java.awt.color

Fields in java.awt.color with annotations of type Native
`static int` ColorSpace.`CS_CIEXYZ` The CIEXYZ conversion color space defined above.
`static int` ColorSpace.`CS_GRAY` The built-in linear gray scale color space.
`static int` ColorSpace.`CS_LINEAR_RGB` A built-in linear RGB color space.
`static int` ColorSpace.`CS_PYCC` The Photo YCC conversion color space.
`static int` ColorSpace.`CS_sRGB` The sRGB color space defined at http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html .
`static int` ColorSpace.`TYPE_2CLR` Generic 2 component color spaces.
`static int` ColorSpace.`TYPE_3CLR` Generic 3 component color spaces.
`static int` ColorSpace.`TYPE_4CLR` Generic 4 component color spaces.
`static int` ColorSpace.`TYPE_5CLR` Generic 5 component color spaces.
`static int` ColorSpace.`TYPE_6CLR` Generic 6 component color spaces.
`static int` ColorSpace.`TYPE_7CLR` Generic 7 component color spaces.
`static int` ColorSpace.`TYPE_8CLR` Generic 8 component color spaces.
`static int` ColorSpace.`TYPE_9CLR` Generic 9 component color spaces.
`static int` ColorSpace.`TYPE_ACLR` Generic 10 component color spaces.
`static int` ColorSpace.`TYPE_BCLR` Generic 11 component color spaces.
`static int` ColorSpace.`TYPE_CCLR` Generic 12 component color spaces.
`static int` ColorSpace.`TYPE_CMY` Any of the family of CMY color spaces.
`static int` ColorSpace.`TYPE_CMYK` Any of the family of CMYK color spaces.
`static int` ColorSpace.`TYPE_DCLR` Generic 13 component color spaces.
`static int` ColorSpace.`TYPE_ECLR` Generic 14 component color spaces.
`static int` ColorSpace.`TYPE_FCLR` Generic 15 component color spaces.
`static int` ColorSpace.`TYPE_GRAY` Any of the family of GRAY color spaces.
`static int` ColorSpace.`TYPE_HLS` Any of the family of HLS color spaces.
`static int` ColorSpace.`TYPE_HSV` Any of the family of HSV color spaces.
`static int` ColorSpace.`TYPE_Lab` Any of the family of Lab color spaces.
`static int` ColorSpace.`TYPE_Luv` Any of the family of Luv color spaces.
`static int` ColorSpace.`TYPE_RGB` Any of the family of RGB color spaces.
`static int` ColorSpace.`TYPE_XYZ` Any of the family of XYZ color spaces.
`static int` ColorSpace.`TYPE_YCbCr` Any of the family of YCbCr color spaces.
`static int` ColorSpace.`TYPE_Yxy` Any of the family of Yxy color spaces.

### Uses of Native in java.awt.dnd

Fields in java.awt.dnd with annotations of type Native
`static int` DnDConstants.`ACTION_COPY` An `int` representing a "copy" action.
`static int` DnDConstants.`ACTION_COPY_OR_MOVE` An `int` representing a "copy" or "move" action.
`static int` DnDConstants.`ACTION_LINK` An `int` representing a "link" action.
`static int` DnDConstants.`ACTION_MOVE` An `int` representing a "move" action.
`static int` DnDConstants.`ACTION_NONE` An `int` representing no action.
`static int` DnDConstants.`ACTION_REFERENCE` An `int` representing a "reference" action (synonym for ACTION_LINK).

### Uses of Native in java.awt.event

Fields in java.awt.event with annotations of type Native
`static int` ActionEvent.`ACTION_PERFORMED` This event id indicates that a meaningful action occurred.
`static int` AdjustmentEvent.`BLOCK_DECREMENT` The block decrement adjustment type.
`static int` AdjustmentEvent.`BLOCK_INCREMENT` The block increment adjustment type.
`static int` InputMethodEvent.`CARET_POSITION_CHANGED` The event type indicating a changed insertion point in input method text.
`static int` ComponentEvent.`COMPONENT_HIDDEN` This event indicates that the component was rendered invisible.
`static int` ComponentEvent.`COMPONENT_MOVED` This event indicates that the component's position changed.
`static int` ComponentEvent.`COMPONENT_RESIZED` This event indicates that the component's size changed.
`static int` ComponentEvent.`COMPONENT_SHOWN` This event indicates that the component was made visible.
`static int` InputMethodEvent.`INPUT_METHOD_FIRST` Marks the first integer id for the range of input method event ids.
`static int` InputMethodEvent.`INPUT_METHOD_LAST` Marks the last integer id for the range of input method event ids.
`static int` InputMethodEvent.`INPUT_METHOD_TEXT_CHANGED` The event type indicating changed input method text.
`static int` AdjustmentEvent.`TRACK` The absolute tracking adjustment type.
`static int` AdjustmentEvent.`UNIT_DECREMENT` The unit decrement adjustment type.
`static int` AdjustmentEvent.`UNIT_INCREMENT` The unit increment adjustment type.
`static int` MouseWheelEvent.`WHEEL_BLOCK_SCROLL` Constant representing scrolling by a "block" (like scrolling with page-up, page-down keys)
`static int` MouseWheelEvent.`WHEEL_UNIT_SCROLL` Constant representing scrolling by "units" (like scrolling with the arrow keys)
`static int` WindowEvent.`WINDOW_ACTIVATED` The window-activated event type.
`static int` WindowEvent.`WINDOW_CLOSED` The window closed event.
`static int` WindowEvent.`WINDOW_CLOSING` The "window is closing" event.
`static int` WindowEvent.`WINDOW_DEACTIVATED` The window-deactivated event type.
`static int` WindowEvent.`WINDOW_DEICONIFIED` The window deiconified event type.
`static int` WindowEvent.`WINDOW_GAINED_FOCUS` The window-gained-focus event type.
`static int` WindowEvent.`WINDOW_ICONIFIED` The window iconified event.
`static int` WindowEvent.`WINDOW_LOST_FOCUS` The window-lost-focus event type.
`static int` WindowEvent.`WINDOW_OPENED` The window opened event.
`static int` WindowEvent.`WINDOW_STATE_CHANGED` The window-state-changed event type.

### Uses of Native in java.awt.geom

Fields in java.awt.geom with annotations of type Native
`static int` PathIterator.`SEG_CLOSE` The segment type constant that specifies that the preceding subpath should be closed by appending a line segment back to the point corresponding to the most recent SEG_MOVETO.
`static int` PathIterator.`SEG_CUBICTO` The segment type constant for the set of 3 points that specify a cubic parametric curve to be drawn from the most recently specified point.
`static int` PathIterator.`SEG_LINETO` The segment type constant for a point that specifies the end point of a line to be drawn from the most recently specified point.
`static int` PathIterator.`SEG_MOVETO` The segment type constant for a point that specifies the starting location for a new subpath.
`static int` PathIterator.`SEG_QUADTO` The segment type constant for the pair of points that specify a quadratic parametric curve to be drawn from the most recently specified point.
`static int` PathIterator.`WIND_EVEN_ODD` The winding rule constant for specifying an even-odd rule for determining the interior of a path.
`static int` PathIterator.`WIND_NON_ZERO` The winding rule constant for specifying a non-zero rule for determining the interior of a path.

### Uses of Native in java.awt.image

Fields in java.awt.image with annotations of type Native
`static int` ConvolveOp.`EDGE_NO_OP` Pixels at the edge of the source image are copied to the corresponding pixels in the destination without modification.
`static int` ConvolveOp.`EDGE_ZERO_FILL` Pixels at the edge of the destination image are set to zero.
`static int` AffineTransformOp.`TYPE_BICUBIC` Bicubic interpolation type.
`static int` AffineTransformOp.`TYPE_BILINEAR` Bilinear interpolation type.
`static int` DataBuffer.`TYPE_BYTE` Tag for unsigned byte data.
`static int` DataBuffer.`TYPE_DOUBLE` Tag for double data.
`static int` DataBuffer.`TYPE_FLOAT` Tag for float data.
`static int` DataBuffer.`TYPE_INT` Tag for int data.
`static int` AffineTransformOp.`TYPE_NEAREST_NEIGHBOR` Nearest-neighbor interpolation type.
`static int` DataBuffer.`TYPE_SHORT` Tag for signed short data.
`static int` DataBuffer.`TYPE_UNDEFINED` Tag for undefined data.
`static int` DataBuffer.`TYPE_USHORT` Tag for unsigned short data.

### Uses of Native in java.awt.print

Fields in java.awt.print with annotations of type Native
`static int` PageFormat.`LANDSCAPE` The origin is at the bottom left of the paper with x running bottom to top and y running left to right.
`static int` PageFormat.`PORTRAIT` The origin is at the top left of the paper with x running to the right and y running down the paper.
`static int` PageFormat.`REVERSE_LANDSCAPE` The origin is at the top right of the paper with x running top to bottom and y running right to left.
`static int` Pageable.`UNKNOWN_NUMBER_OF_PAGES` This constant is returned from the `getNumberOfPages` method if a `Pageable` implementation does not know the number of pages in its set.

### Uses of Native in java.lang

Fields in java.lang with annotations of type Native
`static int` Integer.`MAX_VALUE` A constant holding the maximum value an `int` can have, 231-1.
`static long` Long.`MAX_VALUE` A constant holding the maximum value a `long` can have, 263-1.
`static int` Integer.`MIN_VALUE` A constant holding the minimum value an `int` can have, -231.
`static long` Long.`MIN_VALUE` A constant holding the minimum value a `long` can have, -263.
`static int` Integer.`SIZE` The number of bits used to represent an `int` value in two's complement binary form.
`static int` Long.`SIZE` The number of bits used to represent a `long` value in two's complement binary form.

### Uses of Native in java.net

Fields in java.net with annotations of type Native
`static int` SocketOptions.`IP_MULTICAST_IF` Set which outgoing interface on which to send multicast packets.
`static int` SocketOptions.`IP_MULTICAST_IF2` Same as above.
`static int` SocketOptions.`IP_MULTICAST_LOOP` This option enables or disables local loopback of multicast datagrams.
`static int` SocketOptions.`IP_TOS` This option sets the type-of-service or traffic class field in the IP header for a TCP or UDP socket.
`static int` SocketOptions.`SO_BINDADDR` Fetch the local address binding of a socket (this option cannot be "set" only "gotten", since sockets are bound at creation time, and so the locally bound address cannot be changed).
`static int` SocketOptions.`SO_BROADCAST` Sets SO_BROADCAST for a socket.
`static int` SocketOptions.`SO_KEEPALIVE` When the keepalive option is set for a TCP socket and no data has been exchanged across the socket in either direction for 2 hours (NOTE: the actual value is implementation dependent), TCP automatically sends a keepalive probe to the peer.
`static int` SocketOptions.`SO_LINGER` Specify a linger-on-close timeout.
`static int` SocketOptions.`SO_OOBINLINE` When the OOBINLINE option is set, any TCP urgent data received on the socket will be received through the socket input stream.
`static int` SocketOptions.`SO_RCVBUF` Set a hint the size of the underlying buffers used by the platform for incoming network I/O.
`static int` SocketOptions.`SO_REUSEADDR` Sets SO_REUSEADDR for a socket.
`static int` SocketOptions.`SO_REUSEPORT` Sets SO_REUSEPORT for a socket.
`static int` SocketOptions.`SO_SNDBUF` Set a hint the size of the underlying buffers used by the platform for outgoing network I/O.
`static int` SocketOptions.`SO_TIMEOUT` Set a timeout on blocking Socket operations:
`static int` SocketOptions.`TCP_NODELAY` Disable Nagle's algorithm for this connection.

### Uses of Native in jdk.net

Fields in jdk.net with annotations of type Native
`static int` SocketFlow.`HIGH_PRIORITY`
`static int` SocketFlow.`NORMAL_PRIORITY`
`static int` SocketFlow.`UNSET`