Uses of Class
java.lang.IndexOutOfBoundsException
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.
|
-
Uses of IndexOutOfBoundsException in java.awt
Methods in java.awt that throw IndexOutOfBoundsException Modifier and Type Method Description Cursor
Toolkit. createCustomCursor(Image cursor, Point hotSpot, String name)
Creates a new custom cursor object. -
Uses of IndexOutOfBoundsException in java.awt.print
Methods in java.awt.print that throw IndexOutOfBoundsException Modifier and Type Method Description PageFormat
Book. getPageFormat(int pageIndex)
Returns thePageFormat
of the page specified bypageIndex
.PageFormat
Pageable. getPageFormat(int pageIndex)
Returns thePageFormat
of the page specified bypageIndex
.Printable
Book. getPrintable(int pageIndex)
Returns thePrintable
instance responsible for rendering the page specified bypageIndex
.Printable
Pageable. getPrintable(int pageIndex)
Returns thePrintable
instance responsible for rendering the page specified bypageIndex
.void
Book. setPage(int pageIndex, Printable painter, PageFormat page)
Sets thePageFormat
and thePainter
for a specified page number. -
Uses of IndexOutOfBoundsException in java.lang
Subclasses of IndexOutOfBoundsException in java.lang Modifier and Type Class Description class
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an illegal index.class
StringIndexOutOfBoundsException
Thrown byString
methods to indicate that an index is either negative or greater than the size of the string. -
Uses of IndexOutOfBoundsException in javax.management.relation
Methods in javax.management.relation that throw IndexOutOfBoundsException Modifier and Type Method 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
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(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
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.