A B C D F G I J K L M N P R S T 

A

ALPHA_MASK - Static variable in class mikera.image.Colours
 
AppletApp - Class in mikera.gui
 
AppletApp() - Constructor for class mikera.gui.AppletApp
 

B

BackgroundPanel - Class in mikera.gui
Simple GUI component - panel with a tiled background
BackgroundPanel() - Constructor for class mikera.gui.BackgroundPanel
 
BackgroundPanel(LayoutManager) - Constructor for class mikera.gui.BackgroundPanel
 
BLUE_MASK - Static variable in class mikera.image.Colours
 
BufferedImageIcon - Class in mikera.gui
An Icon implementation that displays a BufferedImage
BufferedImageIcon(BufferedImage) - Constructor for class mikera.gui.BufferedImageIcon
 
BufferedImageIcon(BufferedImage, int, int, int, int) - Constructor for class mikera.gui.BufferedImageIcon
 
BufferedImageIcon(BufferedImage, int, int, int, int, int, int) - Constructor for class mikera.gui.BufferedImageIcon
 
BYTE_MASK - Static variable in class mikera.image.Colours
 

C

Colours - Class in mikera.image
Class providing static methods for manipulation of colour values
Colours() - Constructor for class mikera.image.Colours
 
createFrame(String) - Static method in class mikera.gui.Frames
Create a frame or get an existing frame with the specified title
createImageFrame(BufferedImage, String) - Static method in class mikera.gui.Frames
 

D

display(BufferedImage, String) - Static method in class mikera.gui.Frames
 
display(JComponent) - Static method in class mikera.gui.Frames
Display a component in a new standard frame
display(JComponent, String) - Static method in class mikera.gui.Frames
Display a component in a new standard frame with the given title
display(BufferedImage) - Static method in class mikera.gui.ImageUtils
 
display(BufferedImage, String) - Static method in class mikera.gui.ImageUtils
 
displayImage(BufferedImage, String) - Static method in class mikera.gui.Frames
Display an image in an image viewing frame.
Draw - Class in mikera.gui
Utility functions for drawing on a Graphics context
Draw() - Constructor for class mikera.gui.Draw
 
drawCentredText(Graphics, String, int, int) - Static method in class mikera.gui.Draw
 
drawImageTiled(Graphics, int, int, int, int, BufferedImage) - Static method in class mikera.gui.Draw
 
drawImageWithBorder(Graphics, int, int, int, int, BufferedImage, int, boolean) - Static method in class mikera.gui.Draw
 
drawOutlineRect(Graphics, int, int, int, int) - Static method in class mikera.gui.Draw
 
drawText(Graphics, int, int, int, int, String) - Static method in class mikera.gui.Draw
 

F

Frames - Class in mikera.gui
 
Frames() - Constructor for class mikera.gui.Frames
 
fromDouble3(double[], int) - Static method in class mikera.image.Colours
 
fromFloat3(float[], int) - Static method in class mikera.image.Colours
 
fromFloat4(float[], int) - Static method in class mikera.image.Colours
Converts an array of floats to an ARGB value

G

getAlpha(int) - Static method in class mikera.image.Colours
Gets the alpha value of an ARGB colour int
getARGB(int, int, int, int) - Static method in class mikera.image.Colours
 
getARGB(int, int, int) - Static method in class mikera.image.Colours
 
getARGB(int, int) - Static method in class mikera.image.Colours
 
getARGBClamped(double, double, double, double) - Static method in class mikera.image.Colours
Converts double component values to an ARGB int
getARGBClamped(float, float, float, float) - Static method in class mikera.image.Colours
Converts float component values to an ARGB int
getARGBClamped(int, int, int, int) - Static method in class mikera.image.Colours
 
getAttributedIterator(String) - Static method in class mikera.gui.Draw
 
getAttributedIterator(AttributedString) - Static method in class mikera.gui.Draw
 
getAttributedString(String) - Static method in class mikera.gui.Draw
 
getBlue(int) - Static method in class mikera.image.Colours
Gets the blue value of an ARGB colour int
getColor(int) - Static method in class mikera.image.Colours
 
getColor(int, int, int) - Static method in class mikera.image.Colours
 
getGreen(int) - Static method in class mikera.image.Colours
Gets the green value of an ARGB colour int
getIconAlignmentX() - Method in class mikera.gui.JIcon
 
getIconAlignmentY() - Method in class mikera.gui.JIcon
 
getIconHeight() - Method in class mikera.gui.BufferedImageIcon
 
getIconWidth() - Method in class mikera.gui.BufferedImageIcon
 
getImage() - Method in class mikera.gui.BackgroundPanel
 
getKey(int) - Method in class mikera.gui.interaction.Keys
 
getLuminance(int) - Static method in class mikera.image.Colours
Gets the luminance of an ARGB int
getMouseLocation() - Static method in class mikera.gui.Tools
 
getMouseX() - Static method in class mikera.gui.Tools
 
getMouseY() - Static method in class mikera.gui.Tools
 
getRed(int) - Static method in class mikera.image.Colours
Gets the red value of an ARGB colour int
getRGBClamped(float, float, float) - Static method in class mikera.image.Colours
Converts float component values to an ARGB int
getRGBClamped(double, double, double) - Static method in class mikera.image.Colours
Converts double component values to an ARGB int
getRGBColor(int) - Method in class mikera.image.Colours
 
getScreenSize() - Static method in class mikera.gui.Tools
 
GREEN_MASK - Static variable in class mikera.image.Colours
 

I

ImageUtils - Class in mikera.gui
Tools for image creation and handling
ImageUtils() - Constructor for class mikera.gui.ImageUtils
 
init() - Method in class mikera.gui.AppletApp
 

J

JIcon - Class in mikera.gui
A simple icon component that displays an unscaled bufferedimage
JIcon(BufferedImage) - Constructor for class mikera.gui.JIcon
 
JIcon(Icon) - Constructor for class mikera.gui.JIcon
 

K

keyPressed(KeyEvent) - Method in class mikera.gui.interaction.Keys
 
keyReleased(KeyEvent) - Method in class mikera.gui.interaction.Keys
 
Keys - Class in mikera.gui.interaction
 
Keys() - Constructor for class mikera.gui.interaction.Keys
 

L

loadImage(String) - Static method in class mikera.gui.ImageUtils
 
loadImage(URL) - Static method in class mikera.gui.ImageUtils
 

M

main(String[]) - Static method in class mikera.gui.AppletApp
 
main(String[]) - Static method in class mikera.gui.Frames
 
mikera.gui - package mikera.gui
 
mikera.gui.interaction - package mikera.gui.interaction
 
mikera.image - package mikera.image
 
MONO_FONT - Static variable in class mikera.gui.Draw
 

N

newImage(int, int) - Static method in class mikera.gui.ImageUtils
Creates a new ARGB bufferedimage of the specified size

P

paintComponent(Graphics) - Method in class mikera.gui.BackgroundPanel
 
paintComponent(Graphics) - Method in class mikera.gui.JIcon
 
paintIcon(Component, Graphics, int, int) - Method in class mikera.gui.BufferedImageIcon
 

R

randomARGBColour() - Static method in class mikera.image.Colours
Generates a random ARGB colour as a int
randomColour() - Static method in class mikera.gui.ImageUtils
 
RED_MASK - Static variable in class mikera.image.Colours
 
RGB_MASK - Static variable in class mikera.image.Colours
 

S

scaleImage(BufferedImage, int, int) - Static method in class mikera.gui.ImageUtils
 
setIconAlignmentX(double) - Method in class mikera.gui.JIcon
 
setIconAlignmentY(double) - Method in class mikera.gui.JIcon
 
setImage(BufferedImage) - Method in class mikera.gui.BackgroundPanel
 
setKey(int, boolean) - Method in class mikera.gui.interaction.Keys
 
showFrame(JFrame) - Static method in class mikera.gui.Frames
Shows a frame, making it visible as required

T

toFloat4(float[], int, int) - Static method in class mikera.image.Colours
Converts an ARGB value to a array of floats
toGreen(float) - Static method in class mikera.image.Colours
 
toGreyScale(int) - Static method in class mikera.image.Colours
Gets the grayscale equivalent of an ARGB int Sets alpha to 255 (fully opaque)
toGreyScale(float) - Static method in class mikera.image.Colours
 
toGreyScale(double) - Static method in class mikera.image.Colours
 
Tools - Class in mikera.gui
 
Tools() - Constructor for class mikera.gui.Tools
 
A B C D F G I J K L M N P R S T 

Copyright © 2013. All Rights Reserved.