Class CURImageReader
- java.lang.Object
-
- javax.imageio.ImageReader
-
- com.twelvemonkeys.imageio.ImageReaderBase
-
- com.twelvemonkeys.imageio.plugins.bmp.DIBImageReader
-
- com.twelvemonkeys.imageio.plugins.bmp.CURImageReader
-
public final class CURImageReader extends DIBImageReader
ImageReader for Microsoft Windows CUR (cursor) format.- Version:
- $Id: CURImageReader.java,v 1.0 Apr 20, 2009 11:54:28 AM haraldk Exp$
- See Also:
ICOImageReader
-
-
Field Summary
-
Fields inherited from class com.twelvemonkeys.imageio.ImageReaderBase
imageInput
-
-
Constructor Summary
Constructors Constructor Description CURImageReader()CURImageReader(javax.imageio.spi.ImageReaderSpi provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.PointgetHotSpot(int imageIndex)Returns the hot spot location for the cursor.-
Methods inherited from class com.twelvemonkeys.imageio.plugins.bmp.DIBImageReader
getEntry, getHeight, getImageTypes, getNumImages, getWidth, main, read, resetMembers
-
Methods inherited from class com.twelvemonkeys.imageio.ImageReaderBase
assertInput, checkBounds, dispose, fakeAOI, fakeSubsampling, getDestination, getImageMetadata, getStreamMetadata, hasExplicitDestination, reset, setInput, showIt
-
Methods inherited from class javax.imageio.ImageReader
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, getAspectRatio, getAvailableLocales, getDefaultReadParam, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, setInput, setInput, setLocale
-
-
-
-
Method Detail
-
getHotSpot
public java.awt.Point getHotSpot(int imageIndex) throws java.io.IOExceptionReturns the hot spot location for the cursor.- Parameters:
imageIndex- the index of the cursor in the current input.- Returns:
- the hot spot location for the cursor
- Throws:
java.io.IOException- if an I/O exception occurs during reading of image meta datajava.lang.IndexOutOfBoundsException- ifpImageIndexis less than0or greater than/equal to the number of cursors in the file
-
-