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.
|
java.util |
Contains the collections framework, legacy collection classes,
event model, date and time facilities, internationalization, and
miscellaneous utility classes (a string tokenizer, a random-number
generator, and a bit array).
|
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 |
Book.getPageFormat(int pageIndex)
Returns the
PageFormat of the page specified by
pageIndex . |
PageFormat |
Pageable.getPageFormat(int pageIndex)
Returns the
PageFormat of the page specified by
pageIndex . |
Printable |
Book.getPrintable(int pageIndex)
Returns the
Printable instance responsible for rendering
the page specified by pageIndex . |
Printable |
Pageable.getPrintable(int pageIndex)
Returns the
Printable instance responsible for
rendering the page specified by pageIndex . |
void |
Book.setPage(int pageIndex,
Printable painter,
PageFormat page)
Sets the
PageFormat and the Painter for a
specified page number. |
Modifier and Type | Class and Description |
---|---|
class |
ArrayIndexOutOfBoundsException
Thrown to indicate that an array has been accessed with an illegal index.
|
class |
StringIndexOutOfBoundsException
Thrown by
String methods to indicate that an index is either negative
or greater than the size of the string. |
Modifier and Type | Method and Description |
---|---|
static int |
Objects.checkFromIndexSize(int fromIndex,
int size,
int length)
Checks if the sub-range from
fromIndex (inclusive) to
fromIndex + size (exclusive) is within the bounds of range from
0 (inclusive) to length (exclusive). |
static <T extends RuntimeException> |
Objects.checkFromIndexSize(int fromIndex,
int size,
int length,
BiFunction<Integer,Integer,T> oobe)
Checks if the sub-range from
fromIndex (inclusive) to
fromIndex + size (exclusive) is within the bounds of range from
0 (inclusive) to length (exclusive). |
static int |
Objects.checkFromToIndex(int fromIndex,
int toIndex,
int length)
Checks if the sub-range from
fromIndex (inclusive) to
toIndex (exclusive) is within the bounds of range from 0
(inclusive) to length (exclusive). |
static <T extends RuntimeException> |
Objects.checkFromToIndex(int fromIndex,
int toIndex,
int length,
BiFunction<Integer,Integer,T> oobe)
Checks if the sub-range from
fromIndex (inclusive) to
toIndex (exclusive) is within the bounds of range from 0
(inclusive) to length (exclusive). |
static int |
Objects.checkIndex(int index,
int length)
Checks if the
index is within the bounds of the range from
0 (inclusive) to length (exclusive). |
static <T extends RuntimeException> |
Objects.checkIndex(int index,
int length,
BiFunction<Integer,Integer,T> oobe)
Checks if the
index is within the bounds of the range from
0 (inclusive) to length (exclusive). |
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 |
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.
|
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, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait