|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gwtwidgets.client.ui.canvas.impl.CanvasFactory
org.gwtwidgets.client.ui.canvas.impl.IECanvasFactory
public class IECanvasFactory
Font Factory for Internet Explorer that returns IECanvasImpl and BitmapFontImpl instances.
| Constructor Summary | |
|---|---|
IECanvasFactory()
|
|
| Method Summary | |
|---|---|
Canvas |
create(int width,
int height)
Return a canvas implementation for the current browser |
Font |
getFont(java.lang.String bitmapPath,
java.lang.String descriptionPath,
FontLoadListener listener)
Get a font object for use with a canvas. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IECanvasFactory()
| Method Detail |
|---|
public Canvas create(int width,
int height)
CanvasFactory
create in class CanvasFactory
public Font getFont(java.lang.String bitmapPath,
java.lang.String descriptionPath,
FontLoadListener listener)
CanvasFactoryFont objects may be returned that are not yet initialised and an invocation of
onLoad must be expected prior to using the font. Again, depending on the
implementation, cached instanced may be returned immediately, and the onLoad
listener will be invoked before returning the font object.
getFont in class CanvasFactorybitmapPath - Path to the font bitmap.descriptionPath - Path to the font descriptorlistener - Optional listener to invoke after font has been instantiated or when an error occured.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||