org.wicketstuff.yui.markup.html.contributor.yuiloader
Class YuiLoaderModule

java.lang.Object
  extended by org.wicketstuff.yui.markup.html.contributor.yuiloader.YuiLoaderModule
All Implemented Interfaces:
Serializable, IYuiLoaderModule

public class YuiLoaderModule
extends Object
implements IYuiLoaderModule

this is a Custom YUI Module that works with YuiLoaderContributor

Author:
josh
See Also:
Serialized Form

Nested Class Summary
static class YuiLoaderModule.ModuleType
           
 
Constructor Summary
YuiLoaderModule(String name, YuiLoaderModule.ModuleType type, ResourceReference ref, String[] requires)
           
YuiLoaderModule(String name, YuiLoaderModule.ModuleType type, String fullpath, String[] requires)
           
 
Method Summary
 boolean equals(Object other)
           
 String getFullpath()
           
 String getModuleJS()
          returns the object is JS
 String getName()
           
 String[] getRequires()
           
 YuiLoaderModule.ModuleType getType()
           
 int hashCode()
           
 String onSuccessJS()
           
 void setFullpath(String fullpath)
           
 void setName(String name)
           
 void setRequires(String[] requires)
           
 void setType(YuiLoaderModule.ModuleType type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YuiLoaderModule

public YuiLoaderModule(String name,
                       YuiLoaderModule.ModuleType type,
                       String fullpath,
                       String[] requires)

YuiLoaderModule

public YuiLoaderModule(String name,
                       YuiLoaderModule.ModuleType type,
                       ResourceReference ref,
                       String[] requires)
Method Detail

getModuleJS

public String getModuleJS()
returns the object is JS

Specified by:
getModuleJS in interface IYuiLoaderModule
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

getName

public String getName()
Specified by:
getName in interface IYuiLoaderModule

setName

public void setName(String name)

getType

public YuiLoaderModule.ModuleType getType()

setType

public void setType(YuiLoaderModule.ModuleType type)

getFullpath

public String getFullpath()

setFullpath

public void setFullpath(String fullpath)

getRequires

public String[] getRequires()

setRequires

public void setRequires(String[] requires)

onSuccessJS

public String onSuccessJS()
Specified by:
onSuccessJS in interface IYuiLoaderModule


Copyright © 2013. All Rights Reserved.