Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.
Toolkit.createImage(byte[] imagedata,
int imageoffset,
int imagelength)
Creates an image which decodes the image stored in the specified
byte array, and at the specified offset and length.
MediaTracker.addImage(Image image,
int id)
Adds an image to the list of images being tracked by this media
tracker.
void
MediaTracker.addImage(Image image,
int id,
int w,
int h)
Adds a scaled image to the list of images being tracked
by this media tracker.
int
Component.checkImage(Image image,
ImageObserver observer)
Returns the status of the construction of a screen representation
of the specified image.
int
Component.checkImage(Image image,
int width,
int height,
ImageObserver observer)
Returns the status of the construction of a screen representation
of the specified image.
abstract int
Toolkit.checkImage(Image image,
int width,
int height,
ImageObserver observer)
Indicates the construction status of a specified image that is
being prepared for display.
Graphics.drawImage(Image img,
int x,
int y,
Color bgcolor,
ImageObserver observer)
Draws as much of the specified image as is currently available.
abstract boolean
Graphics.drawImage(Image img,
int x,
int y,
ImageObserver observer)
Draws as much of the specified image as is currently available.
abstract boolean
Graphics.drawImage(Image img,
int x,
int y,
int width,
int height,
Color bgcolor,
ImageObserver observer)
Draws as much of the specified image as has already been scaled
to fit inside the specified rectangle.
abstract boolean
Graphics.drawImage(Image img,
int x,
int y,
int width,
int height,
ImageObserver observer)
Draws as much of the specified image as has already been scaled
to fit inside the specified rectangle.
abstract boolean
Graphics.drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
Color bgcolor,
ImageObserver observer)
Draws as much of the specified area of the specified image as is
currently available, scaling it on the fly to fit inside the
specified area of the destination drawable surface.
abstract boolean
Graphics.drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
ImageObserver observer)
Draws as much of the specified area of the specified image as is
currently available, scaling it on the fly to fit inside the
specified area of the destination drawable surface.
boolean
Component.imageUpdate(Image img,
int infoflags,
int x,
int y,
int w,
int h)
Repaints the component when the image has changed.
Component.prepareImage(Image image,
int width,
int height,
ImageObserver observer)
Prepares an image for rendering on this component at the
specified width and height.
MediaTracker.removeImage(Image image)
Removes the specified image from this media tracker.
void
MediaTracker.removeImage(Image image,
int id)
Removes the specified image from the specified tracking
ID of this media tracker.
void
MediaTracker.removeImage(Image image,
int id,
int width,
int height)
Removes the specified image with the specified
width, height, and ID from this media tracker.
void
Window.setIconImage(Image image)
Sets the image to be displayed as the icon for this window.
void
Frame.setIconImage(Image image)
Sets the image to be displayed as the icon for this window.
void
TrayIcon.setImage(Image image)
Sets the image for this TrayIcon.
Method parameters in java.awt with type arguments of type Image
void
Window.setIconImages(List<? extends Image> icons)
Sets the sequence of images to be displayed as the icon
for this window.
Constructors in java.awt with parameters of type Image
TrayIcon(Image image)
Creates a TrayIcon with the specified image.
TrayIcon(Image image,
String tooltip)
Creates a TrayIcon with the specified image and
tooltip text.
TrayIcon(Image image,
String tooltip,
PopupMenu popup)
Creates a TrayIcon with the specified image,
tooltip and popup menu.
DragGestureEvent.startDrag(Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable transferable,
DragSourceListener dsl)
Start the drag given the initial Cursor to display,
a drag Image, the offset of
the Image,
the Transferable object, and
the DragSourceListener to use.
void
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point dragOffset,
Transferable transferable,
DragSourceListener dsl)
Start a drag, given the DragGestureEvent
that initiated the drag, the initial Cursor
to use,
the Image to drag,
the offset of the Image origin
from the hotspot of the Cursor
at the instant of the trigger,
the subject data of the drag, and
the DragSourceListener.
void
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable transferable,
DragSourceListener dsl,
FlavorMap flavorMap)
Start a drag, given the DragGestureEvent
that initiated the drag, the initial
Cursor to use,
the Image to drag,
the offset of the Image origin
from the hotspot of the Cursor at
the instant of the trigger,
the Transferable subject data
of the drag, the DragSourceListener,
and the FlavorMap.
DragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp,
DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point offset,
Transferable t,
DragSourceListener dsl)
Called from DragSource, this constructor creates a new
DragSourceContext given the
DragSourceContextPeer for this Drag, the
DragGestureEvent that triggered the Drag, the initial
Cursor to use for the Drag, an (optional)
Image to display while the Drag is taking place, the offset
of the Image origin from the hotspot at the instant of the
triggering event, the Transferable subject data, and the
DragSourceListener to use during the Drag and Drop
operation.
BufferedImage
The BufferedImage subclass describes an Image with an accessible buffer of image data.
class
VolatileImage
VolatileImage is an image which can lose its
contents at any time due to circumstances beyond the control of the
application (e.g., situations caused by the operating system or by
other applications).
ImageObserver.imageUpdate(Image img,
int infoflags,
int x,
int y,
int width,
int height)
This method is called when information about an image which was
previously requested using an asynchronous interface becomes
available.
PixelGrabber(Image img,
int x,
int y,
int w,
int h,
boolean forceRGB)
Create a PixelGrabber object to grab the (x, y, w, h) rectangular
section of pixels from the specified image.
PixelGrabber(Image img,
int x,
int y,
int w,
int h,
int[] pix,
int off,
int scansize)
Create a PixelGrabber object to grab the (x, y, w, h) rectangular
section of pixels from the specified image into the given array.
RepaintManager.getOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight)
Return the offscreen buffer that should be used as a double buffer with
the component c.
RepaintManager.getVolatileOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight)
Return a volatile offscreen buffer that should be used as a
double buffer with the specified component c.
DebugGraphics.drawImage(Image img,
int x,
int y,
int width,
int height,
Color bgcolor,
ImageObserver observer)
Overrides Graphics.drawImage.
boolean
DebugGraphics.drawImage(Image img,
int x,
int y,
int width,
int height,
ImageObserver observer)
Overrides Graphics.drawImage.
boolean
DebugGraphics.drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
Color bgcolor,
ImageObserver observer)
Overrides Graphics.drawImage.
boolean
DebugGraphics.drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
ImageObserver observer)
Overrides Graphics.drawImage.
boolean
JLabel.imageUpdate(Image img,
int infoflags,
int x,
int y,
int w,
int h)
This is overridden to return false if the current Icon's Image is
not equal to the passed in Image img.
boolean
AbstractButton.imageUpdate(Image img,
int infoflags,
int x,
int y,
int w,
int h)
This is overridden to return false if the current Icon's
Image is not equal to the
passed in Imageimg.
protected void
ImageIcon.loadImage(Image image)
Loads the image, returning only when the image is loaded.
void
JFrame.setIconImage(Image image)
Sets the image to be displayed as the icon for this window.
void
ImageIcon.setImage(Image image)
Sets the image displayed by this icon.
Submit a bug or feature For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.