Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package net.java.html.lib.angular;
public class IModule extends net.java.html.lib.Objs {
protected IModule(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(IModule.class);
}
@Override
public IModule create(java.lang.Object obj) {
return obj == null ? null : new IModule(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static IModule $as(java.lang.Object obj) {
return $AS.create(obj);
}
// Properties
public net.java.html.lib.Objs.Property name = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "name");
public java.lang.String name() { return name.get(); }
public net.java.html.lib.Objs.Property requires = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Array.class, "requires");
public java.lang.String[] requires() { return requires.get(); }
/**
* Use this method to register a component.
*
* @param name The name of the component.
* @param options A definition object passed into the component.
*/
public IModule component(java.lang.String name, IComponentOptions options) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.component$293($js(this), name, /* FirstTypeNode*/$js(options)));
}
/**
* Use this method to register work which needs to be performed on module loading.
*
* @param inlineAnnotatedFunction Execute this function on module load. Useful for service configuration.
*/
public IModule config(java.lang.Object[] inlineAnnotatedFunction) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.config$294($js(this), /* ArrayType*/$js(inlineAnnotatedFunction)));
}
/**
* Use this method to register work which needs to be performed on module loading.
*
* @param configFn Execute this function on module load. Useful for service configuration.
*/
public IModule config(net.java.html.lib.Function configFn) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.config$295($js(this), /* FirstTypeNode*/$js(configFn)));
}
public IModule config(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.config$296($js(this), /* FirstTypeNode*/$js(object)));
}
/**
* Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator.
*
* @param name The name of the constant.
* @param value The constant value.
*/
public IModule constant(java.lang.String name, java.lang.Object value) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.constant$297($js(this), name, /* AnyKeyword*/$js(value)));
}
public IModule constant(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.constant$298($js(this), /* FirstTypeNode*/$js(object)));
}
/**
* The $controller service is used by Angular to create new controllers.
*
* This provider allows controller registration via the register method.
*
* @param name Controller name, or an object map of controllers where the keys are the names and the values are the constructors.
* @param controllerConstructor Controller constructor fn (optionally decorated with DI annotations in the array notation).
*/
public IModule controller(java.lang.String name, java.lang.Object[] inlineAnnotatedConstructor) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.controller$299($js(this), name, /* ArrayType*/$js(inlineAnnotatedConstructor)));
}
/**
* The $controller service is used by Angular to create new controllers.
*
* This provider allows controller registration via the register method.
*
* @param name Controller name, or an object map of controllers where the keys are the names and the values are the constructors.
* @param controllerConstructor Controller constructor fn (optionally decorated with DI annotations in the array notation).
*/
public IModule controller(java.lang.String name, net.java.html.lib.Function controllerConstructor) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.controller$300($js(this), name, /* FirstTypeNode*/$js(controllerConstructor)));
}
public IModule controller(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.controller$301($js(this), /* FirstTypeNode*/$js(object)));
}
public IModule decorator(java.lang.String name, java.lang.Object[] inlineAnnotatedConstructor) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.decorator$302($js(this), name, /* ArrayType*/$js(inlineAnnotatedConstructor)));
}
/**
* Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.
* @param name The name of the service to decorate
* @param decorator This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments: $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.
*/
public IModule decorator(java.lang.String name, net.java.html.lib.Function decoratorConstructor) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.decorator$303($js(this), name, /* FirstTypeNode*/$js(decoratorConstructor)));
}
/**
* Register a new directive with the compiler.
*
* @param name Name of the directive in camel-case (i.e. ngBind which will match as ng-bind)
* @param directiveFactory An injectable directive factory function.
*/
public IModule directive(java.lang.String name, IDirectiveFactory directiveFactory) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.directive$304($js(this), name, /* FirstTypeNode*/$js(directiveFactory)));
}
/**
* Register a new directive with the compiler.
*
* @param name Name of the directive in camel-case (i.e. ngBind which will match as ng-bind)
* @param directiveFactory An injectable directive factory function.
*/
public IModule directive(java.lang.String name, java.lang.Object[] inlineAnnotatedFunction) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.directive$305($js(this), name, /* ArrayType*/$js(inlineAnnotatedFunction)));
}
public IModule directive(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.directive$306($js(this), /* FirstTypeNode*/$js(object)));
}
/**
* Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.
*
* @param name The name of the instance.
* @param inlineAnnotatedFunction The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}).
*/
public IModule factory(java.lang.String name, java.lang.Object[] inlineAnnotatedFunction) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.factory$307($js(this), name, /* ArrayType*/$js(inlineAnnotatedFunction)));
}
/**
* Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.
*
* @param name The name of the instance.
* @param $getFn The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}).
*/
public IModule factory(java.lang.String name, net.java.html.lib.Function $getFn) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.factory$308($js(this), name, /* FirstTypeNode*/$js($getFn)));
}
public IModule factory(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.factory$309($js(this), /* FirstTypeNode*/$js(object)));
}
public IModule filter(java.lang.String name, java.lang.Object[] inlineAnnotatedFunction) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.filter$310($js(this), name, /* ArrayType*/$js(inlineAnnotatedFunction)));
}
public IModule filter(java.lang.String name, net.java.html.lib.Function filterFactoryFunction) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.filter$311($js(this), name, /* FirstTypeNode*/$js(filterFactoryFunction)));
}
public IModule filter(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.filter$312($js(this), /* FirstTypeNode*/$js(object)));
}
public IModule provider(java.lang.String name, IServiceProvider providerObject) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.provider$313($js(this), name, /* FirstTypeNode*/$js(providerObject)));
}
public IModule provider(java.lang.String name, IServiceProviderClass serviceProviderConstructor) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.provider$314($js(this), name, /* FirstTypeNode*/$js(serviceProviderConstructor)));
}
public IModule provider(java.lang.String name, IServiceProviderFactory serviceProviderFactory) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.provider$315($js(this), name, /* FirstTypeNode*/$js(serviceProviderFactory)));
}
public IModule provider(java.lang.String name, java.lang.Object[] inlineAnnotatedConstructor) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.provider$316($js(this), name, /* ArrayType*/$js(inlineAnnotatedConstructor)));
}
public IModule provider(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.provider$317($js(this), /* FirstTypeNode*/$js(object)));
}
/**
* Run blocks are the closest thing in Angular to the main method. A run block is the code which needs to run to kickstart the application. It is executed after all of the service have been configured and the injector has been created. Run blocks typically contain code which is hard to unit-test, and for this reason should be declared in isolated modules, so that they can be ignored in the unit-tests.
*/
public IModule run(java.lang.Object[] inlineAnnotatedFunction) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.run$318($js(this), /* ArrayType*/$js(inlineAnnotatedFunction)));
}
/**
* Run blocks are the closest thing in Angular to the main method. A run block is the code which needs to run to kickstart the application. It is executed after all of the service have been configured and the injector has been created. Run blocks typically contain code which is hard to unit-test, and for this reason should be declared in isolated modules, so that they can be ignored in the unit-tests.
*/
public IModule run(net.java.html.lib.Function initializationFunction) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.run$319($js(this), /* FirstTypeNode*/$js(initializationFunction)));
}
/**
* Register a service constructor, which will be invoked with new to create the service instance. This is short for registering a service where its provider's $get property is a factory function that returns an instance instantiated by the injector from the service constructor function.
*
* @param name The name of the instance.
* @param inlineAnnotatedConstructor An injectable class (constructor function) that will be instantiated.
*/
public IModule service(java.lang.String name, java.lang.Object[] inlineAnnotatedConstructor) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.service$320($js(this), name, /* ArrayType*/$js(inlineAnnotatedConstructor)));
}
/**
* Register a service constructor, which will be invoked with new to create the service instance. This is short for registering a service where its provider's $get property is a factory function that returns an instance instantiated by the injector from the service constructor function.
*
* @param name The name of the instance.
* @param serviceConstructor An injectable class (constructor function) that will be instantiated.
*/
public IModule service(java.lang.String name, net.java.html.lib.Function serviceConstructor) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.service$321($js(this), name, /* FirstTypeNode*/$js(serviceConstructor)));
}
public IModule service(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.service$322($js(this), /* FirstTypeNode*/$js(object)));
}
/**
* Register a value service with the $injector, such as a string, a number, an array, an object or a function. This is short for registering a service where its provider's $get property is a factory function that takes no arguments and returns the value service.
Value services are similar to constant services, except that they cannot be injected into a module configuration function (see config) but they can be overridden by an Angular decorator.
*
* @param name The name of the instance.
* @param value The value.
*/
public IModule value(java.lang.String name, java.lang.Object value) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.value$323($js(this), name, /* AnyKeyword*/$js(value)));
}
public IModule value(net.java.html.lib.Objs object) {
return (IModule)net.java.html.lib.angular.IModule.$as($Typings$.value$324($js(this), /* FirstTypeNode*/$js(object)));
}
}