A B C D E F G H M O P R S T V W Y 

A

addTagClickListener(TagClickListener) - Method in class org.TagCloud.TagCloud
Register a TagClickListener to receive the word a user clicked on.

B

BLACK_WHITE_COLORS - Static variable in class org.TagCloud.ColorProviders.BlackToWhiteGradient
Predefined colors for a Black to White gradient
BlackToWhiteGradient - Class in org.TagCloud.ColorProviders
A ColorProvider that returns a color on the gradient from Black to White based on the suplied weight
BlackToWhiteGradient() - Constructor for class org.TagCloud.ColorProviders.BlackToWhiteGradient
 
BMIColorProvider - Class in org.TagCloud.ColorProviders
A ColorProvider that returns colors based on the BMI classification of the colorSize value.
BMIColorProvider() - Constructor for class org.TagCloud.ColorProviders.BMIColorProvider
 

C

Cities - Class in org.TagCloud.Sample
This class creates an list of WeightedWords list of cities and their (out of date) population taken form Wikipedia to illustrate the TagCloud.
Cities() - Constructor for class org.TagCloud.Sample.Cities
List of cities and their population
ColorInterpolator - Class in org.TagCloud
This abstract class can interpolate a color from a set of color points based on weight 0 to 1.
ColorInterpolator() - Constructor for class org.TagCloud.ColorInterpolator
 
ColorPicker - Class in org.TagCloud
This class picks the nearest color based on weight
ColorPicker() - Constructor for class org.TagCloud.ColorPicker
 
ColorProvider - Interface in org.TagCloud
Defines the method signature of a call to retrieve the color for a given weight
Countries - Class in org.TagCloud.Sample
This class creates a List of WeightedWords countries and their (out of date) population taken form Wikipedia to illustrate the TagCloud.
Countries() - Constructor for class org.TagCloud.Sample.Countries
List of countries and their population

D

doTagClicked(WeightedWordInterface) - Method in class org.TagCloud.Sample.SampleTagCloud
handles the click on a word

E

EuropeanCities - Class in org.TagCloud.Sample
This class creates a List of WeightedWords for European cities and their (out of date) population taken from the Internet to illustrate the TagCloud.
EuropeanCities() - Constructor for class org.TagCloud.Sample.EuropeanCities
List of European Cities

F

FontProvider - Interface in org.TagCloud
Defines the method called to retrieve the font for a given weight

G

getColor(float, int) - Method in class org.TagCloud.ColorInterpolator
This method returns a color along a multi point color gradiant.
getColor(float, int) - Method in class org.TagCloud.ColorPicker
This method returns the nearest color from a set and ignores the value parameter
getColor(float, int) - Method in interface org.TagCloud.ColorProvider
The implementing class must return an appropriate color for the supplied weight
getColor(float, int) - Method in class org.TagCloud.ColorProviders.BMIColorProvider
Returns the color for the supplied value
getColorPoints() - Method in class org.TagCloud.ColorInterpolator
The extending class must implement this method and provide an array of colors
getColorPoints() - Method in class org.TagCloud.ColorPicker
The extending class must implement this method and provide an array of colors
getColorPoints() - Method in class org.TagCloud.ColorProviders.BlackToWhiteGradient
Returns the two colors to the ColorInterpolator
getColorPoints() - Method in class org.TagCloud.ColorProviders.SampleGradientColors
Provides the color points to the ColorInterpolator
getColorPoints() - Method in class org.TagCloud.ColorProviders.ShadesOfLightBlue
Returns two blue colors to the ColorInterpolator
getColorPoints() - Method in class org.TagCloud.ColorProviders.YellowBrownGradient
Provides the color points to the ColorInterpolator
getColorPoints() - Method in class org.TagCloud.ColorProviders.YellowOrBrown
Returns the colors to the ColorPicker
getColorValue() - Method in class org.TagCloud.WeightedWord
Returns the value for the color
getColorValue() - Method in interface org.TagCloud.WeightedWordInterface
Returns the value for the color
getColorValueSortedTreeSet() - Method in class org.TagCloud.WordAnalyser
This method returns a TreeSet of the index numbers of the weightedWords list where the indexes are sorted by the colorValue of the weighted word.
getColorWeight() - Method in class org.TagCloud.WeightedWord
Returns the colorWeight
getColorWeight() - Method in interface org.TagCloud.WeightedWordInterface
Returns the colorWeight
getColorWeight(int) - Method in class org.TagCloud.WordAnalyser
Figures out the weight from 0 to 1 based on the supplied color value
getFont(float, int) - Method in interface org.TagCloud.FontProvider
The implementing class must return an appropriate font for the supplied weight
getFont(float, int) - Method in class org.TagCloud.FontProviders.HeavyFontProvider
Returns the font for the specified weight
getFont(float, int) - Method in class org.TagCloud.FontProviders.SansSerifFontProvider
Returns the font for the specified weight
getFont(float, int) - Method in class org.TagCloud.FontProviders.SerifFontProvider
Returns the font for the specified weight
getMaxColorValue() - Method in class org.TagCloud.WordAnalyser
Returns the highest value of the color value
getMaxSizeValue() - Method in class org.TagCloud.WordAnalyser
Returns the highest value of the size values
getMinColorValue() - Method in class org.TagCloud.WordAnalyser
Returns the lowest value of the color value
getMinSizeValue() - Method in class org.TagCloud.WordAnalyser
Returns the lowest value of the size values
getMouseoverColor() - Method in class org.TagCloud.TagCloudJLabel
Returns the color to use when the mouse moves over the word
getPreferredScrollableViewportSize() - Method in class org.TagCloud.VerticalGrowJPanel
Source: http://forums.sun.com/thread.jspa?forumID=57&threadID=5117549&start=7
getPreferredSize() - Method in class org.TagCloud.VerticalGrowJPanel
This method gets called by the JSCrollPane to figure out the size of the Viewport.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class org.TagCloud.VerticalGrowJPanel
Source: http://forums.sun.com/thread.jspa?forumID=57&threadID=5117549&start=7
getScrollableTracksViewportHeight() - Method in class org.TagCloud.VerticalGrowJPanel
Allows the JPanel to grow vertically beyond the height of the JScrollPane Viewport.
getScrollableTracksViewportWidth() - Method in class org.TagCloud.VerticalGrowJPanel
Forces FlowLayout to stop growing horizontally at the width of the JScrollPane's Viewport width.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class org.TagCloud.VerticalGrowJPanel
Source: http://forums.sun.com/thread.jspa?forumID=57&threadID=5117549&start=7
getSizeValue() - Method in class org.TagCloud.WeightedWord
Returns the value for the size
getSizeValue() - Method in interface org.TagCloud.WeightedWordInterface
Returns the value for the size
getSizeValueSortedTreeSet() - Method in class org.TagCloud.WordAnalyser
This method returns a TreeSet of the index numbers of the weightedWords list where the indexes are sorted by the sizeValue of the weighted word.
getSizeWeight() - Method in class org.TagCloud.WeightedWord
Returns the sizeWeight
getSizeWeight() - Method in interface org.TagCloud.WeightedWordInterface
Returns the sizeWeight
getSizeWeight(int) - Method in class org.TagCloud.WordAnalyser
Returns the weight from 0 to 1 for a given size value
getTopWordsColorWeighted(int) - Method in class org.TagCloud.WordAnalyser
Returns an alphabetical List of the the first n words as per the ColorValue order
getTopWordsSizeWeighted(int) - Method in class org.TagCloud.WordAnalyser
Returns an alphabetical List of the the first n words as per the SizeValue order
getWeightedWord() - Method in class org.TagCloud.TagCloudJLabel
Returns the WeightedWord for the Label
getWeightedWords() - Method in class org.TagCloud.WordAnalyser
Returns the list of WeightedWords
getWord() - Method in class org.TagCloud.WeightedWord
Returns the String of the word
getWord() - Method in interface org.TagCloud.WeightedWordInterface
Returns the String of the word
getWord(int) - Method in class org.TagCloud.WordAnalyser
Returns the word for the index
getWordsList() - Method in class org.TagCloud.TagCloud
This method returns the WeightedWords List shown in the TagCloud.

H

HeavyFontProvider - Class in org.TagCloud.FontProviders
An implementation of the FontList interface with large fat Sans Serif fonts
HeavyFontProvider() - Constructor for class org.TagCloud.FontProviders.HeavyFontProvider
 

M

main(String[]) - Static method in class org.TagCloud.Sample.SampleTagCloud
Make this class directly executable.

O

org.TagCloud - package org.TagCloud
Classes to build a JPanel with words in varying font size and color according to importance
org.TagCloud.ColorProviders - package org.TagCloud.ColorProviders
 
org.TagCloud.FontProviders - package org.TagCloud.FontProviders
 
org.TagCloud.Sample - package org.TagCloud.Sample
Samples App to demonstrate the capabilities of the Tag Cloud

P

People - Class in org.TagCloud.Sample
This class creates a list of People with their height and BMI.
People() - Constructor for class org.TagCloud.Sample.People
Short list of cities

R

removeTagClickListener(TagClickListener) - Method in class org.TagCloud.TagCloud
Remove the specified TagClickListener.

S

SAMPLE_GRADIENT_COLORS - Static variable in class org.TagCloud.ColorProviders.SampleGradientColors
Sample gradient color points
SampleGradientColors - Class in org.TagCloud.ColorProviders
A multi color gradient.
SampleGradientColors() - Constructor for class org.TagCloud.ColorProviders.SampleGradientColors
 
SampleTagCloud - Class in org.TagCloud.Sample
Shows how to generate a sample tag cloud
SampleTagCloud() - Constructor for class org.TagCloud.Sample.SampleTagCloud
Creates the JFrame, control widgets and TagCloud
SansSerifFontProvider - Class in org.TagCloud.FontProviders
An implementation of the FontList interface with Sans Serif fonts
SansSerifFontProvider() - Constructor for class org.TagCloud.FontProviders.SansSerifFontProvider
 
SerifFontProvider - Class in org.TagCloud.FontProviders
An implementation of the FontList interface with Sans Serif fonts
SerifFontProvider() - Constructor for class org.TagCloud.FontProviders.SerifFontProvider
 
setColorProvider(ColorProvider) - Method in class org.TagCloud.TagCloud
Sets the color Provider of the tagCloudJLabels
setColorProvider(ColorProvider) - Method in class org.TagCloud.TagCloudJLabel
Sets the color provider for the label.
setColorWeight(float) - Method in class org.TagCloud.WeightedWord
Sets the colorWeight
setColorWeight(float) - Method in interface org.TagCloud.WeightedWordInterface
Sets the colorWeight
setFontProvider(FontProvider) - Method in class org.TagCloud.TagCloud
Sets the font Provider of the tagCloudJLabels
setFontProvider(FontProvider) - Method in class org.TagCloud.TagCloudJLabel
Allows the Font provider to be set.
setMaxWordsToShow(int) - Method in class org.TagCloud.TagCloud
Sets the maximum number of words to show.
setMouseOverColor(Color) - Method in class org.TagCloud.TagCloud
Sets the color to use on a mouseover event
setMouseoverColor(Color) - Method in class org.TagCloud.TagCloudJLabel
Sets the color to use when the mouse moves over the word
setSizeWeight(float) - Method in class org.TagCloud.WeightedWord
Sets the sizeWeight
setSizeWeight(float) - Method in interface org.TagCloud.WeightedWordInterface
Sets the sizeWeight
setWordsList(List<WeightedWordInterface>) - Method in class org.TagCloud.TagCloud
This method receives the WeightedWordInterface list of the words to be shown in the TagCloud and puts them on the container removing any that might have been there before.
ShadesOfLightBlue - Class in org.TagCloud.ColorProviders
A ColorProvider that returns a shade of light blue based on the supplied weight
ShadesOfLightBlue() - Constructor for class org.TagCloud.ColorProviders.ShadesOfLightBlue
 
ShortCitiesList - Class in org.TagCloud.Sample
This class creates a list of WeightedWords with just 3 cities to illustrate the TagCloud on a short list.
ShortCitiesList() - Constructor for class org.TagCloud.Sample.ShortCitiesList
Short list of cities

T

tagClicked(WeightedWordInterface) - Method in interface org.TagCloud.TagClickListener
The implementing class should implement this method to get notified which word the user clicked on
TagClickListener - Interface in org.TagCloud
Notifies a listener that a tag was selected by the user
TagCloud - Class in org.TagCloud
A controller that constructs the TagCloud of Labels and handles mouse clicks, sending them on to TagClickListeners.
TagCloud() - Constructor for class org.TagCloud.TagCloud
Constructor to call to create a new TagCloud.
TagCloudJLabel - Class in org.TagCloud
A JLabel that shows a word (in a Tag Cloud) with a color that changes depending on a percentage and a size that increases with a percentage.
TagCloudJLabel(WeightedWordInterface) - Constructor for class org.TagCloud.TagCloudJLabel
Constructs a Word Label with default styles
TagCloudJLabel(WeightedWordInterface, FontProvider, ColorProvider, Color) - Constructor for class org.TagCloud.TagCloudJLabel
Constructs a Word Label

V

VerticalGrowJPanel - Class in org.TagCloud
A JPanel that grows vertically while maintaining the with of it's parent JScrollpane.
VerticalGrowJPanel() - Constructor for class org.TagCloud.VerticalGrowJPanel
 

W

WeightedWord - Class in org.TagCloud
Stores the attributes of a word for the Tag Cloud.
WeightedWord(String, int) - Constructor for class org.TagCloud.WeightedWord
Constructs a word with the same value for the size and color
WeightedWord(String, int, int) - Constructor for class org.TagCloud.WeightedWord
Constructs the word
WeightedWordInterface - Interface in org.TagCloud
The interface that the words must conform to
WordAnalyser - Class in org.TagCloud
This class does the processing and filtering of the words
WordAnalyser(List<WeightedWordInterface>) - Constructor for class org.TagCloud.WordAnalyser
Creates a new WordAnalyzer with the supplied list of WeightedWords.

Y

YellowBrownGradient - Class in org.TagCloud.ColorProviders
A ColorProvider that returns a color from Yellow to Brown
YellowBrownGradient() - Constructor for class org.TagCloud.ColorProviders.YellowBrownGradient
 
YellowOrBrown - Class in org.TagCloud.ColorProviders
A ColorProvider that returns either yellow or brown
YellowOrBrown() - Constructor for class org.TagCloud.ColorProviders.YellowOrBrown
 
A B C D E F G H M O P R S T V W Y