Previous Topic

Next Topic

Book Contents

Book Index

Overview - Structure Editor Application

A sample Structure Editor application has been included in the MathFlow SDK. It is located in the following directory:

<path-to-mathflow-sdk>/java/samples/com/yourcompany/samplecode/editor/StructureEditorDemoApplication.java

A batch file to run the demo application can be found in the following directory:

<path-to-mathflow-sdk>/java/samples/structure_editor.bat

This sample application illustrates how to include the MathFlow SDK Structure Editor in your own applications. In this case, the StructureEditorDialog class is used to create a modal pop-up MathML editor.

This sample application performs the following actions:

  • Read MathML from a file
  • Write MathML to a file
  • Send MathML to the Structure Editor
  • Retrieve MathML from the Structure Editor
  • Retrieve an image of the MathML equation from the Structure Editor
  • Display the current MathML
  • Display an image of the MathML equation from the Structure Editor once OK has been clicked in the editor
  • Display an about box

Previous Topic

Next Topic

Book Contents

Book Index


[Design Science Home]
Copyright © 1996-2016 Design Science, Inc. All rights reserved.