org.mentawai.tag.html.dyntag.menu.listener
Class MenuListener

java.lang.Object
  extended by org.mentawai.tag.html.dyntag.BaseListener
      extended by org.mentawai.tag.html.dyntag.menu.listener.MenuListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class MenuListener
extends BaseListener

Author:
Robert Willain

Field Summary
static java.lang.String DEFAULT_SKIN
           
static java.util.List<java.lang.String> DIRS_FOLDER_NAME
           
static java.lang.String loadedSkin
           
static java.util.Map<java.lang.String,java.util.ArrayList<FileTransfer>> SKINS
           
 
Constructor Summary
MenuListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent arg0)
           
 void contextInitialized(javax.servlet.ServletContext servletContext)
           
 void contextInitialized(javax.servlet.ServletContextEvent evt)
          Handles finding all CSS, JavaScript, and image resources from this taglib's JAR file and copies them to a directory in the web app's root directory where the tab components can link to them.
 void init()
           
 void loadSkin(java.lang.String skinName)
           
 
Methods inherited from class org.mentawai.tag.html.dyntag.BaseListener
createComponentDir, writeFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRS_FOLDER_NAME

public static java.util.List<java.lang.String> DIRS_FOLDER_NAME

DEFAULT_SKIN

public static java.lang.String DEFAULT_SKIN

SKINS

public static java.util.Map<java.lang.String,java.util.ArrayList<FileTransfer>> SKINS

loadedSkin

public static java.lang.String loadedSkin
Constructor Detail

MenuListener

public MenuListener()
Method Detail

init

public void init()
Specified by:
init in class BaseListener

loadSkin

public void loadSkin(java.lang.String skinName)

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent evt)
Description copied from class: BaseListener
Handles finding all CSS, JavaScript, and image resources from this taglib's JAR file and copies them to a directory in the web app's root directory where the tab components can link to them.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
Specified by:
contextInitialized in class BaseListener

contextInitialized

public void contextInitialized(javax.servlet.ServletContext servletContext)

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent arg0)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Specified by:
contextDestroyed in class BaseListener


Copyright © 2005 Mentawai Team. All Rights Reserved.