Uses of Class
java.lang.annotation.Native
| Package | Description |
|---|---|
| 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 Modifier and Type Field Description static intSystemColor. ACTIVE_CAPTIONThe array index for theSystemColor.activeCaptionsystem color.static intSystemColor. ACTIVE_CAPTION_BORDERThe array index for theSystemColor.activeCaptionBordersystem color.static intSystemColor. ACTIVE_CAPTION_TEXTThe array index for theSystemColor.activeCaptionTextsystem color.static intDisplayMode. BIT_DEPTH_MULTIValue of the bit depth if multiple bit depths are supported in this display mode.static intTransparency. BITMASKRepresents 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 intBasicStroke. CAP_BUTTEnds unclosed subpaths and dash segments with no added decoration.static intBasicStroke. CAP_ROUNDEnds unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen.static intBasicStroke. CAP_SQUAREEnds 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 intAlphaComposite. CLEARBoth the color and the alpha of the destination are cleared (Porter-Duff Clear rule).static intSystemColor. CONTROLThe array index for theSystemColor.controlsystem color.static intSystemColor. CONTROL_DK_SHADOWThe array index for theSystemColor.controlDkShadowsystem color.static intSystemColor. CONTROL_HIGHLIGHTThe array index for theSystemColor.controlHighlightsystem color.static intSystemColor. CONTROL_LT_HIGHLIGHTThe array index for theSystemColor.controlLtHighlightsystem color.static intSystemColor. CONTROL_SHADOWThe array index for theSystemColor.controlShadowsystem color.static intSystemColor. CONTROL_TEXTThe array index for theSystemColor.controlTextsystem color.static intSystemColor. DESKTOPThe array index for theSystemColor.desktopsystem color.static intAlphaComposite. DSTThe destination is left untouched (Porter-Duff Destination rule).static intAlphaComposite. DST_ATOPThe 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 intAlphaComposite. DST_INThe part of the destination lying inside of the source replaces the destination (Porter-Duff Destination In Source rule).static intAlphaComposite. DST_OUTThe part of the destination lying outside of the source replaces the destination (Porter-Duff Destination Held Out By Source rule).static intAlphaComposite. DST_OVERThe destination is composited over the source and the result replaces the destination (Porter-Duff Destination Over Source rule).static intAdjustable. HORIZONTALIndicates that theAdjustablehas horizontal orientation.static intSystemColor. INACTIVE_CAPTIONThe array index for theSystemColor.inactiveCaptionsystem color.static intSystemColor. INACTIVE_CAPTION_BORDERThe array index for theSystemColor.inactiveCaptionBordersystem color.static intSystemColor. INACTIVE_CAPTION_TEXTThe array index for theSystemColor.inactiveCaptionTextsystem color.static intSystemColor. INFOThe array index for theSystemColor.infosystem color.static intSystemColor. INFO_TEXTThe array index for theSystemColor.infoTextsystem color.static intBasicStroke. JOIN_BEVELJoins path segments by connecting the outer corners of their wide outlines with a straight segment.static intBasicStroke. JOIN_MITERJoins path segments by extending their outside edges until they meet.static intBasicStroke. JOIN_ROUNDJoins path segments by rounding off the corner at a radius of half the line width.static intSystemColor. MENUThe array index for theSystemColor.menusystem color.static intSystemColor. MENU_TEXTThe array index for theSystemColor.menuTextsystem color.static intAdjustable. NO_ORIENTATIONIndicates that theAdjustablehas no orientation.static intSystemColor. NUM_COLORSThe number of system colors in the array.static intTransparency. OPAQUERepresents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0.static intDisplayMode. REFRESH_RATE_UNKNOWNValue of the refresh rate if not known.static intSystemColor. SCROLLBARThe array index for theSystemColor.scrollbarsystem color.static intAlphaComposite. SRCThe source is copied to the destination (Porter-Duff Source rule).static intAlphaComposite. SRC_ATOPThe part of the source lying inside of the destination is composited onto the destination (Porter-Duff Source Atop Destination rule).static intAlphaComposite. SRC_INThe part of the source lying inside of the destination replaces the destination (Porter-Duff Source In Destination rule).static intAlphaComposite. SRC_OUTThe part of the source lying outside of the destination replaces the destination (Porter-Duff Source Held Out By Destination rule).static intAlphaComposite. SRC_OVERThe source is composited over the destination (Porter-Duff Source Over Destination rule).static intSystemColor. TEXTThe array index for theSystemColor.textsystem color.static intSystemColor. TEXT_HIGHLIGHTThe array index for theSystemColor.textHighlightsystem color.static intSystemColor. TEXT_HIGHLIGHT_TEXTThe array index for theSystemColor.textHighlightTextsystem color.static intSystemColor. TEXT_INACTIVE_TEXTThe array index for theSystemColor.textInactiveTextsystem color.static intSystemColor. TEXT_TEXTThe array index for theSystemColor.textTextsystem color.static intTransparency. TRANSLUCENTRepresents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0.static intAdjustable. VERTICALIndicates that theAdjustablehas vertical orientation.static intSystemColor. WINDOWThe array index for theSystemColor.windowsystem color.static intSystemColor. WINDOW_BORDERThe array index for theSystemColor.windowBordersystem color.static intSystemColor. WINDOW_TEXTThe array index for theSystemColor.windowTextsystem color.static intAlphaComposite. XORThe 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 Modifier and Type Field Description static intColorSpace. CS_CIEXYZThe CIEXYZ conversion color space defined above.static intColorSpace. CS_GRAYThe built-in linear gray scale color space.static intColorSpace. CS_LINEAR_RGBA built-in linear RGB color space.static intColorSpace. CS_PYCCThe Photo YCC conversion color space.static intColorSpace. CS_sRGBThe sRGB color space defined at http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html.static intColorSpace. TYPE_2CLRGeneric 2 component color spaces.static intColorSpace. TYPE_3CLRGeneric 3 component color spaces.static intColorSpace. TYPE_4CLRGeneric 4 component color spaces.static intColorSpace. TYPE_5CLRGeneric 5 component color spaces.static intColorSpace. TYPE_6CLRGeneric 6 component color spaces.static intColorSpace. TYPE_7CLRGeneric 7 component color spaces.static intColorSpace. TYPE_8CLRGeneric 8 component color spaces.static intColorSpace. TYPE_9CLRGeneric 9 component color spaces.static intColorSpace. TYPE_ACLRGeneric 10 component color spaces.static intColorSpace. TYPE_BCLRGeneric 11 component color spaces.static intColorSpace. TYPE_CCLRGeneric 12 component color spaces.static intColorSpace. TYPE_CMYAny of the family of CMY color spaces.static intColorSpace. TYPE_CMYKAny of the family of CMYK color spaces.static intColorSpace. TYPE_DCLRGeneric 13 component color spaces.static intColorSpace. TYPE_ECLRGeneric 14 component color spaces.static intColorSpace. TYPE_FCLRGeneric 15 component color spaces.static intColorSpace. TYPE_GRAYAny of the family of GRAY color spaces.static intColorSpace. TYPE_HLSAny of the family of HLS color spaces.static intColorSpace. TYPE_HSVAny of the family of HSV color spaces.static intColorSpace. TYPE_LabAny of the family of Lab color spaces.static intColorSpace. TYPE_LuvAny of the family of Luv color spaces.static intColorSpace. TYPE_RGBAny of the family of RGB color spaces.static intColorSpace. TYPE_XYZAny of the family of XYZ color spaces.static intColorSpace. TYPE_YCbCrAny of the family of YCbCr color spaces.static intColorSpace. TYPE_YxyAny of the family of Yxy color spaces. -
Uses of Native in java.awt.dnd
Fields in java.awt.dnd with annotations of type Native Modifier and Type Field Description static intDnDConstants. ACTION_COPYAnintrepresenting a "copy" action.static intDnDConstants. ACTION_COPY_OR_MOVEAnintrepresenting a "copy" or "move" action.static intDnDConstants. ACTION_LINKAnintrepresenting a "link" action.static intDnDConstants. ACTION_MOVEAnintrepresenting a "move" action.static intDnDConstants. ACTION_NONEAnintrepresenting no action.static intDnDConstants. ACTION_REFERENCEAnintrepresenting a "reference" action (synonym for ACTION_LINK). -
Uses of Native in java.awt.event
Fields in java.awt.event with annotations of type Native Modifier and Type Field Description static intActionEvent. ACTION_PERFORMEDThis event id indicates that a meaningful action occurred.static intAdjustmentEvent. BLOCK_DECREMENTThe block decrement adjustment type.static intAdjustmentEvent. BLOCK_INCREMENTThe block increment adjustment type.static intInputMethodEvent. CARET_POSITION_CHANGEDThe event type indicating a changed insertion point in input method text.static intComponentEvent. COMPONENT_HIDDENThis event indicates that the component was rendered invisible.static intComponentEvent. COMPONENT_MOVEDThis event indicates that the component's position changed.static intComponentEvent. COMPONENT_RESIZEDThis event indicates that the component's size changed.static intComponentEvent. COMPONENT_SHOWNThis event indicates that the component was made visible.static intInputMethodEvent. INPUT_METHOD_FIRSTMarks the first integer id for the range of input method event ids.static intInputMethodEvent. INPUT_METHOD_LASTMarks the last integer id for the range of input method event ids.static intInputMethodEvent. INPUT_METHOD_TEXT_CHANGEDThe event type indicating changed input method text.static intAdjustmentEvent. TRACKThe absolute tracking adjustment type.static intAdjustmentEvent. UNIT_DECREMENTThe unit decrement adjustment type.static intAdjustmentEvent. UNIT_INCREMENTThe unit increment adjustment type.static intMouseWheelEvent. WHEEL_BLOCK_SCROLLConstant representing scrolling by a "block" (like scrolling with page-up, page-down keys)static intMouseWheelEvent. WHEEL_UNIT_SCROLLConstant representing scrolling by "units" (like scrolling with the arrow keys)static intWindowEvent. WINDOW_ACTIVATEDThe window-activated event type.static intWindowEvent. WINDOW_CLOSEDThe window closed event.static intWindowEvent. WINDOW_CLOSINGThe "window is closing" event.static intWindowEvent. WINDOW_DEACTIVATEDThe window-deactivated event type.static intWindowEvent. WINDOW_DEICONIFIEDThe window deiconified event type.static intWindowEvent. WINDOW_GAINED_FOCUSThe window-gained-focus event type.static intWindowEvent. WINDOW_ICONIFIEDThe window iconified event.static intWindowEvent. WINDOW_LOST_FOCUSThe window-lost-focus event type.static intWindowEvent. WINDOW_OPENEDThe window opened event.static intWindowEvent. WINDOW_STATE_CHANGEDThe window-state-changed event type. -
Uses of Native in java.awt.geom
Fields in java.awt.geom with annotations of type Native Modifier and Type Field Description static intPathIterator. SEG_CLOSEThe 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 intPathIterator. SEG_CUBICTOThe 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 intPathIterator. SEG_LINETOThe segment type constant for a point that specifies the end point of a line to be drawn from the most recently specified point.static intPathIterator. SEG_MOVETOThe segment type constant for a point that specifies the starting location for a new subpath.static intPathIterator. SEG_QUADTOThe segment type constant for the pair of points that specify a quadratic parametric curve to be drawn from the most recently specified point.static intPathIterator. WIND_EVEN_ODDThe winding rule constant for specifying an even-odd rule for determining the interior of a path.static intPathIterator. WIND_NON_ZEROThe 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 Modifier and Type Field Description static intConvolveOp. EDGE_NO_OPPixels at the edge of the source image are copied to the corresponding pixels in the destination without modification.static intConvolveOp. EDGE_ZERO_FILLPixels at the edge of the destination image are set to zero.static intAffineTransformOp. TYPE_BICUBICBicubic interpolation type.static intAffineTransformOp. TYPE_BILINEARBilinear interpolation type.static intDataBuffer. TYPE_BYTETag for unsigned byte data.static intDataBuffer. TYPE_DOUBLETag for double data.static intDataBuffer. TYPE_FLOATTag for float data.static intDataBuffer. TYPE_INTTag for int data.static intAffineTransformOp. TYPE_NEAREST_NEIGHBORNearest-neighbor interpolation type.static intDataBuffer. TYPE_SHORTTag for signed short data.static intDataBuffer. TYPE_UNDEFINEDTag for undefined data.static intDataBuffer. TYPE_USHORTTag for unsigned short data. -
Uses of Native in java.awt.print
Fields in java.awt.print with annotations of type Native Modifier and Type Field Description static intPageFormat. LANDSCAPEThe origin is at the bottom left of the paper with x running bottom to top and y running left to right.static intPageFormat. PORTRAITThe origin is at the top left of the paper with x running to the right and y running down the paper.static intPageFormat. REVERSE_LANDSCAPEThe origin is at the top right of the paper with x running top to bottom and y running right to left.static intPageable. UNKNOWN_NUMBER_OF_PAGESThis constant is returned from thegetNumberOfPagesmethod if aPageableimplementation 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 Modifier and Type Field Description static intInteger. MAX_VALUEA constant holding the maximum value anintcan have, 231-1.static longLong. MAX_VALUEA constant holding the maximum value alongcan have, 263-1.static intInteger. MIN_VALUEA constant holding the minimum value anintcan have, -231.static longLong. MIN_VALUEA constant holding the minimum value alongcan have, -263.static intInteger. SIZEThe number of bits used to represent anintvalue in two's complement binary form.static intLong. SIZEThe number of bits used to represent alongvalue in two's complement binary form. -
Uses of Native in java.net
Fields in java.net with annotations of type Native Modifier and Type Field Description static intSocketOptions. IP_MULTICAST_IFSet which outgoing interface on which to send multicast packets.static intSocketOptions. IP_MULTICAST_IF2Same as above.static intSocketOptions. IP_MULTICAST_LOOPThis option enables or disables local loopback of multicast datagrams.static intSocketOptions. IP_TOSThis option sets the type-of-service or traffic class field in the IP header for a TCP or UDP socket.static intSocketOptions. SO_BINDADDRFetch 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 intSocketOptions. SO_BROADCASTSets SO_BROADCAST for a socket.static intSocketOptions. SO_KEEPALIVEWhen 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 intSocketOptions. SO_LINGERSpecify a linger-on-close timeout.static intSocketOptions. SO_OOBINLINEWhen the OOBINLINE option is set, any TCP urgent data received on the socket will be received through the socket input stream.static intSocketOptions. SO_RCVBUFSet a hint the size of the underlying buffers used by the platform for incoming network I/O.static intSocketOptions. SO_REUSEADDRSets SO_REUSEADDR for a socket.static intSocketOptions. SO_REUSEPORTSets SO_REUSEPORT for a socket.static intSocketOptions. SO_SNDBUFSet a hint the size of the underlying buffers used by the platform for outgoing network I/O.static intSocketOptions. SO_TIMEOUTSet a timeout on blocking Socket operations:static intSocketOptions. TCP_NODELAYDisable Nagle's algorithm for this connection. -
Uses of Native in jdk.net
Fields in jdk.net with annotations of type Native Modifier and Type Field Description static intSocketFlow. HIGH_PRIORITYDeprecated, for removal: This API element is subject to removal in a future version.static intSocketFlow. NORMAL_PRIORITYDeprecated, for removal: This API element is subject to removal in a future version.static intSocketFlow. UNSETDeprecated, for removal: This API element is subject to removal in a future version.