ibm.techexplorer.plugin
Class techexplorerPlugin

java.lang.Object
  |
  +--netscape.plugin.Plugin
        |
        +--ibm.techexplorer.techexplorer
              |
              +--ibm.techexplorer.plugin.techexplorerPlugin

public class techexplorerPlugin
extends techexplorer

Description

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.

See Also:
techexplorer

Fields inherited from class ibm.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

techexplorerPlugin

public techexplorerPlugin()
Method Detail

addtechexplorerListener

public boolean addtechexplorerListener(techexplorerListener listener)
Description copied from class: techexplorer
Register a techexplorer listener with techexplorer. techexplorer listeners receive all possible events generated by techexplorer instances. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Overrides:
addtechexplorerListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the techexplorer listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addMouseListener

public boolean addMouseListener(MouseListener listener)
Description copied from class: techexplorer
Register a mouse listener with techexplorer. Mouse events are fired when a mouse button has been pressed or released or when the mouse enters or exits a techexplorer instance. After this method is called, the mouse listener will receive mouse events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Overrides:
addMouseListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the mouse listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addMouseMotionListener

public boolean addMouseMotionListener(MouseMotionListener listener)
Description copied from class: techexplorer
Register a mouse motion listener with techexplorer. Mouse motion events are fired when a mouse is dragged or moved on a techexplorer instance. After this method is called, the mouse listener will receive mouse motion events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Overrides:
addMouseMotionListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the mouse motion listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addKeyListener

public boolean addKeyListener(KeyListener listener)
Description copied from class: techexplorer
Register a key listener with techexplorer. Key events are fired when a key has been pressed or released on a techexplorer instance. After this method is called, the key listener will receive key events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Overrides:
addKeyListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the key listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addFocusListener

public boolean addFocusListener(FocusListener listener)
Description copied from class: techexplorer
Register a focus listener with techexplorer. Focus events are fired when a techexplorer instance has either gained or lost focus. After this method is called, the focus listener will receive focus events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Overrides:
addFocusListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the focus listener to add.
Returns:
true if listener has been successfully added; false otherwise.

addInstanceListener

public boolean addInstanceListener(InstanceListener listener)
Description copied from class: techexplorer
Register an instance listener with techexplorer. Instance events are fired when the techexplorer plug-in is initialized, shutdown and a new techexplorer instances is created or destroyed. After this method is called, the instance listener will receive instance events fired by techexplorer. techexplorer manages a unique list of listeners and will ignore duplicate entries and null listeners.
Overrides:
addInstanceListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the instance listener to add.
Returns:
true if listener has been successfully added; false otherwise.

removetechexplorerListener

public boolean removetechexplorerListener(techexplorerListener listener)
Description copied from class: techexplorer
Remove a techexplorer listener from the list of techexplorer listeners. After this method is called, the techexplorer listener will no longer receive any events fired by techexplorer.
Overrides:
removetechexplorerListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the techexplorer listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeMouseListener

public boolean removeMouseListener(MouseListener listener)
Description copied from class: techexplorer
Remove a mouse listener from the list of techexplorer listeners. After this method is called, the mouse listener will no longer receive mouse events fired by techexplorer.
Overrides:
removeMouseListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the mouse listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeMouseMotionListener

public boolean removeMouseMotionListener(MouseMotionListener listener)
Description copied from class: techexplorer
Remove a mouse motion listener from the list of techexplorer listeners. After this method is called, the mouse motion listener will no longer receive mouse events fired by techexplorer.
Overrides:
removeMouseMotionListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the mouse motion listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeKeyListener

public boolean removeKeyListener(KeyListener listener)
Description copied from class: techexplorer
Remove a key listener from the list of techexplorer listeners. After this method is called, the key listener will no longer receive key events fired by techexplorer.
Overrides:
removeKeyListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the key listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeFocusListener

public boolean removeFocusListener(FocusListener listener)
Description copied from class: techexplorer
Remove a focus listener from the list of techexplorer listeners. After this method is called, the focus listener will no longer receive focus events fired by techexplorer.
Overrides:
removeFocusListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the focus listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

removeInstanceListener

public boolean removeInstanceListener(InstanceListener listener)
Description copied from class: techexplorer
Remove an instance listener from the list of techexplorer listeners. After this method is called, the instance listener will no longer receive instance events fired by techexplorer.
Overrides:
removeInstanceListener in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
listener - Handle to the instance listener to remove.
Returns:
true if listener has been successfully removed; false otherwise.

gc

public void gc()
Description copied from class: techexplorer
Garbage collection for any non-java objects. You must call this in before the end of any cross-browser applet.
Overrides:
gc in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
void -  
Returns:
void

isReady

public boolean isReady()
Description copied from class: techexplorer
Retrieves the readiness of the techexplorer instance for java calls.
Overrides:
isReady in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
true if techexplorer is ready for java call

disableEvents

public void disableEvents(int eventsToDisable)
Description copied from class: techexplorer
Disables the events defined by the specified event mask parameter from being delivered to a particular techexplorer instance.
Overrides:
disableEvents in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
eventsToDisable - The event mask defining the event types

enableEvents

public void enableEvents(int eventsToEnable)
Description copied from class: techexplorer
Enables the events defined by the specified event mask parameter to be delivered to a particular techexplorer instance.
Overrides:
enableEvents in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
eventsToEnable - The event mask defining the event types

getTeXString

public java.lang.String getTeXString()
Deprecated. Note: getTeXString() is deprecated. As of techexplorer 3.0

Overrides:
getTeXString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
converted TeX source in form of a string.

getMMLString

public java.lang.String getMMLString()
Deprecated. Note: getMMLString() is deprecated. As of techexplorer 3.0

Overrides:
getMMLString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
converted MathML source in form of a string.

printTeXInput

public java.lang.String printTeXInput()
Description copied from class: techexplorer
Retrieve the document TeX source.
Overrides:
printTeXInput in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Document TeX source in form of a string.

printMMLInput

public java.lang.String printMMLInput()
Description copied from class: techexplorer
Retrieve the document MathML source.
Overrides:
printMMLInput in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Document MathML source in form of a string.

convertTeXtoMML

public java.lang.String convertTeXtoMML()
Description copied from class: techexplorer
Convert the document from TeX source to MathML and mark any unconvertable TeX as an UNKOWN MathML item.
Overrides:
convertTeXtoMML in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
converted MathML source in form of a string.

convertMMLtoTeX

public java.lang.String convertMMLtoTeX()
Description copied from class: techexplorer
Convert the document from MathML source to TeX.
Overrides:
convertMMLtoTeX in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
converted TeX source in form of a string.

reloadFromTeXString

public void reloadFromTeXString(java.lang.String texSource)
Description copied from class: techexplorer
Replace the document with the supplied TeX source.
Overrides:
reloadFromTeXString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
texSource - Document TeX source in form of a string.

reloadFromMMLString

public void reloadFromMMLString(java.lang.String mmlSource)
Description copied from class: techexplorer
Replace the document with the supplied MathML source.
Overrides:
reloadFromMMLString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
mmlSource - Document MathML source in form of a string.

getWidthFromMMLString

public int getWidthFromMMLString(java.lang.String mmlSource)
Description copied from class: techexplorer
Retrieve the document width from the supplied MathML source.
Overrides:
getWidthFromMMLString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Width of the MathML Document.

getHeightFromMMLString

public int getHeightFromMMLString(java.lang.String mmlSource)
Description copied from class: techexplorer
Retrieve the document height from the supplied MathML source.
Overrides:
getHeightFromMMLString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Height of the MathML Document.

getDepthFromMMLString

public int getDepthFromMMLString(java.lang.String mmlSource)
Description copied from class: techexplorer
Retrieve the document depth from the supplied MathML source.
Overrides:
getDepthFromMMLString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Depth of the MathML Document.

getWidthFromTeXString

public int getWidthFromTeXString(java.lang.String texSource)
Description copied from class: techexplorer
Retrieve the document width from the supplied TeX source.
Overrides:
getWidthFromTeXString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Width of the TeX Document.

getHeightFromTeXString

public int getHeightFromTeXString(java.lang.String texSource)
Description copied from class: techexplorer
Retrieve the document height from the supplied TeX source.
Overrides:
getHeightFromTeXString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Height of the TeX Document.

getDepthFromTeXString

public int getDepthFromTeXString(java.lang.String texSource)
Description copied from class: techexplorer
Retrieve the document depth from the supplied TeX source.
Overrides:
getDepthFromTeXString in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Depth of the TeX Document.

getHeightFromTeXStringAndWidth

public int getHeightFromTeXStringAndWidth(java.lang.String texSource,
                                          int width)
Description copied from class: techexplorer
Retrieve the document height from the supplied TeX source and document width.
Overrides:
getHeightFromTeXStringAndWidth in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Returns:
Height of the TeX Document.

writeStringToFile

public void writeStringToFile(java.lang.String fileName,
                              java.lang.String outString)
Description copied from class: techexplorer
Not intended for external use.
Overrides:
writeStringToFile in class techexplorer

addInInitialize

public int addInInitialize(java.lang.String mimeType)
Description copied from class: techexplorer
Start/Initialize a techexplorer add-in if the corresponding add-in is not already active.
Overrides:
addInInitialize in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
mimeType - add-in MIME type identifier.

addInShutdown

public int addInShutdown(java.lang.String mimeType)
Description copied from class: techexplorer
Shutdown/Destroy a techexplorer add-in.
Overrides:
addInShutdown in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
mimeType - add-in MIME type identifier.

addInEvaluate

public int addInEvaluate(java.lang.String mimeType,
                         java.lang.String appInput)
Description copied from class: techexplorer
Invoke the AddInEvaluate function of a techexplorer add-in. Since this evaluation function does not require a techexplorerAddIn instance, the result can not be returned asynchronously. Use this function for one-way add-in communication.
Overrides:
addInEvaluate in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
mimeType - add-in MIME type identifier.
appInput - Application specific input to be evaluated.

addInBlockingEvaluate

public java.lang.String addInBlockingEvaluate(java.lang.String mimeType,
                                              java.lang.String appInput)
Description copied from class: techexplorer
Invoke the AddInBlockingEvaluate function of a techexplorer add-in. Since the result of the evaluation is returned, the calling function will block until the evaluation is complete. Use this function for bi-directional synchronous add-in communication.
Overrides:
addInBlockingEvaluate in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
mimeType - add-in MIME type identifier.
appInput - Application specific input to be evaluated.

addInEvaluateInstance

public int addInEvaluateInstance(int addInID,
                                 java.lang.String mimeType,
                                 java.lang.String appInput)
Description copied from class: techexplorer
Invoke the AddInEvaluate function of a techexplorer add-in.
Overrides:
addInEvaluateInstance in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
mimeType - add-in MIME type identifier.
appInput - Application specific input to be evaluated.

addInBlockingEvaluateInstance

public java.lang.String addInBlockingEvaluateInstance(int addInID,
                                                      java.lang.String mimeType,
                                                      java.lang.String appInput)
Description copied from class: techexplorer
Invoke the AddInBlockingEvaluate function of a techexplorer add-in.
Overrides:
addInBlockingEvaluateInstance in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
mimeType - add-in MIME type identifier.
appInput - Application specific input to be evaluated.

addInNewInstance

public int addInNewInstance(java.lang.String sMimeType)
Description copied from class: techexplorer
Create an instance of a techexplorer add-in.
Overrides:
addInNewInstance in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
sMimeType - add-in MIME type identifier
Returns:
an add-in handel if the instance has been successfully created; JAVA_ADDIN_ERROR_NEW otherwise.

addInDestroyInstance

public int addInDestroyInstance(int addInID)
Description copied from class: techexplorer
Destroy an instance of a techexplorer add-in.
Overrides:
addInDestroyInstance in class techexplorer
Following copied from class: ibm.techexplorer.techexplorer
Parameters:
sMimeType - add-in MIME type identifier
Returns:
 

setTechExplListenerCount

public void setTechExplListenerCount(int nCount)
Description copied from class: techexplorer
Not intended for external use.
Overrides:
setTechExplListenerCount in class techexplorer

setInstanceListenerCount

public void setInstanceListenerCount(int nCount)
Description copied from class: techexplorer
Not intended for external use.
Overrides:
setInstanceListenerCount in class techexplorer

setMouseListenerCount

public void setMouseListenerCount(int nCount)
Description copied from class: techexplorer
Not intended for external use.
Overrides:
setMouseListenerCount in class techexplorer

setMouseMotionListenerCount

public void setMouseMotionListenerCount(int nCount)
Description copied from class: techexplorer
Not intended for external use.
Overrides:
setMouseMotionListenerCount in class techexplorer

setKeyListenerCount

public void setKeyListenerCount(int nCount)
Description copied from class: techexplorer
Not intended for external use.
Overrides:
setKeyListenerCount in class techexplorer

setFocusListenerCount

public void setFocusListenerCount(int nCount)
Description copied from class: techexplorer
Not intended for external use.
Overrides:
setFocusListenerCount in class techexplorer

getDocumentNode

public Document getDocumentNode()
Overrides:
getDocumentNode in class techexplorer

TEgetTexString

public java.lang.String TEgetTexString(int node,
                                       int targetNode)
Overrides:
TEgetTexString in class techexplorer

TEgetMmlString

public java.lang.String TEgetMmlString(int node,
                                       int targetNode)
Overrides:
TEgetMmlString in class techexplorer

TEgetXmlString

public java.lang.String TEgetXmlString(int node,
                                       int targetNode)
Overrides:
TEgetXmlString in class techexplorer

TEprintTeXInput

public java.lang.String TEprintTeXInput(int node,
                                        int targetNode)
Overrides:
TEprintTeXInput in class techexplorer

TEprintMMLInput

public java.lang.String TEprintMMLInput(int node,
                                        int targetNode)
Overrides:
TEprintMMLInput in class techexplorer

TEconvertTeXtoMML

public java.lang.String TEconvertTeXtoMML(int node,
                                          int targetNode)
Overrides:
TEconvertTeXtoMML in class techexplorer

TEconvertMMLtoTeX

public java.lang.String TEconvertMMLtoTeX(int node,
                                          int targetNode)
Overrides:
TEconvertMMLtoTeX in class techexplorer

TEcreateFromTexString

public int TEcreateFromTexString(int node,
                                 java.lang.String data)
Overrides:
TEcreateFromTexString in class techexplorer

TEcreateFromMmlString

public int TEcreateFromMmlString(int node,
                                 java.lang.String data)
Overrides:
TEcreateFromMmlString in class techexplorer

TEcreateFromXmlString

public int TEcreateFromXmlString(int node,
                                 java.lang.String data)
Overrides:
TEcreateFromXmlString in class techexplorer

TEscrollToNode

public int TEscrollToNode(int node,
                          int targetNode)
Overrides:
TEscrollToNode in class techexplorer

TEinvalidate

public int TEinvalidate(int node)
Overrides:
TEinvalidate in class techexplorer

TErecomposeAndRedraw

public int TErecomposeAndRedraw(int node)
Overrides:
TErecomposeAndRedraw in class techexplorer

TErecomposeAndRedrawNode

public int TErecomposeAndRedrawNode(int node,
                                    int targetNode)
Overrides:
TErecomposeAndRedrawNode in class techexplorer

TEsetMMLVersion

public int TEsetMMLVersion(int node,
                           java.lang.String data,
                           int b)
Overrides:
TEsetMMLVersion in class techexplorer

DIgetDocumentNode

public int DIgetDocumentNode(int node)
Overrides:
DIgetDocumentNode in class techexplorer

DIhasFeature

public int DIhasFeature(int node,
                        java.lang.String name,
                        java.lang.String version)
Overrides:
DIhasFeature in class techexplorer

DOgetDoctype

public int DOgetDoctype(int node)
Overrides:
DOgetDoctype in class techexplorer

DOgetImplementation

public int DOgetImplementation(int node)
Overrides:
DOgetImplementation in class techexplorer

DOgetDocumentElement

public int DOgetDocumentElement(int node)
Overrides:
DOgetDocumentElement in class techexplorer

DOcreateElement

public int DOcreateElement(int node,
                           java.lang.String tagName)
Overrides:
DOcreateElement in class techexplorer

DOcreateDocumentFragment

public int DOcreateDocumentFragment(int node)
Overrides:
DOcreateDocumentFragment in class techexplorer

DOcreateTextNode

public int DOcreateTextNode(int node,
                            java.lang.String data)
Overrides:
DOcreateTextNode in class techexplorer

DOcreateComment

public int DOcreateComment(int node,
                           java.lang.String data)
Overrides:
DOcreateComment in class techexplorer

DOcreateCDATASection

public int DOcreateCDATASection(int node,
                                java.lang.String data)
Overrides:
DOcreateCDATASection in class techexplorer

DOcreateProcessingInstruction

public int DOcreateProcessingInstruction(int node,
                                         java.lang.String target,
                                         java.lang.String data)
Overrides:
DOcreateProcessingInstruction in class techexplorer

DOcreateAttribute

public int DOcreateAttribute(int node,
                             java.lang.String name)
Overrides:
DOcreateAttribute in class techexplorer

DOcreateEntityReference

public int DOcreateEntityReference(int node,
                                   java.lang.String name)
Overrides:
DOcreateEntityReference in class techexplorer

DOgetElementsByTagName

public int DOgetElementsByTagName(int node,
                                  java.lang.String tagname)
Overrides:
DOgetElementsByTagName in class techexplorer

DTgetName

public java.lang.String DTgetName(int node)
Overrides:
DTgetName in class techexplorer

DTgetEntities

public int DTgetEntities(int node)
Overrides:
DTgetEntities in class techexplorer

DTgetNotations

public int DTgetNotations(int node)
Overrides:
DTgetNotations in class techexplorer

ENgetPublicId

public java.lang.String ENgetPublicId(int node)
Overrides:
ENgetPublicId in class techexplorer

ENgetSystemId

public java.lang.String ENgetSystemId(int node)
Overrides:
ENgetSystemId in class techexplorer

ENgetNotationName

public java.lang.String ENgetNotationName(int node)
Overrides:
ENgetNotationName in class techexplorer

NOgetPublicId

public java.lang.String NOgetPublicId(int node)
Overrides:
NOgetPublicId in class techexplorer

NOgetSystemId

public java.lang.String NOgetSystemId(int node)
Overrides:
NOgetSystemId in class techexplorer

PIgetTarget

public java.lang.String PIgetTarget(int node)
Overrides:
PIgetTarget in class techexplorer

PIgetData

public java.lang.String PIgetData(int node)
Overrides:
PIgetData in class techexplorer

PIsetData

public int PIsetData(int node,
                     java.lang.String arg)
Overrides:
PIsetData in class techexplorer

NOgetNodeName

public java.lang.String NOgetNodeName(int node)
Overrides:
NOgetNodeName in class techexplorer

NOgetNodeValue

public java.lang.String NOgetNodeValue(int node)
Overrides:
NOgetNodeValue in class techexplorer

NOsetNodeValue

public int NOsetNodeValue(int node,
                          java.lang.String arg)
Overrides:
NOsetNodeValue in class techexplorer

NOgetNodeType

public int NOgetNodeType(int node)
Overrides:
NOgetNodeType in class techexplorer

NOgetParentNode

public int NOgetParentNode(int node)
Overrides:
NOgetParentNode in class techexplorer

NOgetChildNodes

public int NOgetChildNodes(int node)
Overrides:
NOgetChildNodes in class techexplorer

NOgetFirstChild

public int NOgetFirstChild(int node)
Overrides:
NOgetFirstChild in class techexplorer

NOgetLastChild

public int NOgetLastChild(int node)
Overrides:
NOgetLastChild in class techexplorer

NOgetPreviousSibling

public int NOgetPreviousSibling(int node)
Overrides:
NOgetPreviousSibling in class techexplorer

NOgetNextSibling

public int NOgetNextSibling(int node)
Overrides:
NOgetNextSibling in class techexplorer

NOgetAttributes

public int NOgetAttributes(int node)
Overrides:
NOgetAttributes in class techexplorer

NOgetOwnerDocument

public int NOgetOwnerDocument(int node)
Overrides:
NOgetOwnerDocument in class techexplorer

NOinsertBefore

public int NOinsertBefore(int node,
                          int newChild,
                          int refChild)
Overrides:
NOinsertBefore in class techexplorer

NOreplaceChild

public int NOreplaceChild(int node,
                          int newChild,
                          int oldChild)
Overrides:
NOreplaceChild in class techexplorer

NOremoveChild

public int NOremoveChild(int node,
                         int oldChild)
Overrides:
NOremoveChild in class techexplorer

NOappendChild

public int NOappendChild(int node,
                         int newChild)
Overrides:
NOappendChild in class techexplorer

NOhasChildNodes

public int NOhasChildNodes(int node)
Overrides:
NOhasChildNodes in class techexplorer

NOcloneNode

public int NOcloneNode(int node,
                       int deep)
Overrides:
NOcloneNode in class techexplorer

ELgetTagName

public java.lang.String ELgetTagName(int node)
Overrides:
ELgetTagName in class techexplorer

ELgetAttribute

public java.lang.String ELgetAttribute(int node,
                                       java.lang.String name)
Overrides:
ELgetAttribute in class techexplorer

ELsetAttribute

public int ELsetAttribute(int node,
                          java.lang.String name,
                          java.lang.String value)
Overrides:
ELsetAttribute in class techexplorer

ELremoveAttribute

public int ELremoveAttribute(int node,
                             java.lang.String name)
Overrides:
ELremoveAttribute in class techexplorer

ELgetAttributeNode

public int ELgetAttributeNode(int node,
                              java.lang.String name)
Overrides:
ELgetAttributeNode in class techexplorer

ELsetAttributeNode

public int ELsetAttributeNode(int node,
                              int newAttr)
Overrides:
ELsetAttributeNode in class techexplorer

ELremoveAttributeNode

public int ELremoveAttributeNode(int node,
                                 int oldAttr)
Overrides:
ELremoveAttributeNode in class techexplorer

ELgetElementsByTagName

public int ELgetElementsByTagName(int node,
                                  java.lang.String name)
Overrides:
ELgetElementsByTagName in class techexplorer

ELnormalize

public int ELnormalize(int node)
Overrides:
ELnormalize in class techexplorer

NLitem

public int NLitem(int nodeList,
                  int index)
Overrides:
NLitem in class techexplorer

NLgetLength

public int NLgetLength(int nodeList)
Overrides:
NLgetLength in class techexplorer

NNgetNamedItem

public int NNgetNamedItem(int namedNodeMap,
                          java.lang.String name)
Overrides:
NNgetNamedItem in class techexplorer

NNsetNamedItem

public int NNsetNamedItem(int namedNodeMap,
                          int arg)
Overrides:
NNsetNamedItem in class techexplorer

NNremoveNamedItem

public int NNremoveNamedItem(int namedNodeMap,
                             java.lang.String name)
Overrides:
NNremoveNamedItem in class techexplorer

NNitem

public int NNitem(int namedNodeMap,
                  int index)
Overrides:
NNitem in class techexplorer

NNgetLength

public int NNgetLength(int namedNodeMap)
Overrides:
NNgetLength in class techexplorer

ATgetName

public java.lang.String ATgetName(int attribute)
Overrides:
ATgetName in class techexplorer

ATgetSpecified

public int ATgetSpecified(int attribute)
Overrides:
ATgetSpecified in class techexplorer

ATgetValue

public java.lang.String ATgetValue(int attribute)
Overrides:
ATgetValue in class techexplorer

ATsetValue

public int ATsetValue(int attribute,
                      java.lang.String value)
Overrides:
ATsetValue in class techexplorer

CDgetData

public java.lang.String CDgetData(int node)
Overrides:
CDgetData in class techexplorer

CDsetData

public int CDsetData(int node,
                     java.lang.String data)
Overrides:
CDsetData in class techexplorer

CDgetLength

public int CDgetLength(int node)
Overrides:
CDgetLength in class techexplorer

CDsubstringData

public java.lang.String CDsubstringData(int node,
                                        int offset,
                                        int count)
Overrides:
CDsubstringData in class techexplorer

CDappendData

public int CDappendData(int node,
                        java.lang.String arg)
Overrides:
CDappendData in class techexplorer

CDinsertData

public int CDinsertData(int node,
                        int offset,
                        java.lang.String arg)
Overrides:
CDinsertData in class techexplorer

CDdeleteData

public int CDdeleteData(int node,
                        int offset,
                        int count)
Overrides:
CDdeleteData in class techexplorer

CDreplaceData

public int CDreplaceData(int node,
                         int offset,
                         int count,
                         java.lang.String arg)
Overrides:
CDreplaceData in class techexplorer

TXsplitText

public int TXsplitText(int node,
                       int offset)
Overrides:
TXsplitText in class techexplorer

mouseClicked

public 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)
Overrides:
mouseClicked in class techexplorer

mouseEntered

public 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)
Overrides:
mouseEntered in class techexplorer

mouseExited

public 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)
Overrides:
mouseExited in class techexplorer

mousePressed

public 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)
Overrides:
mousePressed in class techexplorer

mouseReleased

public 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)
Overrides:
mouseReleased in class techexplorer

mouseMoved

public 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)
Overrides:
mouseMoved in class techexplorer

mouseDragged

public 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)
Overrides:
mouseDragged in class techexplorer

keyPressed

public void keyPressed(java.lang.String sDocumentName,
                       java.lang.String sListenerClass,
                       java.lang.String sObjectName,
                       int nModifiers,
                       int nKeyCode)
Overrides:
keyPressed in class techexplorer

keyReleased

public void keyReleased(java.lang.String sDocumentName,
                        java.lang.String sListenerClass,
                        java.lang.String sObjectName,
                        int nModifiers,
                        int nKeyCode)
Overrides:
keyReleased in class techexplorer

keyTyped

public void keyTyped(java.lang.String sDocumentName,
                     java.lang.String sListenerClass,
                     java.lang.String sObjectName,
                     int nModifiers,
                     int nKeyCode)
Overrides:
keyTyped in class techexplorer

focusGained

public void focusGained(java.lang.String sDocumentName,
                        java.lang.String sListenerClass,
                        java.lang.String sObjectName)
Overrides:
focusGained in class techexplorer

focusLost

public void focusLost(java.lang.String sDocumentName,
                      java.lang.String sListenerClass,
                      java.lang.String sObjectName)
Overrides:
focusLost in class techexplorer

instanceDelete

public void instanceDelete(java.lang.String sDocumentName,
                           java.lang.String sListenerClass,
                           java.lang.String sObjectName)
Overrides:
instanceDelete in class techexplorer

printToConsole

public void printToConsole(java.lang.String text)