Lines Matching refs:mode

92      * future writes.  That is, when this mode is set the stream will
114 * future writes. That is, when this mode is enabled the stream
135 * to enable a feature for future writes. That is, when this mode
139 * corresponding <code>get</code> methods. Note that this mode is
158 * future writes. That is, when this mode is enabled the stream
164 * <p> This is the default mode for all features, so that a read
195 * The mode controlling tiling settings, which Must be
294 * The mode controlling progressive encoding, which must be set to
322 * The mode controlling compression settings, which must be set to
476 * @param mode The mode to use for tiling.
480 * @exception IllegalArgumentException if <code>mode</code> is not
486 public void setTilingMode(int mode) {
490 if (mode < MODE_DISABLED || mode > MAX_MODE) {
491 throw new IllegalArgumentException("Illegal value for mode!");
493 this.tilingMode = mode;
494 if (mode == MODE_EXPLICIT) {
500 * Returns the current tiling mode, if tiling is supported.
503 * @return the current tiling mode.
565 * @exception IllegalStateException if the tiling mode is not
590 throw new IllegalStateException("Tiling mode not MODE_EXPLICIT!");
636 * @exception IllegalStateException if the tiling mode is not
646 throw new IllegalStateException("Tiling mode not MODE_EXPLICIT!");
664 * @exception IllegalStateException if the tiling mode is not
677 throw new IllegalStateException("Tiling mode not MODE_EXPLICIT!");
694 * @exception IllegalStateException if the tiling mode is not
707 throw new IllegalStateException("Tiling mode not MODE_EXPLICIT!");
724 * @exception IllegalStateException if the tiling mode is not
737 throw new IllegalStateException("Tiling mode not MODE_EXPLICIT!");
754 * @exception IllegalStateException if the tiling mode is not
767 throw new IllegalStateException("Tiling mode not MODE_EXPLICIT!");
791 * progressive mode such that the stream will contain a series of
796 * <p> The mode argument determines how
819 * @param mode The mode for setting progression in the output
824 * @exception IllegalArgumentException if <code>mode</code> is not
829 public void setProgressiveMode(int mode) {
834 if (mode < MODE_DISABLED || mode > MAX_MODE) {
835 throw new IllegalArgumentException("Illegal value for mode!");
837 if (mode == MODE_EXPLICIT) {
841 this.progressiveMode = mode;
845 * Returns the current mode for writing the stream in a
848 * @return the current mode for progressive encoding.
874 * compression parameters are to be determined. The <code>mode</code>
878 * <li><code>MODE_DISABLED</code> - If the mode is set to
884 * to set the mode to <code>MODE_DISABLED</code> will throw an
885 * <code>UnsupportedOperationException</code> and the mode will not be
903 * @param mode The mode for setting compression in the output
907 * support compression, or does not support the requested mode.
908 * @exception IllegalArgumentException if <code>mode</code> is not
913 public void setCompressionMode(int mode) {
918 if (mode < MODE_DISABLED || mode > MAX_MODE) {
919 throw new IllegalArgumentException("Illegal value for mode!");
921 this.compressionMode = mode;
922 if (mode == MODE_EXPLICIT) {
928 * Returns the current compression mode, if compression is
931 * @return the current compression mode.
990 * supported and the compression mode is
1004 * @exception IllegalStateException if the compression mode is not
1023 ("Compression mode not MODE_EXPLICIT!");
1056 * supported and the compression mode is
1065 * @exception IllegalStateException if the compression mode is not
1077 ("Compression mode not MODE_EXPLICIT!");
1092 * @exception IllegalStateException if the compression mode is not
1105 ("Compression mode not MODE_EXPLICIT!");
1117 * supported and the compression mode is
1128 * @exception IllegalStateException if the compression mode is not
1139 ("Compression mode not MODE_EXPLICIT!");
1157 * supported and the compression mode is
1168 * @exception IllegalStateException if the compression mode is not
1181 ("Compression mode not MODE_EXPLICIT!");
1213 * supported, and that the compression mode is
1224 * @exception IllegalStateException if the compression mode is not
1241 ("Compression mode not MODE_EXPLICIT!");
1259 * supported and that the compression mode is
1270 * @exception IllegalStateException if the compression mode is not
1285 ("Compression mode not MODE_EXPLICIT!");
1308 * supported and the compression mode is
1323 * @exception IllegalStateException if the compression mode is not
1338 ("Compression mode not MODE_EXPLICIT!");
1384 * supported and that the compression mode is
1395 * @exception IllegalStateException if the compression mode is not
1410 ("Compression mode not MODE_EXPLICIT!");
1435 * supported and that the compression mode is
1448 * @exception IllegalStateException if the compression mode is not
1463 ("Compression mode not MODE_EXPLICIT!");