|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--netscape.plugin.Plugin
|
+--integre.techexplorer.techexplorer
|
+--integre.techexplorer.plugin.techexplorerPlugin
The techexplorerPlugin class is the browser dependent class for Netscape.
All interaction between Java Applet, Javascript and Plugin should use
public methods on techexplorer class, so any java code
created to interact with techexplorer can remain browser independent.
techexplorer| Fields inherited from class integre.techexplorer.techexplorer |
ADDIN_ERROR_AVAILABLE, ADDIN_ERROR_DESTROY, ADDIN_ERROR_LOAD, ADDIN_ERROR_NEW, ADDIN_FAIL, ADDIN_SUCCESS |
| Constructor Summary | |
techexplorerPlugin()
|
|
| Method Summary | |
boolean |
addFocusListener(FocusListener listener)
Register a focus listener with techexplorer. |
java.lang.String |
addInBlockingEvaluate(java.lang.String mimeType,
java.lang.String appInput)
Invoke the AddInBlockingEvaluate function of a techexplorer add-in. |
java.lang.String |
addInBlockingEvaluateInstance(int addInID,
java.lang.String mimeType,
java.lang.String appInput)
Invoke the AddInBlockingEvaluate function of a techexplorer add-in. |
int |
addInDestroyInstance(int addInID)
Destroy an instance of a techexplorer add-in. |
int |
addInEvaluate(java.lang.String mimeType,
java.lang.String appInput)
Invoke the AddInEvaluate function of a techexplorer add-in. |
int |
addInEvaluateInstance(int addInID,
java.lang.String mimeType,
java.lang.String appInput)
Invoke the AddInEvaluate function of a techexplorer add-in. |
int |
addInInitialize(java.lang.String mimeType)
Start/Initialize a techexplorer add-in if the corresponding add-in is not already active. |
int |
addInNewInstance(java.lang.String sMimeType)
Create an instance of a techexplorer add-in. |
int |
addInShutdown(java.lang.String mimeType)
Shutdown/Destroy a techexplorer add-in. |
boolean |
addInstanceListener(InstanceListener listener)
Register an instance listener with techexplorer. |
boolean |
addKeyListener(KeyListener listener)
Register a key listener with techexplorer. |
boolean |
addMouseListener(MouseListener listener)
Register a mouse listener with techexplorer. |
boolean |
addMouseMotionListener(MouseMotionListener listener)
Register a mouse motion listener with techexplorer. |
boolean |
addtechexplorerListener(techexplorerListener listener)
Register a techexplorer listener with techexplorer. |
java.lang.String |
ATgetName(int attribute)
|
int |
ATgetSpecified(int attribute)
|
java.lang.String |
ATgetValue(int attribute)
|
int |
ATsetValue(int attribute,
java.lang.String value)
|
int |
CDappendData(int node,
java.lang.String arg)
|
int |
CDdeleteData(int node,
int offset,
int count)
|
java.lang.String |
CDgetData(int node)
|
int |
CDgetLength(int node)
|
int |
CDinsertData(int node,
int offset,
java.lang.String arg)
|
int |
CDreplaceData(int node,
int offset,
int count,
java.lang.String arg)
|
int |
CDsetData(int node,
java.lang.String data)
|
java.lang.String |
CDsubstringData(int node,
int offset,
int count)
|
java.lang.String |
convertMMLtoTeX()
Convert the document from MathML source to TeX. |
java.lang.String |
convertTeXtoMML()
Convert the document from TeX source to MathML and mark any unconvertable TeX as an UNKOWN MathML item. |
int |
DIgetDocumentNode(int node)
|
int |
DIhasFeature(int node,
java.lang.String name,
java.lang.String version)
|
void |
disableEvents(int eventsToDisable)
Disables the events defined by the specified event mask parameter from being delivered to a particular techexplorer instance. |
int |
DOcreateAttribute(int node,
java.lang.String name)
|
int |
DOcreateCDATASection(int node,
java.lang.String data)
|
int |
DOcreateComment(int node,
java.lang.String data)
|
int |
DOcreateDocumentFragment(int node)
|
int |
DOcreateElement(int node,
java.lang.String tagName)
|
int |
DOcreateEntityReference(int node,
java.lang.String name)
|
int |
DOcreateProcessingInstruction(int node,
java.lang.String target,
java.lang.String data)
|
int |
DOcreateTextNode(int node,
java.lang.String data)
|
int |
DOgetDoctype(int node)
|
int |
DOgetDocumentElement(int node)
|
int |
DOgetElementsByTagName(int node,
java.lang.String tagname)
|
int |
DOgetImplementation(int node)
|
int |
DTgetEntities(int node)
|
java.lang.String |
DTgetName(int node)
|
int |
DTgetNotations(int node)
|
java.lang.String |
ELgetAttribute(int node,
java.lang.String name)
|
int |
ELgetAttributeNode(int node,
java.lang.String name)
|
int |
ELgetElementsByTagName(int node,
java.lang.String name)
|
java.lang.String |
ELgetTagName(int node)
|
int |
ELnormalize(int node)
|
int |
ELremoveAttribute(int node,
java.lang.String name)
|
int |
ELremoveAttributeNode(int node,
int oldAttr)
|
int |
ELsetAttribute(int node,
java.lang.String name,
java.lang.String value)
|
int |
ELsetAttributeNode(int node,
int newAttr)
|
void |
enableEvents(int eventsToEnable)
Enables the events defined by the specified event mask parameter to be delivered to a particular techexplorer instance. |
java.lang.String |
ENgetNotationName(int node)
|
java.lang.String |
ENgetPublicId(int node)
|
java.lang.String |
ENgetSystemId(int node)
|
void |
focusGained(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName)
|
void |
focusLost(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName)
|
void |
gc()
Garbage collection for any non-java objects. |
int |
getDepthFromMMLString(java.lang.String mmlSource)
Retrieve the document depth from the supplied MathML source. |
int |
getDepthFromTeXString(java.lang.String texSource)
Retrieve the document depth from the supplied TeX source. |
Document |
getDocumentNode()
|
int |
getHeightFromMMLString(java.lang.String mmlSource)
Retrieve the document height from the supplied MathML source. |
int |
getHeightFromTeXString(java.lang.String texSource)
Retrieve the document height from the supplied TeX source. |
int |
getHeightFromTeXStringAndWidth(java.lang.String texSource,
int width)
Retrieve the document height from the supplied TeX source and document width. |
java.lang.String |
getMMLString()
Deprecated. Note: getMMLString() is deprecated. As of techexplorer 3.0 |
java.lang.String |
getTeXString()
Deprecated. Note: getTeXString() is deprecated. As of techexplorer 3.0 |
int |
getWidthFromMMLString(java.lang.String mmlSource)
Retrieve the document width from the supplied MathML source. |
int |
getWidthFromTeXString(java.lang.String texSource)
Retrieve the document width from the supplied TeX source. |
void |
instanceDelete(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName)
|
boolean |
isReady()
Retrieves the readiness of the techexplorer instance for java calls. |
void |
keyPressed(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nModifiers,
int nKeyCode)
|
void |
keyReleased(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nModifiers,
int nKeyCode)
|
void |
keyTyped(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nModifiers,
int nKeyCode)
|
void |
mouseClicked(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nFlags,
int x,
int y,
int nCount,
int nodPathList,
int nodSelectionList)
|
void |
mouseDragged(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nFlags,
int x,
int y,
int nCount,
int nodPathList,
int nodSelectionList)
|
void |
mouseEntered(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nFlags,
int x,
int y,
int nCount,
int nodPathList,
int nodSelectionList)
|
void |
mouseExited(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nFlags,
int x,
int y,
int nCount,
int nodPathList,
int nodSelectionList)
|
void |
mouseMoved(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nFlags,
int x,
int y,
int nCount,
int nodPathList,
int nodSelectionList)
|
void |
mousePressed(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nFlags,
int x,
int y,
int nCount,
int nodPathList,
int nodSelectionList)
|
void |
mouseReleased(java.lang.String sDocumentName,
java.lang.String sListenerClass,
java.lang.String sObjectName,
int nFlags,
int x,
int y,
int nCount,
int nodPathList,
int nodSelectionList)
|
int |
NLgetLength(int nodeList)
|
int |
NLitem(int nodeList,
int index)
|
int |
NNgetLength(int namedNodeMap)
|
int |
NNgetNamedItem(int namedNodeMap,
java.lang.String name)
|
int |
NNitem(int namedNodeMap,
int index)
|
int |
NNremoveNamedItem(int namedNodeMap,
java.lang.String name)
|
int |
NNsetNamedItem(int namedNodeMap,
int arg)
|
int |
NOappendChild(int node,
int newChild)
|
int |
NOcloneNode(int node,
int deep)
|
int |
NOgetAttributes(int node)
|
int |
NOgetChildNodes(int node)
|
int |
NOgetFirstChild(int node)
|
int |
NOgetLastChild(int node)
|
int |
NOgetNextSibling(int node)
|
java.lang.String |
NOgetNodeName(int node)
|
int |
NOgetNodeType(int node)
|
java.lang.String |
NOgetNodeValue(int node)
|
int |
NOgetOwnerDocument(int node)
|
int |
NOgetParentNode(int node)
|
int |
NOgetPreviousSibling(int node)
|
java.lang.String |
NOgetPublicId(int node)
|
java.lang.String |
NOgetSystemId(int node)
|
int |
NOhasChildNodes(int node)
|
int |
NOinsertBefore(int node,
int newChild,
int refChild)
|
int |
NOremoveChild(int node,
int oldChild)
|
int |
NOreplaceChild(int node,
int newChild,
int oldChild)
|
int |
NOsetNodeValue(int node,
java.lang.String arg)
|
java.lang.String |
PIgetData(int node)
|
java.lang.String |
PIgetTarget(int node)
|
int |
PIsetData(int node,
java.lang.String arg)
|
java.lang.String |
printMMLInput()
Retrieve the document MathML source. |
java.lang.String |
printTeXInput()
Retrieve the document TeX source. |
void |
printToConsole(java.lang.String text)
|
void |
reloadFromMMLString(java.lang.String mmlSource)
Replace the document with the supplied MathML source. |
void |
reloadFromTeXString(java.lang.String texSource)
Replace the document with the supplied TeX source. |
boolean |
removeFocusListener(FocusListener listener)
Remove a focus listener from the list of techexplorer listeners. |
boolean |
removeInstanceListener(InstanceListener listener)
Remove an instance listener from the list of techexplorer listeners. |
boolean |
removeKeyListener(KeyListener listener)
Remove a key listener from the list of techexplorer listeners. |
boolean |
removeMouseListener(MouseListener listener)
Remove a mouse listener from the list of techexplorer listeners. |
boolean |
removeMouseMotionListener(MouseMotionListener listener)
Remove a mouse motion listener from the list of techexplorer listeners. |
boolean |
removetechexplorerListener(techexplorerListener listener)
Remove a techexplorer listener from the list of techexplorer listeners. |
void |
setFocusListenerCount(int nCount)
Not intended for external use. |
void |
setInstanceListenerCount(int nCount)
Not intended for external use. |
void |
setKeyListenerCount(int nCount)
Not intended for external use. |
void |
setMouseListenerCount(int nCount)
Not intended for external use. |
void |
setMouseMotionListenerCount(int nCount)
Not intended for external use. |
void |
setTechExplListenerCount(int nCount)
Not intended for external use. |
java.lang.String |
TEconvertMMLtoTeX(int node,
int targetNode)
|
java.lang.String |
TEconvertTeXtoMML(int node,
int targetNode)
|
int |
TEcreateFromMmlString(int node,
java.lang.String data)
|
int |
TEcreateFromTexString(int node,
java.lang.String data)
|
int |
TEcreateFromXmlString(int node,
java.lang.String data)
|
java.lang.String |
TEgetMmlString(int node,
int targetNode)
|
java.lang.String |
TEgetTexString(int node,
int targetNode)
|
java.lang.String |
TEgetXmlString(int node,
int targetNode)
|
int |
TEinvalidate(int node)
|
java.lang.String |
TEprintMMLInput(int node,
int targetNode)
|
java.lang.String |
TEprintTeXInput(int node,
int targetNode)
|
int |
TErecomposeAndRedraw(int node)
|
int |
TErecomposeAndRedrawNode(int node,
int targetNode)
|
int |
TEscrollToNode(int node,
int targetNode)
|
int |
TEsetMMLVersion(int node,
java.lang.String data,
int b)
|
int |
TXsplitText(int node,
int offset)
|
void |
writeStringToFile(java.lang.String fileName,
java.lang.String outString)
Not intended for external use. |
| Methods inherited from class netscape.plugin.Plugin |
destroy, getPeer, getWindow, init, isActive |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public techexplorerPlugin()
| Method Detail |
public boolean addtechexplorerListener(techexplorerListener listener)
techexploreraddtechexplorerListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the techexplorer listener to add.public boolean addMouseListener(MouseListener listener)
techexploreraddMouseListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the mouse listener to add.public boolean addMouseMotionListener(MouseMotionListener listener)
techexploreraddMouseMotionListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the mouse motion listener to add.public boolean addKeyListener(KeyListener listener)
techexploreraddKeyListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the key listener to add.public boolean addFocusListener(FocusListener listener)
techexploreraddFocusListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the focus listener to add.public boolean addInstanceListener(InstanceListener listener)
techexploreraddInstanceListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the instance listener to add.public boolean removetechexplorerListener(techexplorerListener listener)
techexplorerremovetechexplorerListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the techexplorer listener to remove.public boolean removeMouseListener(MouseListener listener)
techexplorerremoveMouseListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the mouse listener to remove.public boolean removeMouseMotionListener(MouseMotionListener listener)
techexplorerremoveMouseMotionListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the mouse motion listener to remove.public boolean removeKeyListener(KeyListener listener)
techexplorerremoveKeyListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the key listener to remove.public boolean removeFocusListener(FocusListener listener)
techexplorerremoveFocusListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the focus listener to remove.public boolean removeInstanceListener(InstanceListener listener)
techexplorerremoveInstanceListener in class techexplorerintegre.techexplorer.techexplorerlistener - Handle to the instance listener to remove.public void gc()
techexplorergc in class techexplorerintegre.techexplorer.techexplorervoid - public boolean isReady()
techexplorerisReady in class techexplorerintegre.techexplorer.techexplorerpublic void disableEvents(int eventsToDisable)
techexplorerdisableEvents in class techexplorerintegre.techexplorer.techexplorereventsToDisable - The event mask defining the event typespublic void enableEvents(int eventsToEnable)
techexplorerenableEvents in class techexplorerintegre.techexplorer.techexplorereventsToEnable - The event mask defining the event typespublic java.lang.String getTeXString()
getTeXString in class techexplorerintegre.techexplorer.techexplorerpublic java.lang.String getMMLString()
getMMLString in class techexplorerintegre.techexplorer.techexplorerpublic java.lang.String printTeXInput()
techexplorerprintTeXInput in class techexplorerintegre.techexplorer.techexplorerpublic java.lang.String printMMLInput()
techexplorerprintMMLInput in class techexplorerintegre.techexplorer.techexplorerpublic java.lang.String convertTeXtoMML()
techexplorerconvertTeXtoMML in class techexplorerintegre.techexplorer.techexplorerpublic java.lang.String convertMMLtoTeX()
techexplorerconvertMMLtoTeX in class techexplorerintegre.techexplorer.techexplorerpublic void reloadFromTeXString(java.lang.String texSource)
techexplorerreloadFromTeXString in class techexplorerintegre.techexplorer.techexplorertexSource - Document TeX source in form of a string.public void reloadFromMMLString(java.lang.String mmlSource)
techexplorerreloadFromMMLString in class techexplorerintegre.techexplorer.techexplorermmlSource - Document MathML source in form of a string.public int getWidthFromMMLString(java.lang.String mmlSource)
techexplorergetWidthFromMMLString in class techexplorerintegre.techexplorer.techexplorerpublic int getHeightFromMMLString(java.lang.String mmlSource)
techexplorergetHeightFromMMLString in class techexplorerintegre.techexplorer.techexplorerpublic int getDepthFromMMLString(java.lang.String mmlSource)
techexplorergetDepthFromMMLString in class techexplorerintegre.techexplorer.techexplorerpublic int getWidthFromTeXString(java.lang.String texSource)
techexplorergetWidthFromTeXString in class techexplorerintegre.techexplorer.techexplorerpublic int getHeightFromTeXString(java.lang.String texSource)
techexplorergetHeightFromTeXString in class techexplorerintegre.techexplorer.techexplorerpublic int getDepthFromTeXString(java.lang.String texSource)
techexplorergetDepthFromTeXString in class techexplorerintegre.techexplorer.techexplorer
public int getHeightFromTeXStringAndWidth(java.lang.String texSource,
int width)
techexplorergetHeightFromTeXStringAndWidth in class techexplorerintegre.techexplorer.techexplorer
public void writeStringToFile(java.lang.String fileName,
java.lang.String outString)
techexplorerwriteStringToFile in class techexplorerpublic int addInInitialize(java.lang.String mimeType)
techexploreraddInInitialize in class techexplorerintegre.techexplorer.techexplorermimeType - add-in MIME type identifier.public int addInShutdown(java.lang.String mimeType)
techexploreraddInShutdown in class techexplorerintegre.techexplorer.techexplorermimeType - add-in MIME type identifier.
public int addInEvaluate(java.lang.String mimeType,
java.lang.String appInput)
techexploreraddInEvaluate in class techexplorerintegre.techexplorer.techexplorermimeType - add-in MIME type identifier.appInput - Application specific input to be evaluated.
public java.lang.String addInBlockingEvaluate(java.lang.String mimeType,
java.lang.String appInput)
techexploreraddInBlockingEvaluate in class techexplorerintegre.techexplorer.techexplorermimeType - add-in MIME type identifier.appInput - Application specific input to be evaluated.
public int addInEvaluateInstance(int addInID,
java.lang.String mimeType,
java.lang.String appInput)
techexploreraddInEvaluateInstance in class techexplorerintegre.techexplorer.techexplorermimeType - add-in MIME type identifier.appInput - Application specific input to be evaluated.
public java.lang.String addInBlockingEvaluateInstance(int addInID,
java.lang.String mimeType,
java.lang.String appInput)
techexploreraddInBlockingEvaluateInstance in class techexplorerintegre.techexplorer.techexplorermimeType - add-in MIME type identifier.appInput - Application specific input to be evaluated.public int addInNewInstance(java.lang.String sMimeType)
techexploreraddInNewInstance in class techexplorerintegre.techexplorer.techexplorersMimeType - add-in MIME type identifierpublic int addInDestroyInstance(int addInID)
techexploreraddInDestroyInstance in class techexplorerintegre.techexplorer.techexplorersMimeType - add-in MIME type identifierpublic void setTechExplListenerCount(int nCount)
techexplorersetTechExplListenerCount in class techexplorerpublic void setInstanceListenerCount(int nCount)
techexplorersetInstanceListenerCount in class techexplorerpublic void setMouseListenerCount(int nCount)
techexplorersetMouseListenerCount in class techexplorerpublic void setMouseMotionListenerCount(int nCount)
techexplorersetMouseMotionListenerCount in class techexplorerpublic void setKeyListenerCount(int nCount)
techexplorersetKeyListenerCount in class techexplorerpublic void setFocusListenerCount(int nCount)
techexplorersetFocusListenerCount in class techexplorerpublic Document getDocumentNode()
getDocumentNode in class techexplorer
public java.lang.String TEgetTexString(int node,
int targetNode)
TEgetTexString in class techexplorer
public java.lang.String TEgetMmlString(int node,
int targetNode)
TEgetMmlString in class techexplorer
public java.lang.String TEgetXmlString(int node,
int targetNode)
TEgetXmlString in class techexplorer
public java.lang.String TEprintTeXInput(int node,
int targetNode)
TEprintTeXInput in class techexplorer
public java.lang.String TEprintMMLInput(int node,
int targetNode)
TEprintMMLInput in class techexplorer
public java.lang.String TEconvertTeXtoMML(int node,
int targetNode)
TEconvertTeXtoMML in class techexplorer
public java.lang.String TEconvertMMLtoTeX(int node,
int targetNode)
TEconvertMMLtoTeX in class techexplorer
public int TEcreateFromTexString(int node,
java.lang.String data)
TEcreateFromTexString in class techexplorer
public int TEcreateFromMmlString(int node,
java.lang.String data)
TEcreateFromMmlString in class techexplorer
public int TEcreateFromXmlString(int node,
java.lang.String data)
TEcreateFromXmlString in class techexplorer
public int TEscrollToNode(int node,
int targetNode)
TEscrollToNode in class techexplorerpublic int TEinvalidate(int node)
TEinvalidate in class techexplorerpublic int TErecomposeAndRedraw(int node)
TErecomposeAndRedraw in class techexplorer
public int TErecomposeAndRedrawNode(int node,
int targetNode)
TErecomposeAndRedrawNode in class techexplorer
public int TEsetMMLVersion(int node,
java.lang.String data,
int b)
TEsetMMLVersion in class techexplorerpublic int DIgetDocumentNode(int node)
DIgetDocumentNode in class techexplorer
public int DIhasFeature(int node,
java.lang.String name,
java.lang.String version)
DIhasFeature in class techexplorerpublic int DOgetDoctype(int node)
DOgetDoctype in class techexplorerpublic int DOgetImplementation(int node)
DOgetImplementation in class techexplorerpublic int DOgetDocumentElement(int node)
DOgetDocumentElement in class techexplorer
public int DOcreateElement(int node,
java.lang.String tagName)
DOcreateElement in class