|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.resources.ModelResourceRequest
public class ModelResourceRequest
This is a ResourceRequest for a Model resource to be loaded with ModelLoader.
| Constructor Summary | |
|---|---|
ModelResourceRequest(java.lang.String name,
java.lang.String bagName)
Creates a new ModelResourceRequest. |
|
ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
float scale)
Creates a new ModelResourceRequest. |
|
ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL)
Creates a new ModelResourceRequest. |
|
ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL,
int flags)
Creates a new ModelResourceRequest. |
|
ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
float scale)
Creates a new ModelResourceRequest. |
|
ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
java.lang.String skin)
Creates a new ModelResourceRequest. |
|
ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
java.lang.String skin,
float scale)
Creates a new ModelResourceRequest. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBagName()
|
java.net.URL |
getBaseURL()
|
int |
getLoadFlags()
|
java.lang.String |
getName()
|
float |
getScale()
|
java.lang.String |
getSkin()
|
java.lang.Object |
loadResource(ResourceLocator resLoc,
ResourceBag resBag)
Loads the resource and stores it into the ResourceBag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
java.lang.String skin,
float scale)
name - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)flags - the load flags to be used to load this Modelskin - the name of the skin to be loadedscale - the scale to load the Model with
public ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
java.lang.String skin)
name - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)flags - the load flags to be used to load this Modelskin - the name of the skin to be loaded
public ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL,
int flags,
float scale)
name - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)flags - the load flags to be used to load this Modelscale - the scale to load the Model with
public ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL,
int flags)
name - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)flags - the load flags to be used to load this Model
public ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
java.net.URL baseURL)
name - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagbaseURL - the base URL to use while loading (or null to get from model URL)
public ModelResourceRequest(java.lang.String name,
java.lang.String bagName,
float scale)
name - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBagscale - the scale to load the Model with
public ModelResourceRequest(java.lang.String name,
java.lang.String bagName)
name - the name of the requested Model resourcebagName - the name of the requested resource, that it will carry in the ResourceBag| Method Detail |
|---|
public final java.lang.String getName()
getName in interface org.jagatoo.datatypes.NamedObjectgetName in interface ResourceRequestpublic final java.lang.String getBagName()
getBagName in interface ResourceRequestpublic final java.net.URL getBaseURL()
public final java.lang.String getSkin()
public final float getScale()
public final int getLoadFlags()
public java.lang.Object loadResource(ResourceLocator resLoc,
ResourceBag resBag)
throws java.io.IOException
ResourceBag.
loadResource in interface ResourceRequestresLoc - the ResourceLocator to load resources fromresBag - the ResourceBag to store the loaded resource to
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||