Uses of Annotation Interface
java.lang.annotation.Native
Packages that use 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 intSystemColor.ACTIVE_CAPTIONThe array index for theSystemColor.activeCaptionsystem color.static final intSystemColor.ACTIVE_CAPTION_BORDERThe array index for theSystemColor.activeCaptionBordersystem color.static final intSystemColor.ACTIVE_CAPTION_TEXTThe array index for theSystemColor.activeCaptionTextsystem color.static final intDisplayMode.BIT_DEPTH_MULTIValue of the bit depth if multiple bit depths are supported in this display mode.static final 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 final intBasicStroke.CAP_BUTTEnds unclosed subpaths and dash segments with no added decoration.static final 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 final 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 final intAlphaComposite.CLEARBoth the color and the alpha of the destination are cleared (Porter-Duff Clear rule).static final intSystemColor.CONTROLThe array index for theSystemColor.controlsystem color.static final intSystemColor.CONTROL_DK_SHADOWThe array index for theSystemColor.controlDkShadowsystem color.static final intSystemColor.CONTROL_HIGHLIGHTThe array index for theSystemColor.controlHighlightsystem color.static final intSystemColor.CONTROL_LT_HIGHLIGHTThe array index for theSystemColor.controlLtHighlightsystem color.static final intSystemColor.CONTROL_SHADOWThe array index for theSystemColor.controlShadowsystem color.static final intSystemColor.CONTROL_TEXTThe array index for theSystemColor.controlTextsystem color.static final intSystemColor.DESKTOPThe array index for theSystemColor.desktopsystem color.static final intAlphaComposite.DSTThe destination is left untouched (Porter-Duff Destination rule).static final 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 final intAlphaComposite.DST_INThe part of the destination lying inside of the source replaces the destination (Porter-Duff Destination In Source rule).static final intAlphaComposite.DST_OUTThe part of the destination lying outside of the source replaces the destination (Porter-Duff Destination Held Out By Source rule).static final intAlphaComposite.DST_OVERThe destination is composited over the source and the result replaces the destination (Porter-Duff Destination Over Source rule).static final intAdjustable.HORIZONTALIndicates that theAdjustablehas horizontal orientation.static final intSystemColor.INACTIVE_CAPTIONThe array index for theSystemColor.inactiveCaptionsystem color.static final intSystemColor.INACTIVE_CAPTION_BORDERThe array index for theSystemColor.inactiveCaptionBordersystem color.static final intSystemColor.INACTIVE_CAPTION_TEXTThe array index for theSystemColor.inactiveCaptionTextsystem color.static final intSystemColor.INFOThe array index for theSystemColor.infosystem color.static final intSystemColor.INFO_TEXTThe array index for theSystemColor.infoTextsystem color.static final intBasicStroke.JOIN_BEVELJoins path segments by connecting the outer corners of their wide outlines with a straight segment.static final intBasicStroke.JOIN_MITERJoins path segments by extending their outside edges until they meet.static final intBasicStroke.JOIN_ROUNDJoins path segments by rounding off the corner at a radius of half the line width.static final intFileDialog.LOADThis constant value indicates that the purpose of the file dialog window is to locate a file from which to read.static final intSystemColor.MENUThe array index for theSystemColor.menusystem color.static final intSystemColor.MENU_TEXTThe array index for theSystemColor.menuTextsystem color.static final intAdjustable.NO_ORIENTATIONIndicates that theAdjustablehas no orientation.static final intSystemColor.NUM_COLORSThe number of system colors in the array.static final intTransparency.OPAQUERepresents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0.static final intDisplayMode.REFRESH_RATE_UNKNOWNValue of the refresh rate if not known.static final intFileDialog.SAVEThis constant value indicates that the purpose of the file dialog window is to locate a file to which to write.static final intSystemColor.SCROLLBARThe array index for theSystemColor.scrollbarsystem color.static final intAlphaComposite.SRCThe source is copied to the destination (Porter-Duff Source rule).static final intAlphaComposite.SRC_ATOPThe part of the source lying inside of the destination is composited onto the destination (Porter-Duff Source Atop Destination rule).static final intAlphaComposite.SRC_INThe part of the source lying inside of the destination replaces the destination (Porter-Duff Source In Destination rule).static final intAlphaComposite.SRC_OUTThe part of the source lying outside of the destination replaces the destination (Porter-Duff Source Held Out By Destination rule).static final intAlphaComposite.SRC_OVERThe source is composited over the destination (Porter-Duff Source Over Destination rule).static final intSystemColor.TEXTThe array index for theSystemColor.textsystem color.static final intSystemColor.TEXT_HIGHLIGHTThe array index for theSystemColor.textHighlightsystem color.static final intSystemColor.TEXT_HIGHLIGHT_TEXTThe array index for theSystemColor.textHighlightTextsystem color.static final intSystemColor.TEXT_INACTIVE_TEXTThe array index for theSystemColor.textInactiveTextsystem color.static final intSystemColor.TEXT_TEXTThe array index for theSystemColor.textTextsystem color.static final intTransparency.TRANSLUCENTRepresents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0.static final intAdjustable.VERTICALIndicates that theAdjustablehas vertical orientation.static final intSystemColor.WINDOWThe array index for theSystemColor.windowsystem color.static final intSystemColor.WINDOW_BORDERThe array index for theSystemColor.windowBordersystem color.static final intSystemColor.WINDOW_TEXTThe array index for theSystemColor.windowTextsystem color.static final 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 NativeModifier and TypeFieldDescriptionstatic final intColorSpace.CS_CIEXYZThe built-in CIEXYZ conversion color space defined above.static final intColorSpace.CS_GRAYThe built-in linear gray scale color space.static final intColorSpace.CS_LINEAR_RGBThe built-in linear RGB color space.static final intColorSpace.CS_PYCCThe built-in Photo YCC conversion color space.static final intColorSpace.CS_sRGBThe built-in sRGB color space defined at http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html.static final intColorSpace.TYPE_2CLRGeneric 2 component color spaces.static final intColorSpace.TYPE_3CLRGeneric 3 component color spaces.static final intColorSpace.TYPE_4CLRGeneric 4 component color spaces.static final intColorSpace.TYPE_5CLRGeneric 5 component color spaces.static final intColorSpace.TYPE_6CLRGeneric 6 component color spaces.static final intColorSpace.TYPE_7CLRGeneric 7 component color spaces.static final intColorSpace.TYPE_8CLRGeneric 8 component color spaces.static final intColorSpace.TYPE_9CLRGeneric 9 component color spaces.static final intColorSpace.TYPE_ACLRGeneric 10 component color spaces.static final intColorSpace.TYPE_BCLRGeneric 11 component color spaces.static final intColorSpace.TYPE_CCLRGeneric 12 component color spaces.static final intColorSpace.TYPE_CMYAny of the family of CMY color spaces.static final intColorSpace.TYPE_CMYKAny of the family of CMYK color spaces.static final intColorSpace.TYPE_DCLRGeneric 13 component color spaces.static final intColorSpace.TYPE_ECLRGeneric 14 component color spaces.static final intColorSpace.TYPE_FCLRGeneric 15 component color spaces.static final intColorSpace.TYPE_GRAYAny of the family of GRAY color spaces.static final intColorSpace.TYPE_HLSAny of the family of HLS color spaces.static final intColorSpace.TYPE_HSVAny of the family of HSV color spaces.static final intColorSpace.TYPE_LabAny of the family of Lab color spaces.static final intColorSpace.TYPE_LuvAny of the family of Luv color spaces.static final intColorSpace.TYPE_RGBAny of the family of RGB color spaces.static final intColorSpace.TYPE_XYZAny of the family of XYZ color spaces.static final intColorSpace.TYPE_YCbCrAny of the family of YCbCr color spaces.static final 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 NativeModifier and TypeFieldDescriptionstatic final intDnDConstants.ACTION_COPYAnintrepresenting a "copy" action.static final intDnDConstants.ACTION_COPY_OR_MOVEAnintrepresenting a "copy" or "move" action.static final intDnDConstants.ACTION_LINKAnintrepresenting a "link" action.static final intDnDConstants.ACTION_MOVEAnintrepresenting a "move" action.static final intDnDConstants.ACTION_NONEAnintrepresenting no action.static final 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 NativeModifier and TypeFieldDescriptionstatic final intActionEvent.ACTION_PERFORMEDThis event id indicates that a meaningful action occurred.static final intAdjustmentEvent.BLOCK_DECREMENTThe block decrement adjustment type.static final intAdjustmentEvent.BLOCK_INCREMENTThe block increment adjustment type.static final intInputMethodEvent.CARET_POSITION_CHANGEDThe event type indicating a changed insertion point in input method text.static final intComponentEvent.COMPONENT_HIDDENThis event indicates that the component was rendered invisible.static final intComponentEvent.COMPONENT_MOVEDThis event indicates that the component's position changed.static final intComponentEvent.COMPONENT_RESIZEDThis event indicates that the component's size changed.static final intComponentEvent.COMPONENT_SHOWNThis event indicates that the component was made visible.static final intInputMethodEvent.INPUT_METHOD_FIRSTMarks the first integer id for the range of input method event ids.static final intInputMethodEvent.INPUT_METHOD_LASTMarks the last integer id for the range of input method event ids.static final intInputMethodEvent.INPUT_METHOD_TEXT_CHANGEDThe event type indicating changed input method text.static final intAdjustmentEvent.TRACKThe absolute tracking adjustment type.static final intAdjustmentEvent.UNIT_DECREMENTThe unit decrement adjustment type.static final intAdjustmentEvent.UNIT_INCREMENTThe unit increment adjustment type.static final intMouseWheelEvent.WHEEL_BLOCK_SCROLLConstant representing scrolling by a "block" (like scrolling with page-up, page-down keys)static final intMouseWheelEvent.WHEEL_UNIT_SCROLLConstant representing scrolling by "units" (like scrolling with the arrow keys)static final intWindowEvent.WINDOW_ACTIVATEDThe window-activated event type.static final intWindowEvent.WINDOW_CLOSEDThe window closed event.static final intWindowEvent.WINDOW_CLOSINGThe "window is closing" event.static final intWindowEvent.WINDOW_DEACTIVATEDThe window-deactivated event type.static final intWindowEvent.WINDOW_DEICONIFIEDThe window deiconified event type.static final intWindowEvent.WINDOW_GAINED_FOCUSThe window-gained-focus event type.static final intWindowEvent.WINDOW_ICONIFIEDThe window iconified event.static final intWindowEvent.WINDOW_LOST_FOCUSThe window-lost-focus event type.static final intWindowEvent.WINDOW_OPENEDThe window opened event.static final 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 NativeModifier and TypeFieldDescriptionstatic final 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 final 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 final 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 final intPathIterator.SEG_MOVETOThe segment type constant for a point that specifies the starting location for a new subpath.static final 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 final intPathIterator.WIND_EVEN_ODDThe winding rule constant for specifying an even-odd rule for determining the interior of a path.static final 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 NativeModifier and TypeFieldDescriptionstatic final intConvolveOp.EDGE_NO_OPPixels at the edge of the source image are copied to the corresponding pixels in the destination without modification.static final intConvolveOp.EDGE_ZERO_FILLPixels at the edge of the destination image are set to zero.static final intAffineTransformOp.TYPE_BICUBICBicubic interpolation type.static final intAffineTransformOp.TYPE_BILINEARBilinear interpolation type.static final intDataBuffer.TYPE_BYTETag for unsigned byte data.static final intDataBuffer.TYPE_DOUBLETag for double data.static final intDataBuffer.TYPE_FLOATTag for float data.static final intDataBuffer.TYPE_INTTag for int data.static final intAffineTransformOp.TYPE_NEAREST_NEIGHBORNearest-neighbor interpolation type.static final intDataBuffer.TYPE_SHORTTag for signed short data.static final intDataBuffer.TYPE_UNDEFINEDTag for undefined data.static final intDataBuffer.TYPE_USHORTTag for unsigned short data. -
Uses of Native in java.awt.print
Fields in java.awt.print with annotations of type NativeModifier and TypeFieldDescriptionstatic final intPageFormat.LANDSCAPEThe origin is at the bottom left of the paper with x running bottom to top and y running left to right.static final intPageFormat.PORTRAITThe origin is at the top left of the paper with x running to the right and y running down the paper.static final 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 final 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
Modifier and TypeFieldDescriptionstatic final intInteger.MAX_VALUEA constant holding the maximum value anintcan have, 231-1.static final longLong.MAX_VALUEA constant holding the maximum value alongcan have, 263-1.static final intInteger.MIN_VALUEA constant holding the minimum value anintcan have, -231.static final longLong.MIN_VALUEA constant holding the minimum value alongcan have, -263.static final intInteger.SIZEThe number of bits used to represent anintvalue in two's complement binary form.static final intLong.SIZEThe number of bits used to represent alongvalue in two's complement binary form. -
Uses of Native in java.net
Modifier and TypeFieldDescriptionstatic final intSocketOptions.IP_MULTICAST_IFSeeStandardSocketOptions.IP_MULTICAST_IFfor description of this socket option.static final intSocketOptions.IP_MULTICAST_IF2This option is used to both set and fetch the outgoing interface on which the multicast packets are sent.static final intSocketOptions.IP_MULTICAST_LOOPSeeStandardSocketOptions.IP_MULTICAST_LOOPfor description of this socket option.static final intSocketOptions.IP_TOSSeeStandardSocketOptions.IP_TOSfor description of this socket option.static final intSocketOptions.SO_BINDADDRFetch the local address binding of a socket.static final intSocketOptions.SO_BROADCASTSeeStandardSocketOptions.SO_BROADCASTfor description of this socket option.static final intSocketOptions.SO_KEEPALIVESeeStandardSocketOptions.SO_KEEPALIVEfor description of this socket option.static final intSocketOptions.SO_LINGERSeeStandardSocketOptions.SO_LINGERfor description of this socket option.static final intSocketOptions.SO_OOBINLINEWhen this option is set, any TCP urgent data received on the socket will be received through the socket input stream.static final intSocketOptions.SO_RCVBUFSeeStandardSocketOptions.SO_RCVBUFfor description of this socket option.static final intSocketOptions.SO_REUSEADDRSeeStandardSocketOptions.SO_REUSEADDRfor description of this socket option.static final intSocketOptions.SO_REUSEPORTSeeStandardSocketOptions.SO_REUSEPORTfor description of this socket option.static final intSocketOptions.SO_SNDBUFSeeStandardSocketOptions.SO_SNDBUFfor description of this socket option.static final intSocketOptions.SO_TIMEOUTThis option is used to both set and fetch a timeout value on blockingSocketoperations: ServerSocket.accept() Socket InputStream.read() DatagramSocket.receive()static final intSocketOptions.TCP_NODELAYSeeStandardSocketOptions.TCP_NODELAYfor description of this socket option. -
Uses of Native in java.net.spi
Fields in java.net.spi with annotations of type NativeModifier and TypeFieldDescriptionstatic final intInetAddressResolver.LookupPolicy.IPV4Characteristic value signifying if IPv4 addresses need to be queried during lookup.static final intInetAddressResolver.LookupPolicy.IPV4_FIRSTCharacteristic value signifying if IPv4 addresses should be returned first byInetAddressResolver.static final intInetAddressResolver.LookupPolicy.IPV6Characteristic value signifying if IPv6 addresses need to be queried during lookup.static final intInetAddressResolver.LookupPolicy.IPV6_FIRSTCharacteristic value signifying if IPv6 addresses should be returned first byInetAddressResolver.