|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Resource | |
---|---|
net.sf.freecol.common.resources | Classes for handling resources. |
Uses of Resource in net.sf.freecol.common.resources |
---|
Subclasses of Resource in net.sf.freecol.common.resources | |
---|---|
class |
ColorResource
A Resource wrapping a Color . |
class |
ImageResource
A Resource wrapping an Image . |
class |
SZAResource
A Resource wrapping a SimpleZippedAnimation . |
class |
VideoResource
A Resource wrapping a Video . |
Methods in net.sf.freecol.common.resources that return Resource | |
---|---|
static Resource |
ResourceFactory.createResource(java.net.URI uri)
Returns an instance of Resource with the
given URI as the parameter. |
Resource |
ResourceMapping.get(java.lang.String id)
Gets the Resource identified by the
given id. |
Methods in net.sf.freecol.common.resources that return types with arguments of type Resource | |
---|---|
java.util.Map<java.lang.String,Resource> |
ResourceMapping.getResources()
Returns all the mappings between IDs and Resource s
that are kept by this object. |
Methods in net.sf.freecol.common.resources with parameters of type Resource | |
---|---|
void |
ResourceMapping.add(java.lang.String id,
Resource value)
Adds a mapping between the given ID and a Resource . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |