|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.service.IlpDefaultImageRepository
ilog.tgo.service.IltDefaultImageRepository
public class IltDefaultImageRepository
Default implementation of the IlpImageRepository.
This image repository contains a set of images which are internally used by JTGO.
IlpImageRepository| Constructor Summary | |
|---|---|
IltDefaultImageRepository(IlpContext context)
Creates an image repository. |
|
IltDefaultImageRepository(IlpContext context,
String defaultImageName)
Creates an image repository. |
|
| Method Summary | |
|---|---|
Image |
getImage(String location)
Gets an image by location. |
String |
getImageLocation(Image image)
Gets the location string associated with an image in the repository. |
List |
getImageLocations()
Gets a list of all the image locations currently in the repository. |
static Image |
getPredefinedImageByName(String name)
|
| Methods inherited from class ilog.cpl.service.IlpDefaultImageRepository |
|---|
createDefaultImage, getContext, getImageURL, getLocalImage, getRepository, removeImage, setLocalImage, setRepository |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltDefaultImageRepository(IlpContext context)
context - The service context used to get the URL access service that helps
the repository load data.
public IltDefaultImageRepository(IlpContext context,
String defaultImageName)
context - The service context used to get the URL access service that helps
the repository load data.defaultImageName - The name of the default image used if an image cannot be loaded.| Method Detail |
|---|
public static Image getPredefinedImageByName(String name)
name - Image name, as defined in IltrImage
null, if name is unknownpublic Image getImage(String location)
getImage in interface IlpImageRepositorygetImage in class IlpDefaultImageRepositorylocation - The relative path of the image
public String getImageLocation(Image image)
null otherwise.
getImageLocation in interface IlpImageRepositorygetImageLocation in class IlpDefaultImageRepositoryimage - The image to search for.
null if the
image was not found.public List getImageLocations()
getImageLocations in interface IlpImageRepositorygetImageLocations in class IlpDefaultImageRepositoryString instances for the images
currently in the repository.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||