- random() - Static method in class java.lang.Math
-
Returns a double
value with a positive sign, greater than or equal to 0.0
and
less than 1.0
.
- Random - Class in java.util
-
An instance of this class is used to generate a stream of pseudorandom numbers.
- Random() - Constructor for class java.util.Random
-
Creates a new random number generator.
- Random(long) - Constructor for class java.util.Random
-
Creates a new random number generator using a single long
seed.
- RandomAccess - Interface in java.util
-
Marker interface used by List implementations to indicate that they support fast
(generally constant time) random access.
- read() - Method in class java.io.ByteArrayInputStream
-
Reads the next byte of data from this input stream.
- read(byte[], int, int) - Method in class java.io.ByteArrayInputStream
-
Reads up to len
bytes of data into an array of bytes from this input stream.
- read(byte[]) - Method in class java.io.DataInputStream
-
Reads some number of bytes from the contained input stream and stores them into the buffer array
b
.
- read(byte[], int, int) - Method in class java.io.DataInputStream
-
Reads up to len
bytes of data from the contained input stream into an array of
bytes.
- read() - Method in class java.io.FilterInputStream
-
Reads the next byte of data from this input stream.
- read(byte[]) - Method in class java.io.FilterInputStream
-
Reads up to byte.length
bytes of data from this input stream into an array of bytes.
- read(byte[], int, int) - Method in class java.io.FilterInputStream
-
Reads up to len
bytes of data from this input stream into an array of bytes.
- read() - Method in class java.io.InputStream
-
Reads the next byte of data from the input stream.
- read(byte[]) - Method in class java.io.InputStream
-
Reads some number of bytes from the input stream and stores them into the buffer array
b
.
- read(byte[], int, int) - Method in class java.io.InputStream
-
Reads up to len
bytes of data from the input stream into an array of bytes.
- read() - Method in class java.io.InputStreamReader
-
Reads a single character.
- read(char[], int, int) - Method in class java.io.InputStreamReader
-
Reads characters into a portion of an array.
- read() - Method in class java.io.Reader
-
Reads a single character.
- read(char[]) - Method in class java.io.Reader
-
Reads characters into an array.
- read(char[], int, int) - Method in class java.io.Reader
-
Reads characters into a portion of an array.
- Readable - Interface in java.lang
-
This interface is only defined for hierarchy compatibility.
- readArray() - Method in class ej.bon.ResourceBuffer
-
- readBoolean() - Method in class ej.bon.ResourceBuffer
-
Reads a boolean and increments position in the data.
- readBoolean() - Method in interface java.io.DataInput
-
Reads one input byte and returns true
if that byte is nonzero, false
if
that byte is zero.
- readBoolean() - Method in class java.io.DataInputStream
-
See the general contract of the readBoolean
method of DataInput
.
- readByte() - Method in class ej.bon.ResourceBuffer
-
Reads a byte and increments position in the data.
- readByte() - Method in interface java.io.DataInput
-
Reads and returns one input byte.
- readByte() - Method in class java.io.DataInputStream
-
See the general contract of the readByte
method of DataInput
.
- readChar(byte[], int) - Static method in class ej.bon.ByteArray
-
Reads a char in the given byte array at the given offset respecting the
endianness of the platform.
- readChar(byte[], int, int) - Static method in class ej.bon.ByteArray
-
Reads a char in the given byte array at the given offset respecting the
endianness of the array.
- readChar() - Method in class ej.bon.ResourceBuffer
-
Reads a char and increments position in the data.
- readChar() - Method in interface java.io.DataInput
-
Reads two input bytes and returns a char
value.
- readChar() - Method in class java.io.DataInputStream
-
See the general contract of the readChar
method of DataInput
.
- readDouble() - Method in interface java.io.DataInput
-
Reads eight input bytes and returns a double
value.
- readDouble() - Method in class java.io.DataInputStream
-
See the general contract of the readDouble
method of DataInput
.
- Reader - Class in java.io
-
Abstract class for reading character streams.
- Reader() - Constructor for class java.io.Reader
-
Creates a new character-stream reader whose critical sections will synchronize on the reader
itself.
- Reader(Object) - Constructor for class java.io.Reader
-
Creates a new character-stream reader whose critical sections will synchronize on the given
object.
- readFloat() - Method in interface java.io.DataInput
-
Reads four input bytes and returns a float
value.
- readFloat() - Method in class java.io.DataInputStream
-
See the general contract of the readFloat
method of DataInput
.
- readFully(byte[]) - Method in interface java.io.DataInput
-
Reads some bytes from an input stream and stores them into the buffer array b
.
- readFully(byte[], int, int) - Method in interface java.io.DataInput
-
Reads len
bytes from an input stream.
- readFully(byte[]) - Method in class java.io.DataInputStream
-
See the general contract of the readFully
method of DataInput
.
- readFully(byte[], int, int) - Method in class java.io.DataInputStream
-
See the general contract of the readFully
method of DataInput
.
- readInt(byte[], int) - Static method in class ej.bon.ByteArray
-
Reads an int in the given byte array at the given offset respecting the
endianness of the platform.
- readInt(byte[], int, int) - Static method in class ej.bon.ByteArray
-
Reads an int in the given byte array at the given offset respecting the
endianness of the array.
- readInt() - Method in class ej.bon.ResourceBuffer
-
Reads an integer and increments position in the data.
- readInt() - Method in interface java.io.DataInput
-
Reads four input bytes and returns an int
value.
- readInt() - Method in class java.io.DataInputStream
-
See the general contract of the readInt
method of DataInput
.
- readLong(byte[], int) - Static method in class ej.bon.ByteArray
-
Reads a long in the given byte array at the given offset respecting the
endianness of the platform.
- readLong(byte[], int, int) - Static method in class ej.bon.ByteArray
-
Reads a long in the given byte array at the given offset respecting the
endianness of the array.
- readLong() - Method in interface java.io.DataInput
-
Reads eight input bytes and returns a long
value.
- readLong() - Method in class java.io.DataInputStream
-
See the general contract of the readLong
method of DataInput
.
- readPixel(int, int) - Method in class ej.microui.display.GraphicsContext
-
Returns the color of a pixel of this graphics context.
- readPixel(int, int) - Method in class ej.microui.display.Image
-
Returns the color of a pixel of this image.
- readPixels(int[], int, int, int, int, int, int) - Method in class ej.microui.display.GraphicsContext
-
Retrieves the color of the pixels of a region of this graphics context.
- readPixels(int[], int, int, int, int, int, int) - Method in class ej.microui.display.Image
-
Retrieves the color of the pixels of a region of this image.
- readShort(byte[], int) - Static method in class ej.bon.ByteArray
-
Reads a short in the given byte array at the given offset respecting the
endianness of the platform.
- readShort(byte[], int, int) - Static method in class ej.bon.ByteArray
-
Reads a short in the given byte array at the given offset respecting the
endianness of the array.
- readShort() - Method in class ej.bon.ResourceBuffer
-
Reads a short and increments position in the data.
- readShort() - Method in interface java.io.DataInput
-
Reads two input bytes and returns a short
value.
- readShort() - Method in class java.io.DataInputStream
-
See the general contract of the readShort
method of DataInput
.
- readString() - Method in class ej.bon.ResourceBuffer
-
Reads a
String
and increments position in the data.
- readUnsignedByte(byte[], int) - Static method in class ej.bon.ByteArray
-
Reads an unsigned-byte in the given byte array at the given offset respecting
the endianness of the platform.
- readUnsignedByte() - Method in interface java.io.DataInput
-
Reads one input byte, zero-extends it to type int
, and returns the result, which is
therefore in the range 0
through 255
.
- readUnsignedByte() - Method in class java.io.DataInputStream
-
See the general contract of the readUnsignedByte
method of DataInput
.
- readUnsignedShort() - Method in interface java.io.DataInput
-
Reads two input bytes and returns an int
value in the range 0
through
65535
.
- readUnsignedShort() - Method in class java.io.DataInputStream
-
See the general contract of the readUnsignedShort
method of DataInput
.
- readUTF() - Method in interface java.io.DataInput
-
Reads in a string that has been encoded using a
modified UTF-8
format.
- readUTF(DataInput) - Static method in class java.io.DataInputStream
-
Reads from the stream
in
a representation of a Unicode character string encoded in
modified UTF-8 format; this string of characters is
then returned as a
String
.
- readUTF() - Method in class java.io.DataInputStream
-
See the general contract of the readUTF
method of DataInput
.
- readVarLong() - Method in class ej.bon.ResourceBuffer
-
Reads a 64-bits signed integer and increments position in the data.
- readVarSInt() - Method in class ej.bon.ResourceBuffer
-
Reads a 32-bits signed integer and increments position in the data.
- readVarUInt() - Method in class ej.bon.ResourceBuffer
-
Reads a 32-bits unsigned integer and increments position in the data.
- ready() - Method in class java.io.InputStreamReader
-
Tells whether this stream is ready to be read.
- ready() - Method in class java.io.Reader
-
Tells whether this stream is ready to be read.
- receive(DatagramPacket) - Method in class java.net.DatagramSocket
-
Receives a datagram packet from this socket.
- RED - Static variable in class ej.microui.display.Colors
-
Constant for red color.
- Reference<T> - Class in java.lang.ref
-
Abstract base class for reference objects.
- Reference() - Constructor for class java.lang.ref.Reference
-
- ReferenceQueue<T> - Class in ej.bon
-
ReferenceQueue represents a queue of EnqueuedWeakReference.
- ReferenceQueue() - Constructor for class ej.bon.ReferenceQueue
-
- ReferenceQueue<T> - Class in java.lang.ref
-
Reference queues, to which registered reference objects are appended by the garbage collector
after the appropriate reachability changes are detected.
- ReferenceQueue() - Constructor for class java.lang.ref.ReferenceQueue
-
Constructs a new reference-object queue.
- ReflectiveOperationException - Exception in java.lang
-
Common superclass of exceptions thrown by reflective operations in core reflection.
- ReflectiveOperationException() - Constructor for exception java.lang.ReflectiveOperationException
-
Constructs a new exception with null
as its detail message.
- ReflectiveOperationException(String) - Constructor for exception java.lang.ReflectiveOperationException
-
Constructs a new exception with the specified detail message.
- ReflectiveOperationException(String, Throwable) - Constructor for exception java.lang.ReflectiveOperationException
-
Constructs a new exception with the specified detail message and cause.
- ReflectiveOperationException(Throwable) - Constructor for exception java.lang.ReflectiveOperationException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail
message of cause
).
- regionMatches(boolean, int, String, int, int) - Method in class java.lang.String
-
Tests if two string regions are equal.
- regionMatches(int, String, int, int) - Method in class java.lang.String
-
Tests if two string regions are equal.
- rehash() - Method in class java.util.Hashtable
-
Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and
access its entries more efficiently.
- REJANG - Static variable in class ej.microui.display.FontIdentifiers
-
Constant for rejang font identifier.
- RELEASED - Static variable in class ej.microui.event.generator.Buttons
-
Constant for "released" action.
- remove() - Method in class ej.bon.ReferenceQueue
-
Queries the queue, returns and removes the first element of the queue.
- remove() - Method in class java.lang.ref.ReferenceQueue
-
Removes the next reference object in this queue, blocking until one becomes available.
- remove(long) - Method in class java.lang.ref.ReferenceQueue
-
Removes the next reference object in this queue, blocking until either one becomes available or
the given timeout period expires.
- remove(Object) - Method in class java.util.AbstractCollection
-
Removes a single instance of the specified element from this collection, if it is present
(optional operation).
- remove(int) - Method in class java.util.AbstractList
-
Removes the element at the specified position in this list (optional operation).
- remove(Object) - Method in class java.util.AbstractMap
-
Removes the mapping for a key from this map if it is present (optional operation).
- remove(int) - Method in class java.util.ArrayList
-
Removes the element at the specified position in this list.
- remove(Object) - Method in class java.util.ArrayList
-
Removes the first occurrence of the specified element from this list, if it is present.
- remove(Object) - Method in interface java.util.Collection
-
Removes a single instance of the specified element from this collection, if it is present
(optional operation).
- remove(Object) - Method in class java.util.Dictionary
-
Removes the key
(and its corresponding value
) from this dictionary.
- remove(Object) - Method in class java.util.HashMap
-
Removes the mapping for the specified key from this map if present.
- remove(Object) - Method in class java.util.Hashtable
-
Removes the key (and its corresponding value) from this hashtable.
- remove() - Method in interface java.util.Iterator
-
Removes from the underlying collection the last element returned by this iterator (optional
operation).
- remove(int) - Method in interface java.util.List
-
Removes the element at the specified position in this list (optional operation).
- remove(Object) - Method in interface java.util.List
-
Removes the first occurrence of the specified element from this list, if it is present (optional
operation).
- remove() - Method in interface java.util.ListIterator
-
- remove(Object) - Method in interface java.util.Map
-
Removes the mapping for a key from this map if it is present (optional operation).
- remove(Object) - Method in interface java.util.Set
-
Removes the specified element from this set if it is present (optional operation).
- remove(int) - Method in class java.util.Vector
-
Removes the element at the specified position in this Vector.
- remove(Object) - Method in class java.util.Vector
-
Removes the first occurrence of the specified element in this Vector If the Vector does not
contain the element, it is unchanged.
- remove(Object) - Method in class java.util.WeakHashMap
-
Removes the mapping for a key from this weak hash map if it is present.
- removeAll(Collection<?>) - Method in class java.util.AbstractCollection
-
Removes all of this collection's elements that are also contained in the specified collection
(optional operation).
- removeAll(Collection<?>) - Method in class java.util.AbstractSet
-
Removes from this set all of its elements that are contained in the specified collection
(optional operation).
- removeAll(Collection<?>) - Method in class java.util.ArrayList
-
Removes from this list all of its elements that are contained in the specified collection.
- removeAll(Collection<?>) - Method in interface java.util.Collection
-
Removes all of this collection's elements that are also contained in the specified collection
(optional operation).
- removeAll(Collection<?>) - Method in interface java.util.List
-
Removes from this list all of its elements that are contained in the specified collection
(optional operation).
- removeAll(Collection<?>) - Method in interface java.util.Set
-
Removes from this set all of its elements that are contained in the specified collection
(optional operation).
- removeAll(Collection<?>) - Method in class java.util.Vector
-
Removes from this Vector all of its elements that are contained in the specified Collection.
- removeAllElements() - Method in class java.util.Vector
-
Removes all components from this vector and sets its size to zero.
- removeBackgroundColor() - Method in class ej.microui.display.GraphicsContext
-
Removes the background color of this graphics context.
- removeElement(Object) - Method in class java.util.Vector
-
Removes the first (lowest-indexed) occurrence of the argument from this vector.
- removeElementAt(int) - Method in class java.util.Vector
-
Deletes the component at the specified index.
- removeFromSystemPool() - Method in class ej.microui.event.EventGenerator
-
Removes the generator from the system generators pool.
- removeRange(int, int) - Method in class java.util.AbstractList
-
Removes from this list all of the elements whose index is between fromIndex
, inclusive,
and toIndex
, exclusive.
- removeRange(int, int) - Method in class java.util.ArrayList
-
Removes from this list all of the elements whose index is between fromIndex
, inclusive,
and toIndex
, exclusive.
- removeRange(int, int) - Method in class java.util.Vector
-
Removes from this list all of the elements whose index is between fromIndex
, inclusive,
and toIndex
, exclusive.
- render(GraphicsContext) - Method in class ej.microui.display.Displayable
-
Renders the displayable.
- RenderableString - Class in ej.microui.display
-
Represents graphical information related to the drawing of a string with a font.
- RenderableString(String, Font) - Constructor for class ej.microui.display.RenderableString
-
Creates a renderable string.
- REPEATED - Static variable in class ej.microui.event.generator.Buttons
-
Constant for "repeated" action (button held down).
- replace(char, char) - Method in class java.lang.String
-
Returns a new string resulting from replacing all occurrences of oldChar
in this
string with newChar
.
- replace(CharSequence, CharSequence) - Method in class java.lang.String
-
Replaces each substring of this string that matches the literal target sequence with the
specified literal replacement sequence.
- replace(int, int, String) - Method in class java.lang.StringBuffer
-
Replaces the characters in a substring of this sequence with characters in the specified
String
.
- replace(int, int, String) - Method in class java.lang.StringBuilder
-
Replaces the characters in a substring of this sequence with characters in the specified
String
.
- requestFlush() - Method in class ej.microui.display.Display
-
Requests a flush updating the display with the draw actions since the last flush if and only if the display is
double buffered.
- requestHide(Displayable) - Method in class ej.microui.display.Display
-
Asks to set the given displayable as hidden on the display.
- requestRender() - Method in class ej.microui.display.Display
-
Asks to render the current displayable.
- requestRender() - Method in class ej.microui.display.Displayable
-
Requests a rendering for the entire displayable.
- requestShow(Displayable) - Method in class ej.microui.display.Display
-
Asks to set the given displayable as visible on the display.
- reset() - Method in class ej.microui.display.GraphicsContext
-
Resets this graphics context to its initial configuration.
- reset(int, int) - Method in class ej.microui.event.generator.Pointer
-
Stores the given position.
- reset() - Method in class java.io.ByteArrayInputStream
-
Resets the buffer to the marked position.
- reset() - Method in class java.io.ByteArrayOutputStream
-
Resets the count
field of this byte array output stream to zero, so that all
currently accumulated output in the output stream is discarded.
- reset() - Method in class java.io.FilterInputStream
-
Repositions this stream to the position at the time the mark
method was last called
on this input stream.
- reset() - Method in class java.io.InputStream
-
Repositions this stream to the position at the time the mark
method was last called
on this input stream.
- reset() - Method in class java.io.Reader
-
Resets the stream.
- resetClip() - Method in class ej.microui.display.GraphicsContext
-
Resets the clipping area of this graphics context to its entire bounds.
- resetTranslation() - Method in class ej.microui.display.GraphicsContext
-
Resets the translation vector of this graphics context to the (0,0)
vector.
- RESOURCE_CLOSED - Static variable in exception ej.microui.MicroUIException
-
Exception thrown when the application is trying to use a resource which has been closed.
- RESOURCE_INVALID_FILE - Static variable in exception ej.microui.MicroUIException
-
Exception thrown when the resource content cannot be read for any reason.
- RESOURCE_INVALID_PATH - Static variable in exception ej.microui.MicroUIException
-
Exception thrown when a resource cannot be retrieved.
- ResourceArray - Class in ej.bon
-
- ResourceArray() - Constructor for class ej.bon.ResourceArray
-
- ResourceBuffer - Class in ej.bon
-
A resource buffer contains a set of data which is compacted to obtain a
minimal footprint.
- ResourceBuffer(String) - Constructor for class ej.bon.ResourceBuffer
-
- ResourceImage - Class in ej.microui.display
-
A ResourceImage
represents an image which may require dynamic allocation in order to be created.
- ResourceImage() - Constructor for class ej.microui.display.ResourceImage
-
- ResourceImage.OutputFormat - Enum in ej.microui.display
-
Enumerates the different formats in which a resource image can store pixel colors.
- RESUME - Static variable in class ej.microui.event.generator.Command
-
Constant for "resume" command.
- retainAll(Collection<?>) - Method in class java.util.AbstractCollection
-
Retains only the elements in this collection that are contained in the specified collection
(optional operation).
- retainAll(Collection<?>) - Method in class java.util.ArrayList
-
Retains only the elements in this list that are contained in the specified collection.
- retainAll(Collection<?>) - Method in interface java.util.Collection
-
Retains only the elements in this collection that are contained in the specified collection
(optional operation).
- retainAll(Collection<?>) - Method in interface java.util.List
-
Retains only the elements in this list that are contained in the specified collection (optional
operation).
- retainAll(Collection<?>) - Method in interface java.util.Set
-
Retains only the elements in this set that are contained in the specified collection (optional
operation).
- retainAll(Collection<?>) - Method in class java.util.Vector
-
Retains only the elements in this Vector that are contained in the specified Collection.
- Retention - Annotation Type in java.lang.annotation
-
Indicates how long annotations with the annotated type are to be retained.
- RetentionPolicy - Enum in java.lang.annotation
-
Annotation retention policy.
- reverse() - Method in class java.lang.StringBuffer
-
Causes this character sequence to be replaced by the reverse of the sequence.
- reverse() - Method in class java.lang.StringBuilder
-
Causes this character sequence to be replaced by the reverse of the sequence.
- RIGHT - Static variable in class ej.microui.event.generator.Command
-
Constant for "right" command.
- rint(double) - Static method in class java.lang.Math
-
Returns the double
value that is closest in value to the argument and is equal to a
mathematical integer.
- rotateLeft(int, int) - Static method in class java.lang.Integer
-
Returns the value obtained by rotating the two's complement binary representation of the
specified int
value left by the specified number of bits.
- rotateLeft(long, int) - Static method in class java.lang.Long
-
Returns the value obtained by rotating the two's complement binary representation of the
specified long
value left by the specified number of bits.
- rotateRight(int, int) - Static method in class java.lang.Integer
-
Returns the value obtained by rotating the two's complement binary representation of the
specified int
value right by the specified number of bits.
- rotateRight(long, int) - Static method in class java.lang.Long
-
Returns the value obtained by rotating the two's complement binary representation of the
specified long
value right by the specified number of bits.
- round(double) - Static method in class java.lang.Math
-
Returns the closest long
to the argument, with ties rounding up.
- round(float) - Static method in class java.lang.Math
-
Returns the closest int
to the argument, with ties rounding up.
- run() - Method in class ej.bon.Timer
-
- run() - Method in class ej.bon.TimerTask
-
The action to be performed by this timer task.
- run() - Method in interface java.lang.Runnable
-
When an object implementing interface Runnable
is used to create a thread, starting
the thread causes the object's run
method to be called in that separately executing
thread.
- run() - Method in class java.lang.Thread
-
If this thread was constructed using a separate Runnable run object, then that Runnable object's
run method is called; otherwise, this method does nothing and returns.
- run() - Method in class java.util.TimerTask
-
Deprecated.
The action to be performed by this timer task.
- RUNIC - Static variable in class ej.microui.display.FontIdentifiers
-
Constant for runic font identifier.
- Runnable - Interface in java.lang
-
The Runnable
interface should be implemented by any class whose instances are
intended to be executed by a thread.
- Runtime - Class in java.lang
-
Every Java application has a single instance of class Runtime
that allows the
application to interface with the environment in which the application is running.
- Runtime() - Constructor for class java.lang.Runtime
-
- RuntimeException - Exception in java.lang
-
RuntimeException
is the superclass of those exceptions that can be thrown during the
normal operation of the Java Virtual Machine.
- RuntimeException() - Constructor for exception java.lang.RuntimeException
-
Constructs a new runtime exception with null
as its detail message.
- RuntimeException(String) - Constructor for exception java.lang.RuntimeException
-
Constructs a new runtime exception with the specified detail message.
- RuntimeException(String, Throwable) - Constructor for exception java.lang.RuntimeException
-
Constructs a new runtime exception with the specified detail message and cause.
- RuntimeException(Throwable) - Constructor for exception java.lang.RuntimeException
-
Constructs a new runtime exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and detail
message of cause).
- RuntimePermission - Class in java.lang
-
- RuntimePermission(String) - Constructor for class java.lang.RuntimePermission
-
- RuntimePermission(String, String) - Constructor for class java.lang.RuntimePermission
-