org.tentackle.plaf
Interface TentackleLookAndFeel

All Known Implementing Classes:
TLooksBlueLookAndFeel, TLooksLookAndFeel, TMetalLookAndFeel, TOceanLookAndFeel, TPlasticLookAndFeel, TSubstanceLookAndFeel, TTinyLookAndFeel

public interface TentackleLookAndFeel

Interface all extended Tentackle look-and-feels must implement.

Tentackle provides wrappers for well known look and feels like metal or looks. The wrappers extend the swing look and feel by features such as:

Author:
harald

Method Summary
 boolean isFocusAnimated()
          Retrievs the current setting for the focus animation.
 ImageIcon loadImageIcon(String name)
          Loads an image icon for the look and feel.
 void setFocusAnimated(boolean flag)
          Configures the animated keyboard focus for non-text components that can grab the keyboard focus, such as comboboxes, radio buttons or check boxes.
 

Method Detail

loadImageIcon

ImageIcon loadImageIcon(String name)
                        throws MissingResourceException
Loads an image icon for the look and feel. The method is invoked by PlafGlobal. It allows each look and feel to provide its own icon set.

Parameters:
name - the icon's name (without extension like gif or png!)
Returns:
the loaded image icon
Throws:
MissingResourceException - if no such icon

setFocusAnimated

void setFocusAnimated(boolean flag)
Configures the animated keyboard focus for non-text components that can grab the keyboard focus, such as comboboxes, radio buttons or check boxes. By default, the animation is enabled.

Parameters:
flag - the boolean value which is true to enable the animation, false to turn it off

isFocusAnimated

boolean isFocusAnimated()
Retrievs the current setting for the focus animation.

Returns:
true if focus is animated


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de