Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractCarouselMenuAction - Class in com.blogofbug.swing.components
An action for the CarouselMenuAction.
AbstractCarouselMenuAction(URL, String) - Constructor in AbstractCarouselMenuAction
Creates a new instance of AbstractCarouselMenuAction
AbstractImageBorder - Class in com.blogofbug.swing.borders
@author nigel
AbstractImageBorder(BufferedImage, Insets) - Constructor in AbstractImageBorder
Creates a new ImageBorder using the supplied image and the insets
ACTION_IMAGE_URL - Field in AbstractCarouselMenuAction
A very high resolution (recommend at leat 128x128) image to associate with the action
action - Field in JCarouselMenu.MenuItem
An associated action
actionPerformed(ActionEvent) - Method in CaroselLayout
Manages timer actions, terminating the timer if any event is fully achieved
actionPerformed(ActionEvent) - Method in ImageFlow.AutoScroller
actionPerformed(ActionEvent) - Method in ImageFlow.FaderAction
add(String, String) - Method in JCarosel
Adds a new image to the carousel
add(String, String) - Method in JCarouselMenu
Adds an image based on the imageURL and a text label, returning the component that is created as a result
addInputListeners() - Method in ImageFlow
additionalData - Field in CaroselLayout
List of additional information held on components in the carousel
addLayoutComponent(String, Component) - Method in CaroselLayout
Name is ignored
addLayoutComponent(String, Component) - Method in StackLayout
addListSelectionListener(ListSelectionListener) - Method in ImageFlow
Adds a listener to the list that's notified each time a change to the selection occur
adjust() - Method in ImageFlow
alphaComposite - Field in ReflectedImageLabel
The desired alpha composite
alphaLevel - Field in ImageFlow
amount - Field in ImageFlow
angle - Field in CaroselLayout.CaroselPosition
ANIM_SCROLL_DELAY - Field in ImageFlow
animationTimer - Field in CaroselLayout
Time for driving animations
applyAlphaMask(BufferedImage, BufferedImage, int, int) - Method in CrystalCaseFactory

B

borderImage - Field in AbstractImageBorder
borderRenderer - Field in ImageBorder
BOTTOM - Field in StackLayout
bringToFront(Component) - Method in JCarosel
Brings the specified component to the front of the carousel
bufferedImage - Field in ReflectedImageLabel
The image with reflection

C

cache - Field in GradientPanel
A pre-rendered gradient in an image
calculateCenter(Insets, int, int, int) - Method in CaroselLayout
Determines the center of the carousel
calculateCenter(Insets, int, int, int) - Method in OffsetCaroselLayout
Determines the center of the carousel based on the dimensions of the container
CaroselLayout - Class in com.blogofbug.swing.layout
Layout engine for JCarousel components (although would work for any container).
CaroselLayout.CaroselPosition - Class in com.blogofbug.swing.layout
CaroselLayout.CaroselPosition(Component) - Constructor in CaroselLayout.CaroselPosition
CaroselLayout(Container) - Constructor in CaroselLayout
Creates a new instance of the layout engine, tied to the specified container.
carousel - Field in JCarouselMenu
The carousel used and drawn on the left.
carouselComponent - Field in JCarouselMenu.MenuItem
The component inside the caroulse
compareTo(Object) - Method in ImageFlow.DrawableItem
component - Field in CaroselLayout.CaroselPosition
componentHidden(ComponentEvent) - Method in GradientPanel
Not used *
componentHidden(ComponentEvent) - Method in GradientPanel.GradientCacheManager
componentMoved(ComponentEvent) - Method in GradientPanel
Not used *
componentMoved(ComponentEvent) - Method in GradientPanel.GradientCacheManager
componentResized(ComponentEvent) - Method in GradientPanel
Recalculates the gradient when it's resized
componentResized(ComponentEvent) - Method in GradientPanel.GradientCacheManager
componentResized(ComponentEvent) - Method in ImageFlow.DamageManager
components - Field in CaroselLayout
List of components being laid out
components - Field in StackLayout
componentShown(ComponentEvent) - Method in GradientPanel
Ignored
componentShown(ComponentEvent) - Method in GradientPanel.GradientCacheManager
computeEquationParts() - Method in ImageFlow
computeModifier(double) - Method in ImageFlow
computeModifierUnprotected(double) - Method in ImageFlow
container - Field in CaroselLayout
The container the layout is... laying out
contentsChanged(ListDataEvent) - Method in ImageFlow.RepaintListDataListener
copyImage(BufferedImage) - Method in ImageUtilities
Produces a copy of the supplied image
createCompatibleImage(int, int) - Method in ImageUtilities
Creates an image compatible with the current display
createCrystalCase(Image) - Method in CrystalCaseFactory
createGradientMask(int, int) - Method in CrystalCaseFactory
createImageCache() - Method in GradientPanel
createReflectedPicture(BufferedImage, BufferedImage) - Method in CrystalCaseFactory
createReflection(BufferedImage, int, int) - Method in CrystalCaseFactory
CrystalCaseFactory - Class in griffon.coverflow.ui
The original code is from Romain Guy's example "A Music Shelf in Java2D".
CrystalCaseFactory() - Constructor in CrystalCaseFactory
cursorChanger - Field in ImageFlow

D

damaged - Field in ImageFlow
dataModel - Field in ImageFlow
DEFAULT_CONTENT_WIDTH - Field in JCarosel
The prefered width of the components in the container, everything will be scaled to this width for neutral scaling (1.0)
depthBasedAlpha - Field in CaroselLayout
Should items furtehr away from the observer be faded out?
disposeImageCache() - Method in GradientPanel
doPaint - Field in JCarouselMenu.UpDownButton
True if they should be painted
downButton - Field in JCarouselMenu
The button shown when you can scroll down
drawableItems - Field in ImageFlow
drawItemName(Graphics2D) - Method in ImageFlow
drawItems(Graphics2D, ImageFlow.DrawableItem) - Method in ImageFlow
drawSlice(Graphics2D, int, int, int, int, int, int) - Method in AbstractImageBorder
Draws a slicde from the specified image onto the graphics area

E

end - Field in GradientPanel
Gradient end color
exp_member - Field in ImageFlow
exp_multiplier - Field in ImageFlow

F

faderTimer - Field in ImageFlow
file - Field in ImageFlowItem.FileLazyImageLoader
finalizeLayoutImmediately() - Method in CaroselLayout
Moves everything to their "target" positions, without animating anything
finalizeLayoutImmediately() - Method in JCarosel
Moves everything to their final positions
firstSet - Field in CaroselLayout.CaroselPosition
focusGrabber - Field in ImageFlow
FRONT_COMPONENT_CHANGE - Field in JCarosel
The property that is set when a new component comes to the front.
fx - Field in ImageFlow

G

getAction() - Method in JCarouselMenu.MenuItem
Gets the action associated with the entry
getAlpha() - Method in ImageFlow.DrawableItem
getAmount() - Method in ImageFlow
getAngle() - Method in CaroselLayout
Returns the current rotational angle
getAngle() - Method in CaroselLayout.CaroselPosition
getBorderInsets(Component, Insets) - Method in ImageBorder
Gets the insets of the image and returns in the in the supplied Insets instance
getCarouselComponent() - Method in JCarouselMenu.MenuItem
Gets the component in the carousel associated with the entry
getCarouselRadius(Container, Insets, int, int, int) - Method in CaroselLayout
Determines the correct size of the carousel for the container
getCarouselRadius(Container, Insets, int, int, int) - Method in OffsetCaroselLayout
Determines how "wide" the carousel should be drawn based on the side of the container the layout is laying out
getComponent() - Method in CaroselLayout.CaroselPosition
getComponentCount() - Method in CaroselLayout
The number of components being laid out.
getComponentIndex(Component) - Method in CaroselLayout
Gets the index of the supplied component
getFrontmost() - Method in JCarosel
Which component is at the front
getGradientEnd() - Method in GradientPanel
Returns the ending Color of the gradient.
getGradientStart() - Method in GradientPanel
Returns the starting Color of the gradient.
getHeight() - Method in ImageFlow.DrawableItem
getHitItem(int, int) - Method in ImageFlow
getImage() - Method in ImageFlowItem
Returns the Image of this item.
getImage() - Method in ImageFlowItem.LazyImageLoader
getImageInsets() - Method in AbstractImageBorder
getIndex() - Method in ImageFlow.DrawableItem
getInstance() - Method in CrystalCaseFactory
getItemAt(int) - Method in ImageFlow
getItemFont() - Method in ImageFlow
Returns the Font used for drawing an item's label.
getItemSpacing() - Method in ImageFlow
getItemTextColor() - Method in ImageFlow
Returns the Color used to draw an item's label.
getLabel() - Method in ImageFlowItem
Returns the item's label.
getLabel() - Method in JCarouselMenu.MenuItem
Retreives the label associated with the entry
getLayoutAlignmentX(Container) - Method in StackLayout
getLayoutAlignmentY(Container) - Method in StackLayout
getList() - Method in JCarouselMenu
Returns the list part of the carousel menu
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in JCarouselMenu.CarouselListCellRenderer
Sets up the component for stamping
getLoadingClass() - Method in ImageFlowItem.Resource
getMaxSelectionIndex() - Method in ImageFlow
List Methods
getMinimumSize() - Method in ImageFlow
getMinSelectionIndex() - Method in ImageFlow
Returns the smallets selected cell index
getModel() - Method in ImageFlow
Returns the data model that holds the list of items displayed by the ImageFlow component.
getNeutralContentWidth() - Method in CaroselLayout
The size of comopnents a neutral width
getNextComponent(Component) - Method in CaroselLayout
Retrieve the component after the specified one.
getPosition(Component) - Method in CaroselLayout
Gets the additional data stored by the layout manager for a given component
getPosition() - Method in ImageFlow.DrawableItem
getPreferredSize() - Method in ImageFlow
getPreferredSize() - Method in JCarouselMenu
Return the preferred size of the component
getPreferredSize() - Method in JCarouselMenu.CarouselListCellRenderer
I want it to be wider than it needs to be
getPreferredSize() - Method in ReflectedImageLabel
Overrides the default getPreferedSize() which has been controlled by the created image and adds 50% onto the height to allow for the reflection.
getPreviousComponent(Component) - Method in CaroselLayout
Retrieve the component before the specified one.
getResource() - Method in ImageFlowItem.Resource
getResourceAsStream() - Method in ImageFlowItem.Resource
getResourceName() - Method in ImageFlowItem.Resource
getRichText() - Method in ReflectedImageLabel
See interface definition
getRichText() - Method in RichComponent
Gets the text to be displayed by the RichContainer for the component.
getScale(double, double, double, double, double) - Method in CaroselLayout
Determines the scale to be applied to the component.
getScale() - Method in CaroselLayout.CaroselPosition
getSelectedIndex() - Method in ImageFlow
Returns the first selected index; returns -1 if there is no selected item
getSelectedValue() - Method in ImageFlow
Returns the first selected value, or null if the selection is empty.
getSigma() - Method in ImageFlow
getSpinStartDelay() - Method in JCarosel
Returns the spin start delay
getTargetAngle() - Method in CaroselLayout.CaroselPosition
getWidth() - Method in ImageFlow.DrawableItem
getX() - Method in ImageFlow.DrawableItem
getY() - Method in ImageFlow.DrawableItem
getZ() - Method in CaroselLayout.CaroselPosition
gp - Field in GradientPanel
Gradient painter
GRADIENT_END - Field in GradientPanel
GRADIENT_START - Field in GradientPanel
gradientEnd - Field in GradientPanel
gradientImage - Field in GradientPanel
GradientPanel - Class in com.blogofbug.swing.components
Container that draws (in an optimized way) a gradient in the background
GradientPanel.GradientCacheManager - Class in griffon.coverflow.ui
GradientPanel.GradientCacheManager() - Constructor in GradientPanel.GradientCacheManager
GradientPanel() - Constructor in GradientPanel
gradientStart - Field in GradientPanel

H

height - Field in ImageFlow.DrawableItem

I

image - Field in ImageFlowItem.ImageLazyImageLoader
image - Field in ImageFlowItem.LazyImageLoader
ImageBorder - Class in com.blogofbug.swing.borders
ImageBorder takes an image and breaks out the corners and the top, left, right, and bottom borders stretching them to fill the space around which the border is drawn
ImageBorder(URL, Insets) - Constructor in ImageBorder
Creates a new ImageBofder loading the image from the supplied URL
imageBorder - Field in JCarouselMenu.CarouselListCellRenderer
ImageFlow - Class in griffon.coverflow.ui
About this Code

The original code is from Romain Guy's example "A Music Shelf in Java2D".

ImageFlow.AutoScroller - Class in griffon.coverflow.ui
ImageFlow.AutoScroller(DrawableItem) - Constructor in ImageFlow.AutoScroller
ImageFlow.CursorChanger - Class in griffon.coverflow.ui
ImageFlow.CursorChanger() - Constructor in ImageFlow.CursorChanger
ImageFlow.DamageManager - Class in griffon.coverflow.ui
ImageFlow.DamageManager() - Constructor in ImageFlow.DamageManager
ImageFlow.DrawableItem - Class in griffon.coverflow.ui
ImageFlow.DrawableItem(int, double, double, int, int, double, double) - Constructor in ImageFlow.DrawableItem
ImageFlow.FaderAction - Class in griffon.coverflow.ui
ImageFlow.FaderAction() - Constructor in ImageFlow.FaderAction
ImageFlow.FocusGrabber - Class in griffon.coverflow.ui
ImageFlow.FocusGrabber() - Constructor in ImageFlow.FocusGrabber
ImageFlow.ItemScroller - Class in griffon.coverflow.ui
ImageFlow.ItemScroller() - Constructor in ImageFlow.ItemScroller
ImageFlow.KeyItemSelector - Class in griffon.coverflow.ui
ImageFlow.KeyItemSelector() - Constructor in ImageFlow.KeyItemSelector
ImageFlow.KeyScroller - Class in griffon.coverflow.ui
ImageFlow.KeyScroller() - Constructor in ImageFlow.KeyScroller
ImageFlow.MouseItemSelector - Class in griffon.coverflow.ui
ImageFlow.MouseItemSelector() - Constructor in ImageFlow.MouseItemSelector
ImageFlow.MouseWheelScroller - Class in griffon.coverflow.ui
ImageFlow.MouseWheelScroller() - Constructor in ImageFlow.MouseWheelScroller
ImageFlow.RepaintListDataListener - Class in griffon.coverflow.ui
ImageFlow.RepaintListDataListener() - Constructor in ImageFlow.RepaintListDataListener
ImageFlow(ListModel) - Constructor in ImageFlow
Constructs a ImageFlow that displays elements from the specified, non-null, model.
ImageFlowFactory - Class in griffon.coverflow.factory
@author Andres.Almiray
ImageFlowFactory() - Constructor in ImageFlowFactory
ImageFlowItem - Class in griffon.coverflow.ui
Defines an item that can be displayed in an ImageFlow.
ImageFlowItem.FileLazyImageLoader - Class in griffon.coverflow.ui
ImageFlowItem.FileLazyImageLoader(File) - Constructor in ImageFlowItem.FileLazyImageLoader
ImageFlowItem.ImageLazyImageLoader - Class in griffon.coverflow.ui
ImageFlowItem.ImageLazyImageLoader(Image) - Constructor in ImageFlowItem.ImageLazyImageLoader
ImageFlowItem.InputStreamLazyImageLoader - Class in griffon.coverflow.ui
ImageFlowItem.InputStreamLazyImageLoader(InputStream) - Constructor in ImageFlowItem.InputStreamLazyImageLoader
ImageFlowItem.LazyImageLoader - Class in griffon.coverflow.ui
ImageFlowItem.LazyImageLoader() - Constructor in ImageFlowItem.LazyImageLoader
ImageFlowItem.Resource - Class in griffon.coverflow.ui
Helper class to locate classpath resources.
ImageFlowItem.Resource(String, Class) - Constructor in ImageFlowItem.Resource
ImageFlowItem.ResourceLazyImageLoader - Class in griffon.coverflow.ui
ImageFlowItem.ResourceLazyImageLoader(Resource) - Constructor in ImageFlowItem.ResourceLazyImageLoader
ImageFlowItem.URLLazyImageLoader - Class in griffon.coverflow.ui
ImageFlowItem.URLLazyImageLoader(URL) - Constructor in ImageFlowItem.URLLazyImageLoader
ImageFlowItem(ImageFlowItem.LazyImageLoader, String) - Constructor in ImageFlowItem
ImageFlowItemFactory - Class in griffon.coverflow.factory
@author Andres.Almiray
ImageFlowItemFactory() - Constructor in ImageFlowItemFactory
imageIcon - Field in ImageLabel
The image that ends up getting scaled
imageInsets - Field in AbstractImageBorder
ImageLabel - Class in com.blogofbug.swing.components
A simple component that scales an image to fit inside the size of the component.
ImageLabel(ImageIcon, int, int) - Constructor in ImageLabel
Creates a new instance of ImageLabel, setting the preferred rendering size to the supplied dimensions
imageLoader - Field in ImageFlowItem
ImageUtilities - Class in com.blogofbug.utility
Static class with utility methods for images
ImageUtilities() - Constructor in ImageUtilities
index - Field in ImageFlow.AutoScroller
index - Field in ImageFlow.DrawableItem
initInputListeners() - Method in ImageFlow
insertAt(int, String, String, int, int) - Method in JCarosel
Inserts a new object at a specific location
insertComponentAt(int, Component) - Method in JCarosel
Inserts a component at the specified index
instance - Field in CrystalCaseFactory
intervalAdded(ListDataEvent) - Method in ImageFlow.RepaintListDataListener
intervalRemoved(ListDataEvent) - Method in ImageFlow.RepaintListDataListener
invalidateLayout(Container) - Method in StackLayout
invokeAfter(Runnable, int) - Method in SwingBugUtilities
Runs the supplied class after a certain period of time, the thread will be executed in the EDT.
is - Field in ImageFlowItem.InputStreamLazyImageLoader
isAnimating() - Method in CaroselLayout
Determines if an animation is currently playing
isAnimating() - Method in CaroselLayout.CaroselPosition
isFocusable() - Method in ImageFlow
isOpaque() - Method in ImageFlow
isSelectedIndex(int) - Method in ImageFlow
Returns true if the specified index is selected.
itemFont - Field in ImageFlow
itemIndex - Field in ImageFlow
itemPosition - Field in ImageFlow
itemScroller - Field in ImageFlow
itemSpacing - Field in ImageFlow
itemText - Field in ImageFlow
itemTextColor - Field in ImageFlow

J

JCarosel - Class in com.blogofbug.swing.components
A carousel component which lays out components around a carousel, moving each to the front as it is clicked on.
JCarosel(int) - Constructor in JCarosel
Creates a new Carousel specifying the prefered width up front
JCarouselMenu - Class in com.blogofbug.swing.components
Shows a carousel offset to the left with a menu of actions on the right.
JCarouselMenu.CarouselListCellRenderer - Class in com.blogofbug.swing.components
ListCellRenderer for the Carousel uses an image border to draw a nice border around the menu item when it is selected
JCarouselMenu.CarouselListCellRenderer(ImageBorder) - Constructor in JCarouselMenu.CarouselListCellRenderer
Creates a new list cell renderer for the menu with the specified image border
JCarouselMenu.MenuItem - Class in com.blogofbug.swing.components
A menu item inside the carousel
JCarouselMenu.MenuItem(Component, String, Action) - Constructor in JCarouselMenu.MenuItem
Creates a new instance of the menu item
JCarouselMenu.UpDownButton - Class in com.blogofbug.swing.components
This class represents the up and down buttons that allow the scrolling through the menu when it is too big to fit in the avaiable space
JCarouselMenu.UpDownButton(String) - Constructor in JCarouselMenu.UpDownButton
Creates the up down button
JCarouselMenu() - Constructor in JCarouselMenu
Creates a new instance

K

keyItemSelector - Field in ImageFlow
keyPressed(KeyEvent) - Method in ImageFlow.KeyItemSelector
keyPressed(KeyEvent) - Method in ImageFlow.KeyScroller
keyPressed(KeyEvent) - Method in JCarouselMenu
Listen for key events, when we see one that looks like it should wrap, set up the lastSelection variable to trigger a change on release of the key
keyReleased(KeyEvent) - Method in JCarouselMenu
If the wrap-around has detected the need to wrap, sets the selection to the value calculated when the key was first pressed.
keyScroller - Field in ImageFlow
keyTyped(KeyEvent) - Method in JCarouselMenu
Don't Care *

L

label - Field in ImageFlowItem
label - Field in JCarouselMenu.MenuItem
The text label
lastSelection - Field in JCarouselMenu
The last item selected
lastWheeledTo - Field in JCarosel
The last component the wheel selected.
layout - Field in JCarosel
The layout being used for the carousel
layoutContainer(Container) - Method in CaroselLayout
Lays out all of the components on the carosel.
layoutContainer(Container) - Method in StackLayout
listSelectionListeners - Field in ImageFlow
loadCompatibleImage(String) - Method in ImageUtilities
Loads an image in a format compatible with the current display
loadFromDirectory(File) - Method in ImageFlowItem
Builds a list of ImageFlowItems, one per each file in directory
loadImage() - Method in ImageFlowItem.FileLazyImageLoader
loadImage() - Method in ImageFlowItem.ImageLazyImageLoader
loadImage() - Method in ImageFlowItem.InputStreamLazyImageLoader
loadImage() - Method in ImageFlowItem.LazyImageLoader
loadImage() - Method in ImageFlowItem.ResourceLazyImageLoader
loadImage() - Method in ImageFlowItem.URLLazyImageLoader
loadingClass - Field in ImageFlowItem.Resource
log - Field in ImageFlowItem.LazyImageLoader

M

makeGradient() - Method in GradientPanel
Pre-renders the gradient
maximalImageSize() - Method in ImageFlow
maximumLayoutSize(Container) - Method in StackLayout
MEASURE_PERFORMANCE - Field in JCarosel
Set to true if the performance should be measured.
menu - Field in JCarouselMenu
A JList with the menu items in
menuItems - Field in JCarouselMenu
Linked list of the items in the menu
menuMap - Field in JCarouselMenu
A hashtable connecting the actions to the components in the carousel
menuModel - Field in JCarouselMenu
The model for the action menu
menuScroll - Field in JCarouselMenu
The scroll pane the menu is in
minimumLayoutSize(Container) - Method in CaroselLayout
Cheats and bases it's size on the prefered sizes of each component
minimumLayoutSize(Container) - Method in StackLayout
mouseClicked(MouseEvent) - Method in ImageFlow.FocusGrabber
mouseClicked(MouseEvent) - Method in ImageFlow.ItemScroller
mouseClicked(MouseEvent) - Method in ImageFlow.MouseItemSelector
mouseClicked(MouseEvent) - Method in JCarosel
Bring the "clicked" component to the front.
mouseClicked(MouseEvent) - Method in JCarouselMenu
Look to see if an item in the list is double clicked, and launch the action if it is
mouseClicked(MouseEvent) - Method in JCarouselMenu.UpDownButton
Listens for a mouse click and scroll up or down in the menu when it gets one
mouseEntered(MouseEvent) - Method in JCarosel
Not interested
mouseEntered(MouseEvent) - Method in JCarouselMenu
Don't Care *
mouseEntered(MouseEvent) - Method in JCarouselMenu.UpDownButton
Don't care
mouseExited(MouseEvent) - Method in JCarosel
Not interested
mouseExited(MouseEvent) - Method in JCarouselMenu
Don't Care *
mouseExited(MouseEvent) - Method in JCarouselMenu.UpDownButton
Don't care
mouseItemSelector - Field in ImageFlow
mouseMoved(MouseEvent) - Method in ImageFlow.CursorChanger
mousePressed(MouseEvent) - Method in JCarosel
Not interested
mousePressed(MouseEvent) - Method in JCarouselMenu
Don't Care *
mousePressed(MouseEvent) - Method in JCarouselMenu.UpDownButton
Don't care
mouseReleased(MouseEvent) - Method in JCarosel
Not interested
mouseReleased(MouseEvent) - Method in JCarouselMenu
Don't Care *
mouseReleased(MouseEvent) - Method in JCarouselMenu.UpDownButton
Don't care
mouseWheelMoved(MouseWheelEvent) - Method in ImageFlow.MouseWheelScroller
mouseWheelMoved(MouseWheelEvent) - Method in JCarosel
When event received will spin the carousel to select the next object.
mouseWheelMoved(MouseWheelEvent) - Method in JCarouselMenu
Moves the selected menu up or down when the mouse wheel scrolls
moveComponentTo(int, Component) - Method in CaroselLayout
Moves a layout component at a particular location in the carousel
moveToTarget() - Method in CaroselLayout.CaroselPosition

N

neutralContentWidth - Field in CaroselLayout
The width of a component when the scale is 1.0
newInstance(FactoryBuilderSupport, Object, Object, Map) - Method in ImageFlowFactory
newInstance(FactoryBuilderSupport, Object, Object, Map) - Method in ImageFlowItemFactory
next() - Method in ImageFlow
notifyListSelectionListener() - Method in ImageFlow
Notify the listeners when a selection event has occured
numberOfItems - Field in CaroselLayout
Number of items in the carousel (that are visible)

O

OffsetCaroselLayout - Class in com.blogofbug.swing.layout
Offsets a normal carousel layout be a fixed amount allowing it be "moved" around the screen.
OffsetCaroselLayout(Container) - Constructor in OffsetCaroselLayout
Creates a new instance of OffsetCaroselLayout

P

paintBorder(int, int, Graphics, int, int, int, int) - Method in AbstractImageBorder
Paints the border around the specified component
paintBorder - Field in ImageBorder
paintCenter(Graphics2D, int, int) - Method in AbstractImageBorder
Paints a stretched version of the center of the image (as the border is drawn first, then the component paints itself) so that the component can use it in its own paint if the border lends itself to having a centre area over-painted
paintCenter(Graphics2D, Component) - Method in ImageBorder
paintChildren(Graphics) - Method in ImageFlow
paintComponent(Graphics) - Method in GradientPanel
paints the gradient.
paintComponent(Graphics) - Method in ImageFlow
paintComponent(Graphics) - Method in ImageLabel
Paints the label scaling the image to the appropriate size
paintComponent(Graphics) - Method in JCarouselMenu.CarouselListCellRenderer
Our image border can paint a center as well as a surround.
paintComponent(Graphics) - Method in JCarouselMenu.UpDownButton
Paint the component
paintComponent(Graphics) - Method in ReflectedImageLabel
Paints the component
position - Field in ImageFlow.AutoScroller
position - Field in ImageFlow.DrawableItem
preferredLayoutSize(Container) - Method in CaroselLayout
Determine the widest and tallest dimensions, then return the height as 1.5 * the highest, and 3 * the widest
preferredLayoutSize(Container) - Method in StackLayout
prePaintImage() - Method in ReflectedImageLabel
See interface definition
prePaintImage() - Method in RichComponent
Allows a RichContainer to request that the component pre-renders anything that might provide peak performance.
previous() - Method in ImageFlow
processAction() - Method in JCarouselMenu
Launch the action associated with the currently selected list item
promoteItemToDrawable(List, int, int, int, int, int) - Method in ImageFlow

Q


R

recalculateCarosel() - Method in CaroselLayout
Updates all of the positions of the carousel.
recalculateVisibleItems() - Method in CaroselLayout
Determines how many of the items being laid out are currently visible.
reference - Field in ReflectedImageLabel
A font used for reference purposes when evaluating the size of the rendered component
ReflectedImageLabel - Class in com.blogofbug.swing.components
A RichComponent which takes the supplied image, adds on 50% to the height of the image and draws a graduated alpha-blended reflection below the top aligned original image.
ReflectedImageLabel(String, String, int, int) - Constructor in ReflectedImageLabel
Creates a new instance, using the image specified in the URL string, the prefered dimensions and sets the Rich text as well
remove(Component) - Method in JCarosel
Removes the component from the carousel
remove(Component) - Method in JCarouselMenu
Removes a component from the menu
removeLayoutComponent(Component) - Method in CaroselLayout
Remove the component
removeLayoutComponent(Component) - Method in StackLayout
removeListSelectionListener(ListSelectionListener) - Method in ImageFlow
Removes a listener from the list that's notified each time a change to the selection occurs
renderComponentToImage(JComponent) - Method in ImageUtilities
Renders a component into an image, which is useful for playing with the component's resultant image in special effects or transitions
renderTextToImage(Font, Color, String, int) - Method in ImageUtilities
Renders multiple paragraphs of text in an array to an image (created and returned).
repaintListDataListener - Field in ImageFlow
resource - Field in ImageFlowItem.ResourceLazyImageLoader
resourceName - Field in ImageFlowItem.Resource
rho - Field in ImageFlow
RichComponent - Interface in com.blogofbug.swing.components
A component that can be part of the a rich user interface
rotationalOffset - Field in CaroselLayout
The current degree of rotation of the carousel

S

scale - Field in CaroselLayout.CaroselPosition
scaledImage(BufferedImage, int, int) - Method in ImageUtilities
Produces a resized image that is of the given dimensions
scrollAndAnimate(ImageFlow.DrawableItem) - Method in ImageFlow
scrollAndAnimateBy(int) - Method in ImageFlow
scrollBy(int) - Method in ImageFlow
scrollerTimer - Field in ImageFlow
setAlpha(float) - Method in ReflectedImageLabel
Sets the transparency of the component
setAlpha(float) - Method in RichComponent
Assisgns a uniform alpha to the component
setAmount(int) - Method in ImageFlow
setAngle(double) - Method in CaroselLayout
Sets the current rotational angle.
setAngle(double) - Method in CaroselLayout.CaroselPosition
setBackground(Color, Color) - Method in GradientPanel
Sets two background colors for a gradient
setCellImageBorder(ImageBorder) - Method in JCarouselMenu
Sets the image border used to draw around the items in the menu
setCellRenderer(ListCellRenderer) - Method in JCarouselMenu
Specifies the list cell renderer used to draw the items in the menu
setChild(FactoryBuilderSupport, Object, Object) - Method in ImageFlowFactory
setContentWidth(int) - Method in JCarosel
Sets the prefered width of the components inside the carousel, this is the neutral width that will change as the component is scaled, but at 9 and 6 o'clock where the scale is one they will be this width.
setDepthBasedAlpha(boolean) - Method in CaroselLayout
Controls if items should fade as they move to the back of the carousel
setDepthBasedAlpha(boolean) - Method in JCarosel
If set to true the carousel will fade out components as they move away from the front of the carousel (6 o'clock)
setDoPaint(boolean) - Method in JCarouselMenu.UpDownButton
Controls if the button should paint itself or not
setFrontMostComponent(Component) - Method in CaroselLayout
Moves the specified component to the front
setFrontMostComponent(Component) - Method in OffsetCaroselLayout
Over-rides the normal setFrontMostComponent to move the selected component to 3 o'clock instead of 6 o'clock
setGradientEnd(Color) - Method in GradientPanel
Sets the ending Color of the gradient.
setGradientStart(Color) - Method in GradientPanel
Sets the starting Color of the gradient.
setImage(Image) - Method in ReflectedImageLabel
Deprecated
setImageBorder(ImageBorder) - Method in JCarouselMenu.CarouselListCellRenderer
Allows the setting of the image border
setInsets(Insets) - Method in AbstractImageBorder
Sets the insets around the edge of the image to be used to cookie cut the image into a border
setItemFont(Font) - Method in ImageFlow
Sets the Font that is used for drawing an item's label, notifies property change listeners.
setItemIndex(int) - Method in ImageFlow
setItemPosition(double) - Method in ImageFlow
setItemSpacing(double) - Method in ImageFlow
setItemTextColor(Color) - Method in ImageFlow
private static final int CD_SIZE = 148; private int displayWidth = CD_SIZE; private int displayHeight = (int) (CD_SIZE * 2 / 1.12);

Sets the Color that is used for drawing an item's label, notifies property change listeners.

setLabel(String) - Method in ReflectedImageLabel
Depricated.
setLayout(CaroselLayout) - Method in JCarosel
Specifies which type of CarouselLayout to be used to lay the component out around the carousel Any looping layout can be used.
setMenuScrollColor(Color) - Method in JCarouselMenu
Allows the background color to the menu (left side) to be set
setModel(ListModel) - Method in ImageFlow
Sets the model that represents the contents or "value" of the list, notifies property change listeners.
setNeutralContentWidth(int) - Method in CaroselLayout
Specify the neutral content width of any laid out component.
setPaintBorder(boolean) - Method in ImageBorder
Controls wether or not the border is actually painted or not.
setRichImage(Image) - Method in ReflectedImageLabel
See interface definition
setRichImage(Image) - Method in RichComponent
Assisgns an image to the component, the width and height taken from the supplied image
setRichText(String) - Method in ReflectedImageLabel
See interface definition
setRichText(String) - Method in RichComponent
Specifies text that should be displayed by the rich component when getRichText() is called.
setScale(double) - Method in CaroselLayout.CaroselPosition
setSelectedIndex(int) - Method in ImageFlow
Selects a single cell
setSelectedIndex(int) - Method in JCarouselMenu
Sets the selected item in the menu
setSigma(double) - Method in ImageFlow
setSpinStartDelay(int) - Method in JCarosel
Sets the delay between clicking on a component in the carousel, and the spin starting to move that component to the front.
setTarget(double) - Method in CaroselLayout
Sets a target angle to rotate to, always choses a direction that is less than or equal to 180 degrees
setUpDownColor(Color) - Method in JCarouselMenu
Sets the color the up and down buttons are drawn
setUpDownIcons(Icon, Icon) - Method in JCarouselMenu
Sets icons to use to show the up and down buttons
setupImage(Image) - Method in ReflectedImageLabel
Adds a reflection to the supplied image
setZ(double) - Method in CaroselLayout.CaroselPosition
shouldHide(Component, double, double) - Method in CaroselLayout
Can be over-ridden to restrict the range of angles where the child component is shown
shouldHide(Component, double, double) - Method in OffsetCaroselLayout
Overrides the normal layout method to determine if the object is offscreen and can therefore be ignored (giving a performance gain).
sigma - Field in ImageFlow
sortItemsByDepth(int, int, int, int) - Method in ImageFlow
spinStartDelay - Field in JCarosel
Delay in milliseconds from the first click to the start of the spin, this gives implementors using a double click anywhere to fire an event a chance for their users to get the double click message before the component spins around.
StackLayout - Class in griffon.coverflow.ui
Layout implementation that uses a Stack based algorithm to organize a Container's components.
StackLayout() - Constructor in StackLayout
start - Field in GradientPanel
Gradient start colour
start - Field in ImageFlow.AutoScroller
start - Field in ImageFlow.FaderAction
startFader() - Method in ImageFlow
stateChanged(ChangeEvent) - Method in JCarouselMenu
Detect when the list selection changes, and respond by updating the state of the two "arrow" buttons.
SwingBugUtilities - Class in com.blogofbug.swing
Contains some utility methods applicable to any swing application.
SwingBugUtilities() - Constructor in SwingBugUtilities
Creates a new instance of SwingBugUtilities

T

targetAngle - Field in CaroselLayout.CaroselPosition
targetOffset - Field in CaroselLayout
The desired rotational offset, which will be moved to by a timer animating the carousel
text - Field in ReflectedImageLabel
The richtext associated with this component
textAlphaLevel - Field in ImageFlow
TOP - Field in StackLayout
toString() - Method in ImageFlow.DrawableItem
toString() - Method in ImageFlowItem
toString() - Method in ImageFlowItem.FileLazyImageLoader
toString() - Method in ImageFlowItem.ImageLazyImageLoader
toString() - Method in ImageFlowItem.InputStreamLazyImageLoader
toString() - Method in ImageFlowItem.Resource
toString() - Method in ImageFlowItem.ResourceLazyImageLoader
toString() - Method in ImageFlowItem.URLLazyImageLoader

U

upButton - Field in JCarouselMenu
The button that is drawn when it is possible to scroll up
updateAngle() - Method in CaroselLayout.CaroselPosition
url - Field in ImageFlowItem.URLLazyImageLoader

V

valueChanged(ListSelectionEvent) - Method in JCarouselMenu
Detect when the list selection changes, and respond by rotating the carousel to show that item
veilAlphaLevel - Field in ImageFlow

W

wheelScroller - Field in ImageFlow
width - Field in ImageFlow.DrawableItem

X

x - Field in ImageFlow.DrawableItem

Y

y - Field in ImageFlow.DrawableItem

Z

z - Field in CaroselLayout.CaroselPosition
zOrder - Field in ImageFlow.DrawableItem

_


Groovy Documentation