|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
javax.swing.JApplet
com.integretechpub.mathex.editor.applet.MathEXApplet
public class MathEXApplet
Equation Editor applet class.
This class implements the applet object for the applet edition of the equation editor.
| Field Summary |
|---|
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
MathEXApplet()
Construct an instance of the applet. |
|
| Method Summary | |
|---|---|
void |
aboutBox()
Show the about box. |
boolean |
addConfig(String key,
String value)
Add to the named section of the current configuration. |
boolean |
applyTemplate(String template)
Apply the given template. |
boolean |
applyTemplateByName(String name)
Apply the named template. |
void |
destroy()
Perform one-time applet cleanup. |
Frame |
getAppletFrame()
Return the frame that owns this applet. |
boolean |
getAutoAlign()
Return the value of the AutoAlign property. |
boolean |
getAutoSize()
Return the value of the AutoSize property. |
String |
getConfig(String key)
Return the named section of the current configuration. |
String |
getFontSize()
Return the font size for this editor instance. |
boolean |
getGrabFocus()
Return the value of the GrabFocus property. |
String |
getMmlContent()
Return the content of the editor expression as MathML markup. |
String |
getMmlContentById(String id)
Return the content of the identified expression as MathML markup. |
String |
getMmlCurrent()
Return the content of the current expression as MathML markup. |
String |
getMmlPresent()
Return the presentation of the editor expression as MathML markup. |
String |
getMmlPresentById(String id)
Return the presentation of the identified expression as MathML markup. |
String |
getMmlSource()
Return the path to the MathML source file. |
String |
getVersion()
Return the equation editor version string. |
String |
getZedContent()
Return the content of the editor expression as editor markup. |
String |
getZedContentById(String id)
Return the content of the identified expression as editor markup. |
String |
getZedCurrent()
Return the content of the current expression as editor markup. |
int |
getZedDepth()
Return the natural depth of the applet. |
int |
getZedHeight()
Return the natural height of the applet. |
String |
getZedPosition()
Return the position of the current expression. |
String |
getZedPositionById()
Return the identifier of the current expression. |
String |
getZedPresent()
Return the presentation of the editor expression as editor markup. |
String |
getZedPresentById(String id)
Return the presentation of the identified expression as editor markup. |
String |
getZedSource()
Return the path to the editor source file. |
int |
getZedWidth()
Return the natural width of the applet. |
void |
grabFocus()
Request that the applet receive the focus. |
boolean |
hidePalette(String name)
Hide the named palette. |
void |
init()
Perform one-time applet initialization. |
boolean |
loadConfig(String pathName)
Load the named configuration file. |
boolean |
readConfig(String key,
String pathName)
Read the named section of the current configuration. |
boolean |
saveConfig(String pathName)
Save the named configuration file. |
void |
setAutoAlign(boolean autoAlign)
Set the value of the AutoAlign property. |
void |
setAutoSize(boolean autoSize)
Set the value of the AutoSize property. |
boolean |
setConfig(String key,
String value)
Set the named section of the current configuration. |
void |
setFontSize(String fontSize)
Set the font size for this editor instance. |
void |
setGrabFocus(boolean grabFocus)
Set the value of the GrabFocus property. |
void |
setMmlContent(String value)
Set the content of the editor expression from MathML markup. |
void |
setMmlContentById(String id,
String value)
Set the content of the identified expression from MathML markup. |
void |
setMmlCurrent(String value)
Set the content of the current expression from MathML markup. |
void |
setMmlPresent(String value)
Set the presentation of the editor expression from MathML markup. |
void |
setMmlPresentById(String id,
String value)
Set the presentation of the identified expression from MathML markup. |
void |
setMmlSource(String pathName)
Load the MathML source from the given file. |
void |
setZedContent(String value)
Set the content of the editor expression from editor markup. |
void |
setZedContentById(String id,
String value)
Set the content of the identified expression from editor markup. |
void |
setZedCurrent(String value)
Set the content of the current expression from editor markup. |
void |
setZedPosition(String value)
Set the current expression by position. |
void |
setZedPositionById(String value)
Set the current expression by identifier. |
void |
setZedPresent(String value)
Set the presentation of the editor expression from editor markup. |
void |
setZedPresentById(String id,
String value)
Set the presentation of the identified expression from editor markup. |
void |
setZedSource(String pathName)
Load the editor source from the given file. |
boolean |
showFormat(String key,
String value)
Set the named formatting flag to the given value. |
boolean |
showPalette(String name)
Show the named palette. |
void |
start()
Perform applet initialization on startup. |
void |
stop()
Perform applet initialization on shutdown. |
boolean |
writeConfig(String key,
String pathName)
Write the named section of the current configuration. |
| Methods inherited from class javax.swing.JApplet |
|---|
getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, update |
| Methods inherited from class java.applet.Applet |
|---|
getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus |
| Methods inherited from class java.awt.Panel |
|---|
addNotify |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MathEXApplet()
| Method Detail |
|---|
public Frame getAppletFrame()
public void init()
init in class Appletpublic void destroy()
destroy in class Appletpublic void start()
start in class Appletpublic void stop()
stop in class Appletpublic void aboutBox()
public String getVersion()
public void grabFocus()
public int getZedHeight()
public int getZedDepth()
public int getZedWidth()
public boolean getAutoSize()
public void setAutoSize(boolean autoSize)
public boolean getAutoAlign()
public void setAutoAlign(boolean autoAlign)
public boolean getGrabFocus()
public void setGrabFocus(boolean grabFocus)
public String getFontSize()
public void setFontSize(String fontSize)
public boolean loadConfig(String pathName)
public boolean saveConfig(String pathName)
public String getConfig(String key)
public boolean setConfig(String key,
String value)
public boolean addConfig(String key,
String value)
public boolean readConfig(String key,
String pathName)
public boolean writeConfig(String key,
String pathName)
public boolean showPalette(String name)
public boolean hidePalette(String name)
public boolean showFormat(String key,
String value)
public boolean applyTemplate(String template)
public boolean applyTemplateByName(String name)
public String getZedPosition()
public void setZedPosition(String value)
public String getZedPositionById()
public void setZedPositionById(String value)
public String getMmlSource()
public void setMmlSource(String pathName)
public String getZedSource()
public void setZedSource(String pathName)
public String getMmlCurrent()
public void setMmlCurrent(String value)
public String getZedCurrent()
public void setZedCurrent(String value)
public String getMmlContent()
public void setMmlContent(String value)
public String getMmlContentById(String id)
public void setMmlContentById(String id,
String value)
public String getMmlPresent()
public void setMmlPresent(String value)
public String getMmlPresentById(String id)
public void setMmlPresentById(String id,
String value)
public String getZedContent()
public void setZedContent(String value)
public String getZedContentById(String id)
public void setZedContentById(String id,
String value)
public String getZedPresent()
public void setZedPresent(String value)
public String getZedPresentById(String id)
public void setZedPresentById(String id,
String value)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||