Skip navigation links
A B C D E F G H I J L M N O P R S T U W 

A

addChar(int, byte[], int, int) - Method in class net.freeutils.scrollphat.LEDFont
Adds a character to this font.
ADDR_GND - Static variable in class net.freeutils.scrollphat.Device
 
ADDR_SCL - Static variable in class net.freeutils.scrollphat.Device
 
ADDR_SDA - Static variable in class net.freeutils.scrollphat.Device
 
ADDR_VCC - Static variable in class net.freeutils.scrollphat.Device
 
Animation - Class in net.freeutils.scrollphat
Provides common animation utilities.
Animation() - Constructor for class net.freeutils.scrollphat.Animation
 
append(StringBuilder, byte) - Static method in class net.freeutils.scrollphat.Utils
Appends the hex string representing the given byte value to a StringBuffer.
append(StringBuilder, byte[], int, int) - Static method in class net.freeutils.scrollphat.Utils
Appends the hex string representing the given byte values to a StringBuffer.

B

buf - Variable in class net.freeutils.scrollphat.JNADevDevice
 
bus - Variable in class net.freeutils.scrollphat.Pi4JDevice
 

C

Canvas - Class in net.freeutils.scrollphat
A convenience class for manipulating a LED matrix buffer and preparing the display content.
Canvas(byte[], int) - Constructor for class net.freeutils.scrollphat.Canvas
Constructs a Canvas which wraps the given matrix.
Canvas(int, int) - Constructor for class net.freeutils.scrollphat.Canvas
Constructs a Canvas with a new matrix of the given width and height.
close() - Method in class net.freeutils.scrollphat.Device
Closes the I2C bus and device.
closeImpl() - Method in class net.freeutils.scrollphat.Device
Closes the I2C bus and device.
closeImpl() - Method in class net.freeutils.scrollphat.JNADevDevice
 
closeImpl() - Method in class net.freeutils.scrollphat.MockDevice
 
closeImpl() - Method in class net.freeutils.scrollphat.Pi4JDevice
 
closeOnShutdown(boolean) - Method in class net.freeutils.scrollphat.Device
Specifies whether to set a system shutdown hook to close this device when the JVM exits.
CONFIG_AUDIO_INPUT - Static variable in class net.freeutils.scrollphat.Device
 
CONFIG_DISPLAY_MATRIX_1 - Static variable in class net.freeutils.scrollphat.Device
 
CONFIG_DISPLAY_MATRIX_1_AND_2 - Static variable in class net.freeutils.scrollphat.Device
 
CONFIG_DISPLAY_MATRIX_2 - Static variable in class net.freeutils.scrollphat.Device
 
CONFIG_MATRIX_5X11 - Static variable in class net.freeutils.scrollphat.Device
 
CONFIG_MATRIX_6X10 - Static variable in class net.freeutils.scrollphat.Device
 
CONFIG_MATRIX_7X9 - Static variable in class net.freeutils.scrollphat.Device
 
CONFIG_MATRIX_8X8 - Static variable in class net.freeutils.scrollphat.Device
 
CONFIG_SOFTWARE_SHUTDOWN - Static variable in class net.freeutils.scrollphat.Device
 
configure(int) - Method in class net.freeutils.scrollphat.Device
Configures the device.
convert(Font, int, int) - Static method in class net.freeutils.scrollphat.FontConverter
Converts the given font to ledfont format written to a LEDFont.
convert(Font, int, int, File) - Static method in class net.freeutils.scrollphat.FontConverter
Converts the given font to ledfont format written to a file.
convertFromPython(File, int, File) - Static method in class net.freeutils.scrollphat.FontConverter
Converts a python script defining a font data structure to a LEDFont.
crop(byte[], int, int, int, int, byte[]) - Static method in class net.freeutils.scrollphat.Canvas
Crops the given pixel matrix.
cropX(byte[], int, int, byte[]) - Static method in class net.freeutils.scrollphat.Canvas
Crops the given pixel matrix horizontally.
cropY(byte[], int, int, byte[]) - Static method in class net.freeutils.scrollphat.Canvas
Crops the given pixel matrix vertically.

D

data - Variable in class net.freeutils.scrollphat.LEDFont
 
Device - Class in net.freeutils.scrollphat
Provides access to the raw functionality of ISSI's IS31FL3730 matrix LED driver chip.
Device() - Constructor for class net.freeutils.scrollphat.Device
 
device - Variable in class net.freeutils.scrollphat.Pi4JDevice
 
displayTestPatterns() - Method in class net.freeutils.scrollphat.Device
Displays test patterns.

E

empty(byte[]) - Static method in class net.freeutils.scrollphat.Canvas
Empties a byte array by filling it with zeros.
empty() - Method in class net.freeutils.scrollphat.Canvas
Empty the matrix (fill it with empty columns).
errors - Variable in class net.freeutils.scrollphat.Device
 

F

fill(byte[], int) - Static method in class net.freeutils.scrollphat.Canvas
Fills a byte array with a single value.
fill(byte[]) - Static method in class net.freeutils.scrollphat.Canvas
Fills a byte array with 0xFF bytes (i.e.
fill(int) - Method in class net.freeutils.scrollphat.Canvas
Fills the matrix with the given column value.
flip(byte) - Static method in class net.freeutils.scrollphat.Canvas
Flips the order of bits in a byte.
flip(byte, int) - Static method in class net.freeutils.scrollphat.Canvas
Flips the order of the least-significant bits in a byte.
flip(byte[], int, byte[]) - Static method in class net.freeutils.scrollphat.Canvas
Flips the order of the least-significant bits in an array of bytes.
FontConverter - Class in net.freeutils.scrollphat
Converts a standard TrueType (TTF) font, rendered at a given size, to the ledfont format used at runtime by the LEDFont class.
FontConverter() - Constructor for class net.freeutils.scrollphat.FontConverter
 

G

getHeight() - Method in class net.freeutils.scrollphat.Canvas
Returns the canvas height in pixels.
getHeight() - Method in class net.freeutils.scrollphat.Device
Returns the configured device height.
getHeight() - Method in class net.freeutils.scrollphat.LEDFont
Returns the font height in pixels.
getInputStream(String) - Static method in class net.freeutils.scrollphat.Utils
Returns an input stream for reading the content of a file or resource.
getMatrix() - Method in class net.freeutils.scrollphat.Canvas
Returns the wrapped matrix bytes.
getMaxWidth(char[]) - Method in class net.freeutils.scrollphat.LEDFont
Returns the maximum glyph width among all of the given characters.
getNativeFileDescriptor(FileDescriptor) - Method in class net.freeutils.scrollphat.JNADevDevice
Returns the native file descriptor associated with the Java file descriptor.
getSupportedChars() - Method in class net.freeutils.scrollphat.LEDFont
Returns the sorted set of Unicode code points supported by this font.
getSupportedCharsAsString() - Method in class net.freeutils.scrollphat.LEDFont
Returns a string of Unicode code points supported by this font.
getWidth() - Method in class net.freeutils.scrollphat.Canvas
Returns the canvas width in pixels.
getWidth() - Method in class net.freeutils.scrollphat.Device
Returns the configured device width.
getWidth(int) - Method in class net.freeutils.scrollphat.LEDFont
Returns the width in pixels of the given code point.
getWidth(char[], int, int) - Method in class net.freeutils.scrollphat.LEDFont
Returns the width in pixels of the given characters.
getWidth(String) - Method in class net.freeutils.scrollphat.LEDFont
Returns the width in pixels of the given string.
gradualBrightness(Device, int, int, int) - Static method in class net.freeutils.scrollphat.Animation
Gradually changes the display brightness.
graph(byte[], int, int, float[], Float, Float, boolean) - Static method in class net.freeutils.scrollphat.Canvas
Draws a graph with the given width and height in pixels from the given data values and boundaries.
graph(byte[], int, int, int[], Float, Float, boolean) - Static method in class net.freeutils.scrollphat.Canvas
Draws a graph with the given width and height in pixels from the given data values and boundaries.
graph(int[], Float, Float, boolean) - Method in class net.freeutils.scrollphat.Canvas
Draws a graph with the given width and height in pixels from the given data values and boundaries.

H

handleError(IOException) - Method in class net.freeutils.scrollphat.Device
Handles errors that occur while writing data to the device.
height - Variable in class net.freeutils.scrollphat.Device
 
height - Variable in class net.freeutils.scrollphat.LEDFont
 

I

init() - Method in class net.freeutils.scrollphat.Device
Initializes the device.
ioctl(int, int, int) - Method in class net.freeutils.scrollphat.JNADevDevice
Invokes the native ioctl function.

J

JNADevDevice - Class in net.freeutils.scrollphat
A device implementation that uses the /dev/i2c-* device interface for the I2C communications with the device, and JNA for ioctl calls.
JNADevDevice() - Constructor for class net.freeutils.scrollphat.JNADevDevice
 

L

LEDFont - Class in net.freeutils.scrollphat
Loads a font in ledfont format and renders text using the font.
LEDFont(int) - Constructor for class net.freeutils.scrollphat.LEDFont
Constructs an empty LEDFont.
LEDFont(String) - Constructor for class net.freeutils.scrollphat.LEDFont
Constructs a LEDFont from a file or resource in ledfont format.
LEDFont(InputStream) - Constructor for class net.freeutils.scrollphat.LEDFont
Constructs a LEDFont from a stream containing data in ledfont format.
LEDFont(byte[]) - Constructor for class net.freeutils.scrollphat.LEDFont
Constructs a LEDFont from a byte array containing data in ledfont format.
loadTTF(String) - Static method in class net.freeutils.scrollphat.FontConverter
Loads a TrueType (TTF) font from file or resource as an AWT Font.
lookup - Variable in class net.freeutils.scrollphat.LEDFont
 

M

MAGIC - Static variable in class net.freeutils.scrollphat.LEDFont
 
main(String[]) - Static method in class net.freeutils.scrollphat.Device
The main command-line utility entry point.
main(String[]) - Static method in class net.freeutils.scrollphat.FontConverter
The main command-line utility entry point.
main(String[]) - Static method in class net.freeutils.scrollphat.LEDFont
The main command-line utility entry point.
main(String[]) - Static method in class net.freeutils.scrollphat.MockDevice
The main command-line utility entry point.
MockDevice - Class in net.freeutils.scrollphat
A Device implementation that writes to the console instead of to a real device.
MockDevice() - Constructor for class net.freeutils.scrollphat.MockDevice
 

N

net.freeutils.scrollphat - package net.freeutils.scrollphat
 
newInstance() - Static method in class net.freeutils.scrollphat.Device
Returns a new Device instance.
newInstance(String) - Static method in class net.freeutils.scrollphat.Device
Returns a new Device instance using the given implementation.

O

open(int) - Method in class net.freeutils.scrollphat.Device
Opens the connection to I2C bus number 1 and to the device at the given address.
open(int, int) - Method in class net.freeutils.scrollphat.Device
Opens the connection to the I2C bus and to the device at the given address.
openImpl(int, int) - Method in class net.freeutils.scrollphat.Device
Opens the connection to the I2C bus and to the device at the given address.
openImpl(int, int) - Method in class net.freeutils.scrollphat.JNADevDevice
 
openImpl(int, int) - Method in class net.freeutils.scrollphat.MockDevice
 
openImpl(int, int) - Method in class net.freeutils.scrollphat.Pi4JDevice
 
out - Variable in class net.freeutils.scrollphat.JNADevDevice
 

P

parse(byte[]) - Method in class net.freeutils.scrollphat.LEDFont
Parses data in the ledfont format.
parsePython(InputStream, int) - Static method in class net.freeutils.scrollphat.FontConverter
Parses a python script defining a font data structure.
Pi4JDevice - Class in net.freeutils.scrollphat
A Device implementation that uses Pi4J for the low-level I2C communications with the device.
Pi4JDevice() - Constructor for class net.freeutils.scrollphat.Pi4JDevice
 

R

readBytes(InputStream) - Static method in class net.freeutils.scrollphat.Utils
Reads the entire contents of the given stream into a byte array.
readLines(File) - Static method in class net.freeutils.scrollphat.Utils
Reads an entire text file into an array of lines.
readLines(InputStream) - Static method in class net.freeutils.scrollphat.Utils
Reads an entire text stream into an array of lines.
readVarint(InputStream) - Static method in class net.freeutils.scrollphat.Utils
Reads a varint (variable-length integer) from a stream.
REG_BRIGHTNESS_CONFIG - Static variable in class net.freeutils.scrollphat.Device
 
REG_BRIGHTNESS_PWM - Static variable in class net.freeutils.scrollphat.Device
 
REG_CONFIG - Static variable in class net.freeutils.scrollphat.Device
 
REG_MATRIX1_DATA_START - Static variable in class net.freeutils.scrollphat.Device
 
REG_MATRIX2_DATA_START - Static variable in class net.freeutils.scrollphat.Device
 
REG_RESET - Static variable in class net.freeutils.scrollphat.Device
 
REG_UPDATE - Static variable in class net.freeutils.scrollphat.Device
 
render() - Method in class net.freeutils.scrollphat.Canvas
Render the matrix into a returned buffer, with transformations applied (flip, reverse, crop, etc.)
reset() - Method in class net.freeutils.scrollphat.Device
Resets the device (by writing the reset command to it).
reverse(byte[], byte[]) - Static method in class net.freeutils.scrollphat.Canvas
Reverses the order of bytes in an array.

S

save(OutputStream) - Method in class net.freeutils.scrollphat.LEDFont
Saves this font into the given stream in the ledfont format.
save(File) - Method in class net.freeutils.scrollphat.LEDFont
Saves this font into the given file in the ledfont format.
scroll(Device, byte[], int, int, int, int) - Static method in class net.freeutils.scrollphat.Animation
Scrolls the display from left to right.
scroll(Device, byte[], int, int) - Static method in class net.freeutils.scrollphat.Animation
Scrolls the display from left to right (with spaces before and after text)
scroll(int) - Method in class net.freeutils.scrollphat.Canvas
Scrolls the rendered columns by the given number of columns (positive or negative delta).
setBit(byte[], int, int, boolean) - Static method in class net.freeutils.scrollphat.Canvas
Sets the value of a single bit within a matrix of bits represented by a byte array.
setBrightness(int) - Method in class net.freeutils.scrollphat.Device
Sets the display brightness.
setColumn(int, int) - Method in class net.freeutils.scrollphat.Canvas
Sets the value of a column.
setColumns(int, byte[], int, int) - Method in class net.freeutils.scrollphat.Canvas
Sets the value of a sequence of columns.
setDisplay(int, int) - Method in class net.freeutils.scrollphat.Device
Sets the value of the given column.
setDisplay(int, byte[], int, int) - Method in class net.freeutils.scrollphat.Device
Sets the values of a consecutive sequence of columns.
setDisplay(int, byte[]) - Method in class net.freeutils.scrollphat.Device
Sets the values of a consecutive sequence of columns.
setDisplay(byte[]) - Method in class net.freeutils.scrollphat.Device
Sets the values of a consecutive sequence of columns, starting at the first column.
setFlip(boolean) - Method in class net.freeutils.scrollphat.Canvas
Sets whether the rendered matrix should be flipped vertically.
setMatrix(byte[]) - Method in class net.freeutils.scrollphat.Canvas
Sets the wrapped matrix bytes.
setOffset(int) - Method in class net.freeutils.scrollphat.Canvas
Sets the offset of the column within the matrix at which the rendering will start.
setPixel(int, int, boolean) - Method in class net.freeutils.scrollphat.Canvas
Sets the value of a pixel.
setReverse(boolean) - Method in class net.freeutils.scrollphat.Canvas
Sets whether the rendered matrix should be reversed horizontally.
shutdownHook - Variable in class net.freeutils.scrollphat.Device
 

T

throwErrorCount - Variable in class net.freeutils.scrollphat.Device
 
toAsciiArt(byte[], int, int, int) - Static method in class net.freeutils.scrollphat.Canvas
Converts the pixel matrix represented by a given byte array to a string containing the ASCII-art representation of the pixels.
toAsciiArt(byte[], int) - Static method in class net.freeutils.scrollphat.Canvas
Converts the pixel matrix represented by a given byte array to a string containing the ASCII-art representation of the pixels.
toAsciiArt(String, int) - Method in class net.freeutils.scrollphat.LEDFont
Writes the glyphs for the given sequence of characters into an ASCII-art string.
transitionHorizontally(Device, byte[], byte[], int) - Static method in class net.freeutils.scrollphat.Animation
 
transitionVertically(Device, byte[], byte[], int) - Static method in class net.freeutils.scrollphat.Animation
 

U

update() - Method in class net.freeutils.scrollphat.Device
Updates the display.
update(byte[]) - Method in class net.freeutils.scrollphat.Device
Writes the given display data and updates the display.
update() - Method in class net.freeutils.scrollphat.MockDevice
 
used - Variable in class net.freeutils.scrollphat.LEDFont
 
Utils - Class in net.freeutils.scrollphat
Provides General-purpose utility methods.

W

warnErrorCount - Variable in class net.freeutils.scrollphat.Device
 
width - Variable in class net.freeutils.scrollphat.Device
 
write(byte, int) - Method in class net.freeutils.scrollphat.Device
Writes a single byte of data to the given register.
write(byte, byte[], int, int) - Method in class net.freeutils.scrollphat.Device
Writes a series of bytes of data starting at the given register.
write(int, byte[], int) - Method in class net.freeutils.scrollphat.LEDFont
Writes the glyph for the given code point into an array.
write(char[], int, int, byte[], int) - Method in class net.freeutils.scrollphat.LEDFont
Writes the glyphs for the given characters into an array.
write(String, byte[], int) - Method in class net.freeutils.scrollphat.LEDFont
Writes the glyphs for the given string into an array.
write(String) - Method in class net.freeutils.scrollphat.LEDFont
Writes the glyphs for the given string.
writeImpl(byte, int) - Method in class net.freeutils.scrollphat.Device
Writes a single byte of data to the given register.
writeImpl(byte, byte[], int, int) - Method in class net.freeutils.scrollphat.Device
Writes a series of bytes of data starting at the given register.
writeImpl(byte, int) - Method in class net.freeutils.scrollphat.JNADevDevice
 
writeImpl(byte, byte[], int, int) - Method in class net.freeutils.scrollphat.JNADevDevice
 
writeImpl(byte, byte[], int, int) - Method in class net.freeutils.scrollphat.MockDevice
 
writeImpl(byte, int) - Method in class net.freeutils.scrollphat.Pi4JDevice
 
writeImpl(byte, byte[], int, int) - Method in class net.freeutils.scrollphat.Pi4JDevice
 
writeVarint(OutputStream, long) - Static method in class net.freeutils.scrollphat.Utils
Writes a varint (variable-length integer) to a stream.
A B C D E F G H I J L M N O P R S T U W 
Skip navigation links

Copyright © 2017 freeutils.net. All rights reserved.