|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.octo.captcha.component.image.utils.ToolkitFactory
public class ToolkitFactory
Description: This Factory is used in order to switch from the java.awt.Toolkit component to other implementation like PJA Toolkit. By default this factory return the java.awt.Toolkit object. But if the the parameter toolkit.implementation is fixed as a parameter of the virtual machine with the value of the class name of another implementation of Toolkit, this factory return an implementation of this class. For exemple if you set to your virtual machine -Dtoolkit.implementation=com.eteks.awt.PJAToolkit, the factory returns an implementation of com.eteks.awt.PJAToolkit
see http://www.geocities.com/marcoschmidt.geo/java-image-faq.html#x for more info.
Field Summary | |
---|---|
static java.lang.String |
TOOLKIT_IMPL
|
Constructor Summary | |
---|---|
ToolkitFactory()
|
Method Summary | |
---|---|
static java.awt.Toolkit |
getToolkit()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String TOOLKIT_IMPL
Constructor Detail |
---|
public ToolkitFactory()
Method Detail |
---|
public static java.awt.Toolkit getToolkit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |