亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pageranges.java

?? JAVA的一些源碼 JAVA2 STANDARD EDITION DEVELOPMENT KIT 5.0
?? JAVA
字號:
/* * @(#)PageRanges.java	1.10 04/05/05 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package javax.print.attribute.standard;import javax.print.attribute.Attribute;import javax.print.attribute.SetOfIntegerSyntax;import javax.print.attribute.DocAttribute;import javax.print.attribute.PrintRequestAttribute;import javax.print.attribute.PrintJobAttribute;/** * Class PageRanges is a printing attribute class, a set of integers, that  * identifies the range(s) of print-stream pages that the Printer object uses  * for each copy of each document which are to be printed. Nothing is printed  * for any pages identified that do not exist in the document(s). The attribute  * is associated with <I>print-stream</I> pages, not application-numbered pages  * (for example, the page numbers found in the headers and or footers for  * certain word processing applications).  * <P> * In most cases, the exact pages to be printed will be generated by a device  * driver and this attribute would not be required. However, when printing an  * archived document which has already been formatted, the end user may elect to  * print just a subset of the pages contained in the document. In this case, if  * a page range of <CODE>"<I>n</I>-<I>m</I>"</CODE> is specified, the first page  * to be printed will be page <I>n.</I> All subsequent pages of the document  * will be printed through and including page <I>m.</I>  * <P> * If a PageRanges attribute is not specified for a print job, all pages of  * the document will be printed. In other words, the default value for the  * PageRanges attribute is always <CODE>{{1, Integer.MAX_VALUE}}</CODE>.  * <P> * The effect of a PageRanges attribute on a multidoc print job (a job with  * multiple documents) depends on whether all the docs have the same page ranges  * specified or whether different docs have different page ranges specified, and  * on the (perhaps defaulted) value of the {@link MultipleDocumentHandling  * MultipleDocumentHandling} attribute.  * <UL> * <LI> * If all the docs have the same page ranges specified, then any value of {@link  * MultipleDocumentHandling MultipleDocumentHandling} makes sense, and the  * printer's processing depends on the {@link MultipleDocumentHandling  * MultipleDocumentHandling} value:  * <UL> * <LI> * SINGLE_DOCUMENT -- All the input docs will be combined together into one  * output document. The specified page ranges of that output document will be * printed.  * <P> * <LI> * SINGLE_DOCUMENT_NEW_SHEET -- All the input docs will be combined together  * into one output document, and the first impression of each input doc will  * always start on a new media sheet. The specified page ranges of that output  * document will be printed.  * <P> * <LI> * SEPARATE_DOCUMENTS_UNCOLLATED_COPIES -- For each separate input doc, the  * specified page ranges will be printed.  * <P> * <LI> * SEPARATE_DOCUMENTS_COLLATED_COPIES -- For each separate input doc, the  * specified page ranges will be printed.  * </UL>  * <UL> * <LI> * SEPARATE_DOCUMENTS_UNCOLLATED_COPIES -- For each separate input doc, its own * specified page ranges will be printed..  * <P> * <LI> * SEPARATE_DOCUMENTS_COLLATED_COPIES -- For each separate input doc, its own * specified page ranges will be printed..  * </UL> * </UL> * <P> * <B>IPP Compatibility:</B> The PageRanges attribute's canonical array form  * gives the lower and upper bound for each range of pages to be included in  * and IPP "page-ranges" attribute. See class {@link  * javax.print.attribute.SetOfIntegerSyntax SetOfIntegerSyntax} for an  * explanation of canonical array form. The category name returned by  * <CODE>getName()</CODE> gives the IPP attribute name.  * <P> * * @author  David Mendenhall * @author  Alan Kaminsky */public final class PageRanges	extends SetOfIntegerSyntax	implements DocAttribute, PrintRequestAttribute, PrintJobAttribute {    private static final long serialVersionUID = 8639895197656148392L;        /**     * Construct a new page ranges attribute with the given members. The      * members are specified in "array form;" see class {@link      * javax.print.attribute.SetOfIntegerSyntax SetOfIntegerSyntax} for an      * explanation of array form.      *     * @param  members  Set members in array form.     *     * @exception  NullPointerException     *     (unchecked exception) Thrown if <CODE>members</CODE> is null or      *     any element of <CODE>members</CODE> is null.      * @exception  IllegalArgumentException     *     (unchecked exception) Thrown if any element of      *   <CODE>members</CODE> is not a length-one or length-two array. Also      *     thrown if <CODE>members</CODE> is a zero-length array or if any      *     member of the set is less than 1.      */    public PageRanges(int[][] members) {	super (members);	if (members == null) {	    throw new NullPointerException("members is null");	}	myPageRanges();    }    /**     * Construct a new  page ranges attribute with the given members in     * string form.     * See class {@link javax.print.attribute.SetOfIntegerSyntax      * SetOfIntegerSyntax}      * for explanation of the syntax.     *     * @param  members  Set members in string form.     *     * @exception  NullPointerException     *     (unchecked exception) Thrown if <CODE>members</CODE> is null or      *     any element of <CODE>members</CODE> is null.      * @exception  IllegalArgumentException     *     (Unchecked exception) Thrown if <CODE>members</CODE> does not      *    obey  the proper syntax.  Also      *     thrown if the constructed set-of-integer is a      *     zero-length array or if any      *     member of the set is less than 1.      */    public PageRanges(String members) {	super(members);	if (members == null) {	    throw new NullPointerException("members is null");	}	myPageRanges();    }    private void myPageRanges() {	int[][] myMembers = getMembers();	int n = myMembers.length;	if (n == 0) {	    throw new IllegalArgumentException("members is zero-length");	}	int i;	for (i = 0; i < n; ++ i) {	  if (myMembers[i][0] < 1) {	    throw new IllegalArgumentException("Page value < 1 specified");	  }	}    }    /**     * Construct a new page ranges attribute containing a single integer. That      * is, only the one page is to be printed.      *     * @param  member  Set member.     *     * @exception  IllegalArgumentException     *     (Unchecked exception) Thrown if <CODE>member</CODE> is less than      *     1.      */    public PageRanges(int member) {	super (member);	if (member < 1) {	    throw new IllegalArgumentException("Page value < 1 specified");	}    }    /**     * Construct a new page ranges attribute containing a single range of      * integers. That is, only those pages in the one range are to be printed.      *     * @param  lowerBound  Lower bound of the range.     * @param  upperBound  Upper bound of the range.     *     * @exception  IllegalArgumentException     *     (Unchecked exception) Thrown if a null range is specified or if a      *     non-null range is specified with <CODE>lowerBound</CODE> less than      *     1.      */    public PageRanges(int lowerBound, int upperBound) {	super (lowerBound, upperBound);	if (lowerBound > upperBound) {	    throw new IllegalArgumentException("Null range specified");	} else if (lowerBound < 1) {	    throw new IllegalArgumentException("Page value < 1 specified");	}    }    /**     * Returns whether this page ranges attribute is equivalent to the passed     * in object. To be equivalent, all of the following conditions must be     * true:      * <OL TYPE=1>     * <LI>     * <CODE>object</CODE> is not null.     * <LI>     * <CODE>object</CODE> is an instance of class PageRanges.     * <LI>     * This page ranges attribute's members and <CODE>object</CODE>'s members      * are the same.      * </OL>     *     * @param  object  Object to compare to.     *     * @return  True if <CODE>object</CODE> is equivalent to this page ranges     *          attribute, false otherwise.      */    public boolean equals(Object object) {	return (super.equals(object) && object instanceof PageRanges);    }    /**     * Get the printing attribute class which is to be used as the "category"      * for this printing attribute value.     * <P>     * For class PageRanges, the category is class PageRanges itself.      *     * @return  Printing attribute class (category), an instance of class     *          {@link java.lang.Class java.lang.Class}.     */    public final Class<? extends Attribute> getCategory() {	return PageRanges.class;    }    /**     * Get the name of the category of which this attribute value is an      * instance.      * <P>     * For class PageRanges, the category name is <CODE>"page-ranges"</CODE>.      *     * @return  Attribute category name.     */    public final String getName() {	return "page-ranges";    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产在线观看| 久久久一区二区| 亚洲第一激情av| 在线电影国产精品| 蜜桃av噜噜一区| 日本一区二区三区四区在线视频| 国产成人亚洲精品狼色在线| 国产精品少妇自拍| 欧美色国产精品| 激情文学综合网| 国产精品美女久久久久久久网站| 91丝袜国产在线播放| 日韩高清不卡在线| 久久久久久久久久久久久女国产乱 | 国产精品护士白丝一区av| 99re这里只有精品视频首页| 亚洲一区在线视频| 久久亚洲一级片| 一本大道久久精品懂色aⅴ| 午夜欧美电影在线观看| 久久综合色鬼综合色| 91麻豆精品视频| 琪琪一区二区三区| 国产精品久久久久久久久动漫 | 欧美www视频| 91视频免费播放| 久久99热99| 亚洲理论在线观看| 久久日一线二线三线suv| 91浏览器入口在线观看| 精品一区二区三区香蕉蜜桃| 亚洲一区二区三区影院| 国产欧美va欧美不卡在线| 这里只有精品99re| 色综合久久久久久久久| 精品一区二区三区免费观看| 亚洲综合在线视频| 欧美国产精品劲爆| 精品国产亚洲在线| 欧美日韩一二三| 91视频在线观看| 国产成人免费高清| 久久成人精品无人区| 亚洲一区在线观看视频| 国产精品护士白丝一区av| 精品日韩欧美一区二区| 精品视频一区二区三区免费| 成人av动漫网站| 国产精品一区二区91| 久久精品国产在热久久| 日韩电影免费在线| 亚洲一区在线播放| 亚洲日本va在线观看| 欧美韩国日本综合| 久久女同性恋中文字幕| 日韩女优电影在线观看| 欧美日本免费一区二区三区| 色综合网站在线| www.av精品| av一区二区三区| av不卡在线播放| 成人亚洲一区二区一| 国产一区二区视频在线| 国产最新精品免费| 蜜桃传媒麻豆第一区在线观看| 亚洲va韩国va欧美va精品| 亚洲精品国产一区二区三区四区在线| 国产亲近乱来精品视频 | 91精品国产综合久久精品图片| 在线看日韩精品电影| 成人av电影在线播放| 波多野结衣中文一区| 成人黄色a**站在线观看| 国产69精品久久99不卡| 成人一道本在线| aaa国产一区| 色嗨嗨av一区二区三区| 91福利在线导航| 欧美日韩三级在线| 欧美精品一级二级| 3atv一区二区三区| 日韩免费视频一区二区| 精品国产免费人成电影在线观看四季| 日韩欧美电影一二三| 久久久精品影视| 国产精品免费视频一区| 亚洲乱码国产乱码精品精小说| 亚洲永久精品大片| 免费视频最近日韩| 国产精品1区2区| 99精品国产一区二区三区不卡| 波多野结衣中文一区| 91久久免费观看| 717成人午夜免费福利电影| 日韩三区在线观看| 欧美国产成人精品| 玉足女爽爽91| 蜜臀久久久久久久| 成人午夜免费av| 欧美亚洲综合另类| 久久综合九色综合97婷婷女人| 国产情人综合久久777777| 一区二区三区鲁丝不卡| 青娱乐精品视频| 国产成人av一区二区三区在线观看| 99国产精品国产精品久久| 欧美视频你懂的| 26uuu精品一区二区在线观看| 国产精品丝袜久久久久久app| 亚洲一区视频在线| 国产精一区二区三区| 色妹子一区二区| 久久伊99综合婷婷久久伊| 一区二区视频在线| 精品一区二区三区在线视频| 91亚洲精品久久久蜜桃网站| 欧美丰满美乳xxx高潮www| 国产欧美va欧美不卡在线| 五月天一区二区| 99久久综合国产精品| 日韩亚洲欧美成人一区| 伊人一区二区三区| 国产一区二区三区在线观看免费视频| 99视频在线观看一区三区| 日韩欧美国产精品一区| 亚洲影院免费观看| 大胆亚洲人体视频| 日韩欧美高清dvd碟片| 亚洲精品videosex极品| 国产一区久久久| 6080亚洲精品一区二区| 亚洲欧美电影院| 国产裸体歌舞团一区二区| 7777精品伊人久久久大香线蕉最新版| 国产精品久久久久久久久久久免费看 | 欧美性极品少妇| 日本一区二区三区高清不卡| 美国三级日本三级久久99| 在线国产电影不卡| 亚洲欧洲三级电影| 成人在线视频首页| 26uuu成人网一区二区三区| 五月天网站亚洲| 97se亚洲国产综合自在线不卡| 日韩精品一区二区三区四区视频| 亚洲精品国产a| 成人av网址在线观看| 久久一区二区视频| 精品影视av免费| 欧美二区三区91| 午夜精品一区二区三区三上悠亚| 色中色一区二区| 亚洲视频一区二区在线| 成人激情综合网站| 久久久99久久精品欧美| 免费观看成人av| 日韩一区二区视频| 日韩高清欧美激情| 91精品国产高清一区二区三区 | 国产精品久久久久久久久动漫 | 91丨porny丨户外露出| 中文字幕在线不卡视频| 成人激情免费网站| 中文字幕免费一区| 成人爽a毛片一区二区免费| 国产欧美一区二区精品久导航| 国产一区二区三区免费看| 日韩你懂的在线观看| 精品一区二区精品| 日韩欧美成人一区| 精品一区二区三区在线观看| 日韩久久精品一区| 国内久久婷婷综合| 亚洲国产精品高清| 99国内精品久久| 亚洲午夜免费视频| 欧美高清精品3d| 久久精品72免费观看| 国产亚洲一区二区三区四区| 国产精品18久久久久久久久| 久久精品男人的天堂| 不卡一区二区中文字幕| 亚洲免费成人av| 欧美精品123区| 精品一区二区三区视频| 国产精品少妇自拍| 色欧美片视频在线观看| 日本中文字幕一区| 国产欧美精品一区二区色综合| 99国产精品国产精品久久| 亚洲国产精品久久久男人的天堂| 日韩午夜av一区| 国产99久久久久久免费看农村| 最新久久zyz资源站| 欧美日韩免费一区二区三区 | 一区二区不卡在线视频 午夜欧美不卡在| 色94色欧美sute亚洲线路一ni| 五月开心婷婷久久| 国产欧美久久久精品影院| 欧美日韩亚州综合|