FOray
|
FOray Modules: FOray GraphicContentsIntroductionFOray Graphic is an implementation of the aXSL Graphic interfaces, which should be consulted for details on the general API, sample code, etc. Although it is possible to use the FOray Graphic package directly, there is probably no good reason to do so. If the aXSL Graphic interface is not sufficient for your needs, we recommend that you suggest changes to it instead of using the FOray Graphic package directly. This allows your application to use any aXSL-compliant graphic system without making substantial changes to your code. Bootstrapping FOray GraphicThe FOray-specific tasks that are needed to bootstrap the use of FOray Graphic are as follows:
Once these tasks are accomplished, all downstream processing is documented in the aXSL Graphic API. In general, this consists of using passing a URL to the GraphicServer.makeGraphic() method and getting a Graphic instance back, which can then be used by your client application. Here is some sample bootstrap code: // Instantiate the server Log logger = org.foray.common.Logging.makeDefaultLogger(); GraphicServer server = new GraphicServer4a(logger); Known Limitations
|