Java™ Platform
Standard Ed. 8

Package javax.imageio.event

A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images.

See: Description

  • Interface Summary 
    Interface Description
    IIOReadProgressListener
    An interface used by ImageReader implementations to notify callers of their image and thumbnail reading methods of progress.
    IIOReadUpdateListener
    An interface used by ImageReader implementations to notify callers of their image and thumbnail reading methods of pixel updates.
    IIOReadWarningListener
    An interface used by ImageReader implementations to notify callers of their image and thumbnail reading methods of warnings (non-fatal errors).
    IIOWriteProgressListener
    An interface used by ImageWriter implementations to notify callers of their image writing methods of progress.
    IIOWriteWarningListener
    An interface used by ImageWriter implementations to notify callers of their image and thumbnail reading methods of warnings (non-fatal errors).

Package javax.imageio.event Description

A package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images.

The IIOReadProgressListener interface allows for notification of the percentage of an image that has been read successfully.

The IIOReadUpdateListener interface allows for notification of the portions of an image that have been read. This is useful, for example, for implementing dynamic display of an image as it is loaded.

The IIOReadWarningListener interface allows for notification of non-fatal errors during reading.

The IIOWriteWarningListener and IIOWriteProgressListener interfaces perform analogous functions for writers.

Since:
1.4
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部