| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| java.awt.print | Provides classes and interfaces for a general printing API. | 
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| javax.management.relation | Provides the definition of the Relation Service. | 
| Modifier and Type | Method and Description | 
|---|---|
| Cursor | Toolkit. createCustomCursor(Image cursor,
                  Point hotSpot,
                  String name)Creates a new custom cursor object. | 
| Modifier and Type | Method and Description | 
|---|---|
| PageFormat | Pageable. getPageFormat(int pageIndex)Returns the  PageFormatof the page specified bypageIndex. | 
| PageFormat | Book. getPageFormat(int pageIndex)Returns the  PageFormatof the page specified bypageIndex. | 
| Printable | Pageable. getPrintable(int pageIndex)Returns the  Printableinstance responsible for
 rendering the page specified bypageIndex. | 
| Printable | Book. getPrintable(int pageIndex)Returns the  Printableinstance responsible for rendering
 the page specified bypageIndex. | 
| void | Book. setPage(int pageIndex,
       Printable painter,
       PageFormat page)Sets the  PageFormatand thePainterfor a
 specified page number. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArrayIndexOutOfBoundsExceptionThrown to indicate that an array has been accessed with an
 illegal index. | 
| class  | StringIndexOutOfBoundsExceptionThrown by  Stringmethods to indicate that an index
 is either negative or greater than the size of the string. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RoleList. add(int index,
   Role role)Inserts the role specified as an element at the position specified. | 
| void | RoleUnresolvedList. add(int index,
   RoleUnresolved role)Inserts the unresolved role specified as an element at the position
 specified. | 
| boolean | RoleList. addAll(int index,
      RoleList roleList)Inserts all of the elements in the RoleList specified into this
 list, starting at the specified position, in the order in which they are
 returned by the Iterator of the RoleList specified. | 
| boolean | RoleUnresolvedList. addAll(int index,
      RoleUnresolvedList roleList)Inserts all of the elements in the RoleUnresolvedList specified into
 this list, starting at the specified position, in the order in which
 they are returned by the Iterator of the RoleUnresolvedList specified. | 
| boolean | RoleList. addAll(RoleList roleList)Appends all the elements in the RoleList specified to the end
 of the list, in the order in which they are returned by the Iterator of
 the RoleList specified. | 
| boolean | RoleUnresolvedList. addAll(RoleUnresolvedList roleList)Appends all the elements in the RoleUnresolvedList specified to the end
 of the list, in the order in which they are returned by the Iterator of
 the RoleUnresolvedList specified. | 
| void | RoleList. set(int index,
   Role role)Sets the element at the position specified to be the role
 specified. | 
| void | RoleUnresolvedList. set(int index,
   RoleUnresolved role)Sets the element at the position specified to be the unresolved role
 specified. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.