Difference between revisions of "JavaApplets"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
Java Applets should respond when called by these functions |
Java Applets should respond when called by these functions |
||
Line 25: | Line 24: | ||
http://webwork.maa.org/wiki/AIM07/Working_Groups |
http://webwork.maa.org/wiki/AIM07/Working_Groups |
||
+ | |||
+ | <hr> |
||
+ | |||
+ | GeoGebra Applet Example: |
||
+ | |||
+ | A comprehensive example of how to construct a GeoGebra applet, include it in a WeBWorK PG file, and have WeBWorK set parameters in the GeoGebra applet is now available in the WeBWorK Problem Techniques authoring section [http://webwork.maa.org/wiki/GeoGebraApplets GeoGebra Applets in WeBWorK] (as of Nov. 7, 2010) |
||
+ | |||
[[Category:Applets]] |
[[Category:Applets]] |
||
[[Category:Problem_Techniques]] |
[[Category:Problem_Techniques]] |
Revision as of 19:19, 7 November 2010
Java Applets should respond when called by these functions
getXML
- the applet is asking for an XML description of the applet's statesetXML
- the applet is sending an XML description to reset the applet's stateconfig
- the applet is sending an initial configuration for the applet (should we use initialConfiguration or reset?)isActive
- a 1 or "true" response by the applet indicates that the applet is loaded, initialized and ready to go.debug
- set when the applet is called from WW. If debug=1 the WW question is in debug mode and if the applet has the ability to issue extra error messages these should be turned on. If debug=0 then these error messages should be turned off.
POD documentation at:
http://webwork.maa.org/doc/cvs/pg_CURRENT/lib/Applet.html
and
http://webwork.maa.org/doc/cvs/pg_CURRENT/macros/AppletObjects.pl.html
The interface is still being developed and so expect minor changes to continue along
with significant new features.
Request additional features from the FlashObject working group:
http://webwork.maa.org/wiki/AIM07/Working_Groups
GeoGebra Applet Example:
A comprehensive example of how to construct a GeoGebra applet, include it in a WeBWorK PG file, and have WeBWorK set parameters in the GeoGebra applet is now available in the WeBWorK Problem Techniques authoring section GeoGebra Applets in WeBWorK (as of Nov. 7, 2010)