org.jtheque.core.managers.skin
Interface ISkinManager

All Known Implementing Classes:
SkinManager

public interface ISkinManager

A Skin Manager specification.

Author:
Baptiste Wicht

Method Summary
 void addSkinListener(SkinListener listener)
          Add a skin listener.
 Skin getCurrentSkin()
          Return the current look and feel.
 java.util.List<Skin> getSkins()
          Return all the look and feel loaded.
 void removeSkinListener(SkinListener listener)
          Remove a skin listener.
 void setSkin(Skin skin)
          Apply the look and feel to the application.
 

Method Detail

getSkins

java.util.List<Skin> getSkins()
Return all the look and feel loaded.

Returns:
The availables look and feels

setSkin

void setSkin(Skin skin)
Apply the look and feel to the application.

Parameters:
skin - The look and feel to apply

getCurrentSkin

Skin getCurrentSkin()
Return the current look and feel.

Returns:
The current look and feel

addSkinListener

void addSkinListener(SkinListener listener)
Add a skin listener.

Parameters:
listener - A skin listener.

removeSkinListener

void removeSkinListener(SkinListener listener)
Remove a skin listener.

Parameters:
listener - The skin listener to remove.


Copyright © 2009 JTheque. All Rights Reserved.