Led Display Component v2.0
www.SwingLeddisplay.com
A C D E G I L N S T U W

A

ArrowToken - class com.swingleddisplay.elements.ArrowToken.
A token representation of an abstract trend.
ArrowToken() - Constructor for class com.swingleddisplay.elements.ArrowToken
Creates an ArrowToken with a constant trend
ArrowToken(ColorModel) - Constructor for class com.swingleddisplay.elements.ArrowToken
Creates an ArrowToken with a constant trend and a custom ColorModel

C

CENTER - Static variable in interface com.swingleddisplay.LedDisplay
Anchor constants
ColorModel - interface com.swingleddisplay.elements.ColorModel.
This interface is used to define color for turned-on leds of a Token.
com.swingleddisplay - package com.swingleddisplay
 
com.swingleddisplay.elements - package com.swingleddisplay.elements
 
createLedDisplay() - Static method in class com.swingleddisplay.LedDisplayFactory
Gets an instance of LedDisplay

D

DECREASING - Static variable in class com.swingleddisplay.elements.ArrowToken
Abstract value associated with a downward trend
DefaultColorModel - class com.swingleddisplay.elements.DefaultColorModel.
Simple implementation of ColorModel
DefaultColorModel() - Constructor for class com.swingleddisplay.elements.DefaultColorModel
default color is white
DefaultColorModel(Color) - Constructor for class com.swingleddisplay.elements.DefaultColorModel
use this constructor to set your own color
DisplayElement - interface com.swingleddisplay.elements.DisplayElement.
An extensible structure used as the base for the led display's item.

E

EAST - Static variable in interface com.swingleddisplay.LedDisplay
 

G

getArrowType() - Method in class com.swingleddisplay.elements.ArrowToken
Returns the trend of this ArrowToken
getColor() - Method in interface com.swingleddisplay.elements.ColorModel
Gets the color of a token
getColor() - Method in class com.swingleddisplay.elements.DefaultColorModel
 
getColorModel() - Method in class com.swingleddisplay.elements.Token
Gets the ColorModel used by this token
getComponent() - Method in interface com.swingleddisplay.LedDisplay
Gets the JComponent used to display the contents of the led display.
getDisplayValue() - Method in class com.swingleddisplay.elements.ArrowToken
Unused.
getDisplayValue() - Method in class com.swingleddisplay.elements.Token
Gets the String representation of the token that will be displayed
getTokens() - Method in interface com.swingleddisplay.elements.DisplayElement
Gets the element's tokens

I

INCREASING - Static variable in class com.swingleddisplay.elements.ArrowToken
Abstract value associated with an upward trend

L

LedDisplay - interface com.swingleddisplay.LedDisplay.
This interface is a proxy for the led display class which is a JComponent that is obtained via getComponent method.
LedDisplayFactory - class com.swingleddisplay.LedDisplayFactory.
Factory class for LedDisplay objects
LedDisplayFactory() - Constructor for class com.swingleddisplay.LedDisplayFactory
 

N

NORTH - Static variable in interface com.swingleddisplay.LedDisplay
 
NORTHEAST - Static variable in interface com.swingleddisplay.LedDisplay
 
NORTHWEST - Static variable in interface com.swingleddisplay.LedDisplay
 

S

SOUTH - Static variable in interface com.swingleddisplay.LedDisplay
 
SOUTHEAST - Static variable in interface com.swingleddisplay.LedDisplay
 
SOUTHWEST - Static variable in interface com.swingleddisplay.LedDisplay
 
setAnchor(int) - Method in interface com.swingleddisplay.LedDisplay
Sets the location of the element on the display when the display area is larger than the element.
setBackgroundColor(Color) - Method in interface com.swingleddisplay.LedDisplay
Sets the background color of the display
setColor(Color) - Method in interface com.swingleddisplay.elements.ColorModel
Sets the color of a token
setColor(Color) - Method in class com.swingleddisplay.elements.DefaultColorModel
 
setColorModel(ColorModel) - Method in class com.swingleddisplay.elements.Token
Sets the color model of this token
setDisplayElement(DisplayElement) - Method in interface com.swingleddisplay.LedDisplay
Sets display's element
setDotGaps(int, int) - Method in interface com.swingleddisplay.LedDisplay
Sets the gaps, in pixels, between two display leds.
setDotOffColor(Color) - Method in interface com.swingleddisplay.LedDisplay
Sets the color of a turned-off led
setDotSize(int, int) - Method in interface com.swingleddisplay.LedDisplay
Sets the dimensions, in pixels, of the display's led Default values are (1, 1).
setPadding(int, int, int, int) - Method in interface com.swingleddisplay.LedDisplay
Sets the number of dots separating the element from the edges of the component.
setTokenGap(int) - Method in interface com.swingleddisplay.LedDisplay
Sets the gap, in dots, between two tokens of an element.
setValue(Object) - Method in class com.swingleddisplay.elements.ArrowToken
Sets the token's value, which its defined by a trend.
setValue(Object) - Method in class com.swingleddisplay.elements.Token
Sets the token's value

T

Token - class com.swingleddisplay.elements.Token.
This abstract class represents an item of a com.swingleddisplay.AbstractDisplayElement.
Token() - Constructor for class com.swingleddisplay.elements.Token
Creates a token with a DefaultColorModel
Token(ColorModel) - Constructor for class com.swingleddisplay.elements.Token
Creates a token with a custom ColorModel

U

UNCHANGED - Static variable in class com.swingleddisplay.elements.ArrowToken
Abstract value associated with a constant trend
update() - Method in interface com.swingleddisplay.LedDisplay
Signals the display that the element changed it's value and that it's led display should be updated.

W

WEST - Static variable in interface com.swingleddisplay.LedDisplay
 

A C D E G I L N S T U W
Led Display Component v2.0
www.SwingLeddisplay.com