Uses of Annotation Interface
java.lang.annotation.Native
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes for color spaces.
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.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides classes for creating and modifying images.
Provides classes and interfaces for a general printing API.
Provides classes that are fundamental to the design of the Java
programming language.
Provides the classes for implementing networking applications.
Service-provider classes for the
java.net
package.-
Uses of Native in java.awt
Modifier and TypeFieldDescriptionstatic final int
SystemColor.ACTIVE_CAPTION
The array index for theSystemColor.activeCaption
system color.static final int
SystemColor.ACTIVE_CAPTION_BORDER
The array index for theSystemColor.activeCaptionBorder
system color.static final int
SystemColor.ACTIVE_CAPTION_TEXT
The array index for theSystemColor.activeCaptionText
system color.static final int
DisplayMode.BIT_DEPTH_MULTI
Value of the bit depth if multiple bit depths are supported in this display mode.static final 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 final int
BasicStroke.CAP_BUTT
Ends unclosed subpaths and dash segments with no added decoration.static final 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 final 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 final int
AlphaComposite.CLEAR
Both the color and the alpha of the destination are cleared (Porter-Duff Clear rule).static final int
SystemColor.CONTROL
The array index for theSystemColor.control
system color.static final int
SystemColor.CONTROL_DK_SHADOW
The array index for theSystemColor.controlDkShadow
system color.static final int
SystemColor.CONTROL_HIGHLIGHT
The array index for theSystemColor.controlHighlight
system color.static final int
SystemColor.CONTROL_LT_HIGHLIGHT
The array index for theSystemColor.controlLtHighlight
system color.static final int
SystemColor.CONTROL_SHADOW
The array index for theSystemColor.controlShadow
system color.static final int
SystemColor.CONTROL_TEXT
The array index for theSystemColor.controlText
system color.static final int
SystemColor.DESKTOP
The array index for theSystemColor.desktop
system color.static final int
AlphaComposite.DST
The destination is left untouched (Porter-Duff Destination rule).static final 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 final int
AlphaComposite.DST_IN
The part of the destination lying inside of the source replaces the destination (Porter-Duff Destination In Source rule).static final 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 final int
AlphaComposite.DST_OVER
The destination is composited over the source and the result replaces the destination (Porter-Duff Destination Over Source rule).static final int
Adjustable.HORIZONTAL
Indicates that theAdjustable
has horizontal orientation.static final int
SystemColor.INACTIVE_CAPTION
The array index for theSystemColor.inactiveCaption
system color.static final int
SystemColor.INACTIVE_CAPTION_BORDER
The array index for theSystemColor.inactiveCaptionBorder
system color.static final int
SystemColor.INACTIVE_CAPTION_TEXT
The array index for theSystemColor.inactiveCaptionText
system color.static final int
SystemColor.INFO
The array index for theSystemColor.info
system color.static final int
SystemColor.INFO_TEXT
The array index for theSystemColor.infoText
system color.static final int
BasicStroke.JOIN_BEVEL
Joins path segments by connecting the outer corners of their wide outlines with a straight segment.static final int
BasicStroke.JOIN_MITER
Joins path segments by extending their outside edges until they meet.static final int
BasicStroke.JOIN_ROUND
Joins path segments by rounding off the corner at a radius of half the line width.static final int
FileDialog.LOAD
This constant value indicates that the purpose of the file dialog window is to locate a file from which to read.static final int
SystemColor.MENU
The array index for theSystemColor.menu
system color.static final int
SystemColor.MENU_TEXT
The array index for theSystemColor.menuText
system color.static final int
Adjustable.NO_ORIENTATION
Indicates that theAdjustable
has no orientation.static final int
SystemColor.NUM_COLORS
The number of system colors in the array.static final 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 final int
DisplayMode.REFRESH_RATE_UNKNOWN
Value of the refresh rate if not known.static final int
FileDialog.SAVE
This constant value indicates that the purpose of the file dialog window is to locate a file to which to write.static final int
SystemColor.SCROLLBAR
The array index for theSystemColor.scrollbar
system color.static final int
AlphaComposite.SRC
The source is copied to the destination (Porter-Duff Source rule).static final 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 final int
AlphaComposite.SRC_IN
The part of the source lying inside of the destination replaces the destination (Porter-Duff Source In Destination rule).static final 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 final int
AlphaComposite.SRC_OVER
The source is composited over the destination (Porter-Duff Source Over Destination rule).static final int
SystemColor.TEXT
The array index for theSystemColor.text
system color.static final int
SystemColor.TEXT_HIGHLIGHT
The array index for theSystemColor.textHighlight
system color.static final int
SystemColor.TEXT_HIGHLIGHT_TEXT
The array index for theSystemColor.textHighlightText
system color.static final int
SystemColor.TEXT_INACTIVE_TEXT
The array index for theSystemColor.textInactiveText
system color.static final int
SystemColor.TEXT_TEXT
The array index for theSystemColor.textText
system color.static final int
Transparency.TRANSLUCENT
Represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0.static final int
Adjustable.VERTICAL
Indicates that theAdjustable
has vertical orientation.static final int
SystemColor.WINDOW
The array index for theSystemColor.window
system color.static final int
SystemColor.WINDOW_BORDER
The array index for theSystemColor.windowBorder
system color.static final int
SystemColor.WINDOW_TEXT
The array index for theSystemColor.windowText
system color.static final 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
Modifier and TypeFieldDescriptionstatic final int
ColorSpace.CS_CIEXYZ
The built-in CIEXYZ conversion color space defined above.static final int
ColorSpace.CS_GRAY
The built-in linear gray scale color space.static final int
ColorSpace.CS_LINEAR_RGB
The built-in linear RGB color space.static final int
ColorSpace.CS_PYCC
The built-in Photo YCC conversion color space.static final int
ColorSpace.CS_sRGB
The built-in sRGB color space defined at http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html.static final int
ColorSpace.TYPE_2CLR
Generic 2 component color spaces.static final int
ColorSpace.TYPE_3CLR
Generic 3 component color spaces.static final int
ColorSpace.TYPE_4CLR
Generic 4 component color spaces.static final int
ColorSpace.TYPE_5CLR
Generic 5 component color spaces.static final int
ColorSpace.TYPE_6CLR
Generic 6 component color spaces.static final int
ColorSpace.TYPE_7CLR
Generic 7 component color spaces.static final int
ColorSpace.TYPE_8CLR
Generic 8 component color spaces.static final int
ColorSpace.TYPE_9CLR
Generic 9 component color spaces.static final int
ColorSpace.TYPE_ACLR
Generic 10 component color spaces.static final int
ColorSpace.TYPE_BCLR
Generic 11 component color spaces.static final int
ColorSpace.TYPE_CCLR
Generic 12 component color spaces.static final int
ColorSpace.TYPE_CMY
Any of the family of CMY color spaces.static final int
ColorSpace.TYPE_CMYK
Any of the family of CMYK color spaces.static final int
ColorSpace.TYPE_DCLR
Generic 13 component color spaces.static final int
ColorSpace.TYPE_ECLR
Generic 14 component color spaces.static final int
ColorSpace.TYPE_FCLR
Generic 15 component color spaces.static final int
ColorSpace.TYPE_GRAY
Any of the family of GRAY color spaces.static final int
ColorSpace.TYPE_HLS
Any of the family of HLS color spaces.static final int
ColorSpace.TYPE_HSV
Any of the family of HSV color spaces.static final int
ColorSpace.TYPE_Lab
Any of the family of Lab color spaces.static final int
ColorSpace.TYPE_Luv
Any of the family of Luv color spaces.static final int
ColorSpace.TYPE_RGB
Any of the family of RGB color spaces.static final int
ColorSpace.TYPE_XYZ
Any of the family of XYZ color spaces.static final int
ColorSpace.TYPE_YCbCr
Any of the family of YCbCr color spaces.static final int
ColorSpace.TYPE_Yxy
Any of the family of Yxy color spaces. -
Uses of Native in java.awt.dnd
Modifier and TypeFieldDescriptionstatic final int
DnDConstants.ACTION_COPY
Anint
representing a "copy" action.static final int
DnDConstants.ACTION_COPY_OR_MOVE
Anint
representing a "copy" or "move" action.static final int
DnDConstants.ACTION_LINK
Anint
representing a "link" action.static final int
DnDConstants.ACTION_MOVE
Anint
representing a "move" action.static final int
DnDConstants.ACTION_NONE
Anint
representing no action.static final int
DnDConstants.ACTION_REFERENCE
Anint
representing a "reference" action (synonym for ACTION_LINK). -
Uses of Native in java.awt.event
Modifier and TypeFieldDescriptionstatic final int
ActionEvent.ACTION_PERFORMED
This event id indicates that a meaningful action occurred.static final int
AdjustmentEvent.BLOCK_DECREMENT
The block decrement adjustment type.static final int
AdjustmentEvent.BLOCK_INCREMENT
The block increment adjustment type.static final int
InputMethodEvent.CARET_POSITION_CHANGED
The event type indicating a changed insertion point in input method text.static final int
ComponentEvent.COMPONENT_HIDDEN
This event indicates that the component was rendered invisible.static final int
ComponentEvent.COMPONENT_MOVED
This event indicates that the component's position changed.static final int
ComponentEvent.COMPONENT_RESIZED
This event indicates that the component's size changed.static final int
ComponentEvent.COMPONENT_SHOWN
This event indicates that the component was made visible.static final int
InputMethodEvent.INPUT_METHOD_FIRST
Marks the first integer id for the range of input method event ids.static final int
InputMethodEvent.INPUT_METHOD_LAST
Marks the last integer id for the range of input method event ids.static final int
InputMethodEvent.INPUT_METHOD_TEXT_CHANGED
The event type indicating changed input method text.static final int
AdjustmentEvent.TRACK
The absolute tracking adjustment type.static final int
AdjustmentEvent.UNIT_DECREMENT
The unit decrement adjustment type.static final int
AdjustmentEvent.UNIT_INCREMENT
The unit increment adjustment type.static final int
MouseWheelEvent.WHEEL_BLOCK_SCROLL
Constant representing scrolling by a "block" (like scrolling with page-up, page-down keys)static final int
MouseWheelEvent.WHEEL_UNIT_SCROLL
Constant representing scrolling by "units" (like scrolling with the arrow keys)static final int
WindowEvent.WINDOW_ACTIVATED
The window-activated event type.static final int
WindowEvent.WINDOW_CLOSED
The window closed event.static final int
WindowEvent.WINDOW_CLOSING
The "window is closing" event.static final int
WindowEvent.WINDOW_DEACTIVATED
The window-deactivated event type.static final int
WindowEvent.WINDOW_DEICONIFIED
The window deiconified event type.static final int
WindowEvent.WINDOW_GAINED_FOCUS
The window-gained-focus event type.static final int
WindowEvent.WINDOW_ICONIFIED
The window iconified event.static final int
WindowEvent.WINDOW_LOST_FOCUS
The window-lost-focus event type.static final int
WindowEvent.WINDOW_OPENED
The window opened event.static final int
WindowEvent.WINDOW_STATE_CHANGED
The window-state-changed event type. -
Uses of Native in java.awt.geom
Modifier and TypeFieldDescriptionstatic final 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 final 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 final 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 final int
PathIterator.SEG_MOVETO
The segment type constant for a point that specifies the starting location for a new subpath.static final 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 final int
PathIterator.WIND_EVEN_ODD
The winding rule constant for specifying an even-odd rule for determining the interior of a path.static final 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
Modifier and TypeFieldDescriptionstatic final 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 final int
ConvolveOp.EDGE_ZERO_FILL
Pixels at the edge of the destination image are set to zero.static final int
AffineTransformOp.TYPE_BICUBIC
Bicubic interpolation type.static final int
AffineTransformOp.TYPE_BILINEAR
Bilinear interpolation type.static final int
DataBuffer.TYPE_BYTE
Tag for unsigned byte data.static final int
DataBuffer.TYPE_DOUBLE
Tag for double data.static final int
DataBuffer.TYPE_FLOAT
Tag for float data.static final int
DataBuffer.TYPE_INT
Tag for int data.static final int
AffineTransformOp.TYPE_NEAREST_NEIGHBOR
Nearest-neighbor interpolation type.static final int
DataBuffer.TYPE_SHORT
Tag for signed short data.static final int
DataBuffer.TYPE_UNDEFINED
Tag for undefined data.static final int
DataBuffer.TYPE_USHORT
Tag for unsigned short data. -
Uses of Native in java.awt.print
Modifier and TypeFieldDescriptionstatic final 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 final 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 final 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 final int
Pageable.UNKNOWN_NUMBER_OF_PAGES
This constant is returned from thegetNumberOfPages
method if aPageable
implementation does not know the number of pages in its set. -
Uses of Native in java.lang
Modifier and TypeFieldDescriptionstatic final int
Integer.MAX_VALUE
A constant holding the maximum value anint
can have, 231-1.static final long
Long.MAX_VALUE
A constant holding the maximum value along
can have, 263-1.static final int
Integer.MIN_VALUE
A constant holding the minimum value anint
can have, -231.static final long
Long.MIN_VALUE
A constant holding the minimum value along
can have, -263.static final int
Integer.SIZE
The number of bits used to represent anint
value in two's complement binary form.static final int
Long.SIZE
The number of bits used to represent along
value in two's complement binary form. -
Uses of Native in java.net
Modifier and TypeFieldDescriptionstatic final int
SocketOptions.IP_MULTICAST_IF
SeeStandardSocketOptions.IP_MULTICAST_IF
for description of this socket option.static final int
SocketOptions.IP_MULTICAST_IF2
This option is used to both set and fetch the outgoing interface on which the multicast packets are sent.static final int
SocketOptions.IP_MULTICAST_LOOP
SeeStandardSocketOptions.IP_MULTICAST_LOOP
for description of this socket option.static final int
SocketOptions.IP_TOS
SeeStandardSocketOptions.IP_TOS
for description of this socket option.static final int
SocketOptions.SO_BINDADDR
Fetch the local address binding of a socket.static final int
SocketOptions.SO_BROADCAST
SeeStandardSocketOptions.SO_BROADCAST
for description of this socket option.static final int
SocketOptions.SO_KEEPALIVE
SeeStandardSocketOptions.SO_KEEPALIVE
for description of this socket option.static final int
SocketOptions.SO_LINGER
SeeStandardSocketOptions.SO_LINGER
for description of this socket option.static final int
SocketOptions.SO_OOBINLINE
When this option is set, any TCP urgent data received on the socket will be received through the socket input stream.static final int
SocketOptions.SO_RCVBUF
SeeStandardSocketOptions.SO_RCVBUF
for description of this socket option.static final int
SocketOptions.SO_REUSEADDR
SeeStandardSocketOptions.SO_REUSEADDR
for description of this socket option.static final int
SocketOptions.SO_REUSEPORT
SeeStandardSocketOptions.SO_REUSEPORT
for description of this socket option.static final int
SocketOptions.SO_SNDBUF
SeeStandardSocketOptions.SO_SNDBUF
for description of this socket option.static final int
SocketOptions.SO_TIMEOUT
This option is used to both set and fetch a timeout value on blockingSocket
operations: ServerSocket.accept() Socket InputStream.read() DatagramSocket.receive()static final int
SocketOptions.TCP_NODELAY
SeeStandardSocketOptions.TCP_NODELAY
for description of this socket option. -
Uses of Native in java.net.spi
Modifier and TypeFieldDescriptionstatic final int
InetAddressResolver.LookupPolicy.IPV4
Characteristic value signifying if IPv4 addresses need to be queried during lookup.static final int
InetAddressResolver.LookupPolicy.IPV4_FIRST
Characteristic value signifying if IPv4 addresses should be returned first byInetAddressResolver
.static final int
InetAddressResolver.LookupPolicy.IPV6
Characteristic value signifying if IPv6 addresses need to be queried during lookup.static final int
InetAddressResolver.LookupPolicy.IPV6_FIRST
Characteristic value signifying if IPv6 addresses should be returned first byInetAddressResolver
.