* java/awt/print/Pageable.java,
* java/awt/print/Printable.java,
java/awt/print/PrinterGraphics.java:
Removed redundant modifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72348
138bc75d-0d04-0410-961f-
82ee72b054a4
2003-10-11 Michael Koch <konqueror@gmx.de>
+ * java/awt/print/Pageable.java,
+ * java/awt/print/Printable.java,
+ java/awt/print/PrinterGraphics.java:
+ Removed redundant modifiers.
+
+2003-10-11 Michael Koch <konqueror@gmx.de>
+
* java/awt/peer/ButtonPeer.java,
java/awt/peer/CheckboxMenuItemPeer.java,
java/awt/peer/CheckboxPeer.java,
* This constant is returned when <code>getNumberOfPages()</code>
* cannot determine the number of pages available for printing.
*/
-public static final int UNKNOWN_NUMBER_OF_PAGES = -1;
+int UNKNOWN_NUMBER_OF_PAGES = -1;
/*************************************************************************/
* @return The number of pages to be printed, or
* <code>UNKNOWN_NUMBER_OF_PAGES</code> if this is unknown.
*/
-public abstract int
+int
getNumberOfPages();
/*************************************************************************/
* @exception IndexOutOfBoundsException If the requested page number does
* not exist.
*/
-public abstract PageFormat
+PageFormat
getPageFormat(int pageIndex) throws IndexOutOfBoundsException;
/*************************************************************************/
* @exception IndexOutOfBoundsException If the requested page number does
* not exist.
*/
-public abstract Printable
+Printable
getPrintable(int pageIndex) throws IndexOutOfBoundsException;
} // interface Pageable
* This value is returned by the <code>print()</code> method to indicate
* that the requested page number does not exist.
*/
-public static final int NO_SUCH_PAGE = 0;
+int NO_SUCH_PAGE = 0;
/**
* This value is returned by the <code>print()</code> method to indicate
* that the requested page exists and has been printed.
*/
-public static final int PAGE_EXISTS = 1;
+int PAGE_EXISTS = 1;
/*************************************************************************/
*
* @exception PrinterException If an error occurs during printing.
*/
-public abstract int
+int
print(Graphics graphics, PageFormat format, int page_number)
throws PrinterException;
*
* @return The <code>PrinterJob</code> that is controlling this print job.
*/
-public abstract PrinterJob
+PrinterJob
getPrinterJob();
} // interface PrinterGraphics