Imported GNU Classpath 0.90
Imported GNU Classpath 0.90
* scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
* gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
* java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
* java/lang/Math.java: New override file.
* java/lang/Character.java: Merged from Classpath.
(start, end): Now 'int's.
(canonicalName): New field.
(CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
(UnicodeBlock): Added argument.
(of): New overload.
(forName): New method.
Updated unicode blocks.
(sets): Updated.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r111942
This commit is contained in:
@@ -46,27 +46,121 @@ import java.util.Locale;
|
||||
*/
|
||||
public class ImageWriteParam extends IIOParam
|
||||
{
|
||||
|
||||
/**
|
||||
* Can be passed to setTilingMode, setProgressiveMode and
|
||||
* setCompressionMode to disable feature.
|
||||
*/
|
||||
public static final int MODE_DISABLED = 0;
|
||||
|
||||
/**
|
||||
* Can be passed to setTilingMode, setProgressiveMode and
|
||||
* setCompressionMode to enable feature.
|
||||
*/
|
||||
public static final int MODE_DEFAULT = 1;
|
||||
|
||||
/**
|
||||
* Can be passed to setTilingMode, setCompressionMode to disable feature.
|
||||
*/
|
||||
public static final int MODE_EXPLICIT = 2;
|
||||
|
||||
/**
|
||||
* Can be passed to setTilingMode, setProgressiveMode and
|
||||
* setCompressionMode to enable feature.
|
||||
*/
|
||||
public static final int MODE_COPY_FROM_METADATA = 3;
|
||||
|
||||
/**
|
||||
* True if tiling grid offset parameters can be set.
|
||||
*/
|
||||
protected boolean canOffsetTiles;
|
||||
|
||||
/**
|
||||
* True if this writer can write images using compression.
|
||||
*/
|
||||
protected boolean canWriteCompressed;
|
||||
|
||||
/**
|
||||
* True if images can be written as a progressive sequence
|
||||
* of increasing quality.
|
||||
*/
|
||||
protected boolean canWriteProgressive;
|
||||
|
||||
/**
|
||||
* True if tile width and height parameters can be set.
|
||||
*/
|
||||
protected boolean canWriteTiles;
|
||||
|
||||
/**
|
||||
* Controls compression settings, which must be set to one of the four
|
||||
* MODE_* values.
|
||||
*/
|
||||
protected int compressionMode = MODE_COPY_FROM_METADATA;
|
||||
|
||||
/**
|
||||
* Contains the current compression quality setting.
|
||||
*/
|
||||
protected float compressionQuality;
|
||||
|
||||
/**
|
||||
* Contains the name of the available compression types.
|
||||
*/
|
||||
protected String compressionType;
|
||||
|
||||
/**
|
||||
* Array of the names of the available compression types.
|
||||
*/
|
||||
protected String[] compressionTypes;
|
||||
|
||||
/**
|
||||
* Localizes compression type names and quality descriptions,
|
||||
* or null to use default Locale.
|
||||
*/
|
||||
protected Locale locale;
|
||||
|
||||
/**
|
||||
* Preferred tile size range pairs.
|
||||
*/
|
||||
protected Dimension[] preferredTileSizes;
|
||||
|
||||
/**
|
||||
* The mode controlling progressive encoding, which must
|
||||
* be set to one of the four MODE_* values, except
|
||||
* MODE_EXPLICIT.
|
||||
*/
|
||||
protected int progressiveMode = MODE_COPY_FROM_METADATA;
|
||||
|
||||
/**
|
||||
* The amount by which the tile grid origin should be offset
|
||||
* horizontally from the image origin if tiling has been set.
|
||||
*/
|
||||
protected int tileGridXOffset;
|
||||
|
||||
/**
|
||||
* The amount by which the tile grid origin should be offset
|
||||
* vertically from the image origin if tiling has been set.
|
||||
*/
|
||||
protected int tileGridYOffset;
|
||||
|
||||
/**
|
||||
* The height of each tile if tiling has been set.
|
||||
*/
|
||||
protected int tileHeight;
|
||||
|
||||
/**
|
||||
* The width of each tile if tiling has been set.
|
||||
*/
|
||||
protected int tileWidth;
|
||||
|
||||
/**
|
||||
* The mode controlling tiling settings, which must be
|
||||
* set to one of the four MODE_* values.
|
||||
*/
|
||||
protected int tilingMode;
|
||||
|
||||
/**
|
||||
* True if the tiling parameters have been specified.
|
||||
*/
|
||||
protected boolean tilingSet;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user