Sferyx LogoSferyx Internet Based Systems

Sferyx Equation Editor Applet / Component Edition

 

HTML EDITOR COMPONENT

User Manual
Oracle Forms
SWT / Eclipse
XML features
FAQ
Download
Screenshots
Licensing & Prices

HTML EDITOR APPLET

User Manual
FAQ
Drupal Integration
SAKAI Integration
IBM Lotus Notes
Download
Screenshots
Licensing & Prices

PDF GENERATOR

User Manual
Oracle Forms
Licensing & Prices

EQUATION/MATHML EDITOR

User Manual
FAQ
Download
Screenshots
Licensing & Prices

PDFEXPORT ADD-ON

User Manual
On-line store
Customers
Contacts

 

Users Manual for use as JavaBean

Note: In the demo version the development API is disabled - the retail product comes with full API available for development which allows full customization of the editor as well to implement any additional functionalities needed. Contact support@sferyx.com if you are interested in receiving the full javadoc for review of the available functionalities.

The Sferyx JSyndrome EquationEditor Component Edition has been released in one version intended for broad range of applications as a component and also could be used as a standalone equation editor application if needed. If you intend to use it as component within an application then you can consult the javadoc documentation supplied with the product - it can be inserted as visual java bean into the editing environments such as Forte for Java, JBuilder or similar. It is sufficient to add the jar file to the component palette of the IDE and the icon of the EquationEditor should appear on the toolbar. The demo version is restricted and cannot be customized, it also takes automatically the default system look & feel. The retail versions instead  feature different visual options for full customization of the user interface such as showing/hiding of the main menu, toolbars, popup menu, source editor also inserting of initial MathML content etc.

You can consult the complete javadoc documentation supplied with your retail product. However some of the mostly used methods during customization operations are:

Available packages:

Note: In the demo version the development API is disabled - the retail product comes with full API available for development which allows full customization of the editor as well to implement any additional functionalities needed. Contact support@sferyx.com if you are interested in receiving the full javadoc for review of the available functionalities.

Packages
sferyx.math.equationeditor Main Equation edtior classes. This is the entry point the Equation Editor API
sferyx.math.equationeditor.components Additional components and utilities
sferyx.math.equationeditor.dialogs Additional property dialogs
sferyx.math.equationeditor.entityeditors Generic entity editors for the different entity cases
sferyx.math.equationeditor.entityeditors.accents Accents group entity editors for the different entity cases
sferyx.math.equationeditor.entityeditors.calculus Calculus group entity editors for the different entity cases
sferyx.math.equationeditor.entityeditors.fences Fences group entity editors for the different entity cases
sferyx.math.equationeditor.entityeditors.layouts Layouts group entity editors for the different entity cases
sferyx.math.equationeditor.entityeditors.symbols Symbols group entity editors for the different entity cases
sferyx.math.equationeditor.entityeditors.trigonometry Trigonometry group entity editors for the different entity cases
sferyx.math.equationeditor.iterator Parser support classes
sferyx.math.equationeditor.writer Output MathML generator

 

Compatibility

The Sferyx JSyndrome EquationEditor has been written and tested under JDK 1.4/1.5/1.6. It is recommended using these versions of the JDK or higher as it uses features not presented into the earlier versions of the JDK. It has been tested on various versions of Windows such as  Windows 98, Windows Me, Windows 2000, Windows XP, Windows Vista, Linux,  Solaris and MacOS X 10.x. It has been tested with Netscape, Opera, Konqueror, Safari, Mozilla  and Internet Explorer as you can see from the matrix below:

 

Browser Compatibility Matrix

Platform/Browser Internet Explorer Netscape Mozilla Opera Safari Firefox   Galleon Konqueror
Windows 95/98/ME/NT/2000/XP
java  1.4.x/1.5/1.6
Available
java - javascript:yes
Available
java - javascript:yes
Available
java - javascript:yes
Available
java - javascript:yes
n.a. Available
java - javascript:yes
n.a. n.a.
Mac OS X
java 1.4.x/1.5/1.6
Available
java - javascript: yes*
Available
java - javascript: yes
Available
java - javascript: yes
Available
java - javascript: yes
Available
java - javascript:yes
Available
java - javascript:yes
n.a. n.a.
Linux
recommended java 1.4.2/1.5/1.6
n.a. Available
java - javascript:yes
Available
java - javascript:yes
Available
java - javascript:yes
n.a. Available
java - javascript:yes
Available
java - javascript:yes
Available
java - javascript: yes
Solaris (Sparc)
java 1.4.x/1.5/1.6
n.a. Available
java - javascript:yes
Available
java - javascript:yes
Available
java - javascript:yes
n.a. Available
java - javascript:yes
n.a. Available
java - javascript:yes
Solaris (x86)
java 1.4.x/1.5/1.6
n.a. Available
java - javascript:yes
Available
java - javascript:yes
Available
java - javascript:yes
n.a. Available
java - javascript:yes
n.a. Available
java - javascript:yes
Sun Java Desktop System
java 1.4.x/1.5/1.6
n.a. Available
java - javascript:yes
Available
java - javascript:yes
Available
java - javascript:yes
n.a. Available
java - javascript:yes
Available
java - javascript:yes
Available
java - javascript:yes

 

 

Manipulating the EquationEditor content and UI

There are available the following functions:

public void setMathMLContent(java.lang.String mathMLContent) - sets the content of the EquationEditor. The content should be an well formatted MathML document.

public String getMathMLContent() -
returns the content of the equation editor as entire MathML document. 

public void setContent(String mathmlContent) - sets the content of the EquationEditor. 

public void setURLEncodedContent(String mathmlURLEncodedContent) - sets the content of the EquationEditor. The content could be an html document which is URLEncoded - it will be decoded by the editor and rendered properly.

public String saveImage() - saves the image into a temporary file and returns the URL of the file as a string.

public java.awt.Image getImage() -retrieves the content of the EquationEditor as an image.

public JPopupMenu getPopupMenu() - returns the popup menu used inside the visual editor. This allows easy customization of the popup menu when needed. See the JPopupMenu Swing API for major details on how the popup menu object can be customized.

public void setMainMenuVisible(boolean visible) - enables/disables the main menu. It could be used in order to customize the UI of the equation editor as necessary.

public void setSourceVisible(boolean visible)- enables/disables the source editor. It could be used in order to customize the UI of the equation editor as necessary.

public void setToolbarVisible(boolean visible)
- enables/disables the toolbar. It could be used in order to customize the UI of the equation editor as necessary.

public JToolBar getToolbar() - returns the toolbar used inside the visual editor. This allows easy customization of the toolbar when needed. See the JToolBar Swing API for major details on how the toolbar object can be customized.

These are only the most used methods - the developer may create own subclasses of the EqautionEditor and create public references to all methods  specified in the javadoc documentation supplied with the product of the class sferyx.math.equationeditor.EquationEditor in order to be accessed from javascript.

 

Applet Parameters

<PARAM NAME ="initialContent" VALUE="<math>Hello, this is the initial content</math>"> - Specifies simple initial content of the editor when the editor is started. If this parameter is not specified than blank page is created. For complex documents use initialURL instead of this one.

<PARAM NAME ="initialURLEncodedContent" VALUE="%3Cmath%3EHello%2c+this+is+the+initial+content%3C/math%3E"> - Specifies the initial content of the editor when the editor is started- it should be URLEncoded. The editor will decode it and visualize it for editing. This permits the loading of even very complicated pages, since all the tags are encoded and there is no interference with the rest of the page. This approach is very useful for loading of the initial content simply without javascripts etc.

<PARAM NAME="transformInViewer" VALUE="true"> - when this is specified this parameter the EquationEditor will be transformed into a Equation viewer which can be used to display mathml content within a browser.

<PARAM NAME ="menuItemsToRemove" VALUE="PasteMenuItem,CutMenuItem,..."> - Indicates which menu items should be removed from the menus. This list contains comma separated names of the menu items contained within the editor to be removed. This allows the full customization of the dropdown menus inside the main menu. The full list is:

PasteMenuItem - the paste menu item;
CutMenuItem
- the cut menu item;
CopyMenuItem
- the copy menu item;
OpenFileMenuItem
- the open file menu item;
ExitMenuItem
- the exit menu item;
NewFileMenuItem
- the new file menu item;
SaveFileMenuItem
- the save file menu item;

<PARAM NAME ="menusToRemove" VALUE="EditMenu,FileMenu,..."> - Indicates which menus should be removed from the main menu bar. This list contains comma separated names of the menus contained within the editor's main menu bar to be removed. This allows the full customization of the menus inside the main menu bar. The full list of the menus is:

EditMenu - edit menu;
FileMenu
- file menu;

<PARAM NAME ="toolbarItemsToRemove" VALUE="saveFileButton,printButton,cutButton,..."> - Indicates which toolbar items should be removed from the main tool bar. This list contains comma separated names of the toolbar items contained within the editor's main tool bar to be removed. This allows the full customization of the tools inside the main tool bar. The full list of the items is:

copyButton - the copy button;
cutButton
- the cut button;
pasteButton
- the paste button;
redoButton
- the redo button;
undoButton - the undo button;
openFileButton - the print file button;
saveFileButton
- the save file button;
printButton
- the print file button;

theoryButton
- theory group button;
logicSymbolsButton
- logic group button;
arrowsButton
- arrows group button;
trigButton
- trigonometry group button;
fencesButton
- fences group button;
layoutsButton
- layouts group button;
accentsButton
- accents group button;
greekSymbolsButton
- greek symbols group button;
calcButton
- calculus group button;
matricesButton
- matrices group button;
relationSymbolsButton
- relations group button;
operatorsButton
- operators group button;

clearAllButton
- clear all button;

Our Services and assistance

All Sferyx products are assured with continuous e-mail support. With the retail products is included in the price 30 days startup support. Additionally, you can purchase annual support subscription tickets from our web store.

Sferyx offers also a wide range of customization services for its products in order to satisfy any customer requirement. We can adapt our products to fit the customer needs and any kind of integration requirements. We execute also express developments, customization under request, development of new features on demand. You can request a quote at sales@sferyx.com or support@sferyx.com indicating your requirements and the terms of delivery.

 

 


Copyright 2007 Sferyx Srl. All rights reserved. Sferyx and the Sferyx logo are registered trademarks of Sferyx Srl. http://www.sferyx.com