com.maplesoft.client
Class mathmlEquation

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--webeq3.app.Equation
                    |
                    +--webeq3.app.PEquation
                          |
                          +--com.maplesoft.client.mathmlEquation
All Implemented Interfaces:
javax.accessibility.Accessible, webeq3.constants.AttributeConstants, java.awt.datatransfer.ClipboardOwner, org.w3c.dom.Document, java.awt.image.ImageObserver, webeq3.dom.MathMLDocument, java.awt.MenuContainer, org.w3c.dom.Node, java.io.Serializable

public class mathmlEquation
extends webeq3.app.PEquation

mathmlEquation.java

See Also:
Serialized Form

Fields inherited from class webeq3.app.PEquation
controls, use_controls
 
Fields inherited from class webeq3.app.Equation
ah, align, allow_cut, applet, breaks, canvas_xoff, canvas_yoff, cutend, cutendx, cutendy, cutstart, cutstartx, cutstarty, fixed_size, full_size, handler, haveSelection, hilight_change, indent, leftMargin, leftmostSelection, linebreak, markupRoot, mh, offsetx, offsety, oh, overflowMarkers, padding, rectbottom, rectleft, rectright, recttop, rightmostSelection, root, system_clipboard, valign, WizardIsRunning
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface webeq3.constants.AttributeConstants
ACCENT, ACCENTUNDER, ACTIONTYPE, ALGNSCOPE, ALIGN, ALT, attribute_names, BACKGROUND, BASE, BGHIGHLIGHT, CLASS, CLOSE, CLOSURE, COLOR, COLUMNALIGN, COLUMNLINES, COLUMNSPACING, COLUMNSPAN, CUE1, CUE2, defaultValue, DEFINITIONURL, DEPTH, DISPLAY, DISPLAYSTYLE, EDGE, ENCODING, EQUALCOLUMNS, EQUALROWS, FENCE, FGHIGHLIGHT, FONTCOLOR, FONTFAMILY, FONTSIZE, FONTSLANT, FONTSTYLE, FONTWEIGHT, FORM, FRAME, FRAMESPACING, GRPALIGN, hasUnits, HEIGHT, HREF, ID, INDEX, LARGEOP, LINEBREAK, LINETHICKNESS, LQUOTE, LSPACE, MACROS, MATHBACKGROUND, MATHCOLOR, MATHSIZE, MATHVARIANT, MAXSIZE, MINLABELSPACING, MINSIZE, MODE, MOVABLELIMITS, MPHANTOM_LAP, MSPACE_FILL, NARGS, NOTATION, NUM_ATTRIBUTES, OCCURRENCE, OPEN, ORDER, OTHER, ROWALIGN, ROWLINES, ROWSPACING, ROWSPAN, RQUOTE, RSPACE, SCOPE, SCRIPTLEVEL, SCRIPTMINSIZE, SCRIPTMULT, SELECTION, SEPARATOR, SEPARATORS, SIDE, STRETCHY, STYLE, SUBSHIFT, SUPSHIFT, SYMMETRIC, TYPE, WIDTH, XREF
 
Fields inherited from interface webeq3.dom.MathMLDocument
domain, referrer, URI
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
mathmlEquation()
          CONSTRUCTOR
mathmlEquation(java.lang.String sMathML)
          CONSTRUCTOR
 
Method Summary
 boolean getDrawBorder()
           
 java.lang.String getEquation()
          Retrieve the MathML tagged expression
 boolean isDoubleBuffered()
           
 void paint(java.awt.Graphics g)
          Redraws the equation.
 void setControls(boolean b)
           
 void setDrawBorder(boolean b)
           
 void setEquation(java.lang.String sMathML)
          Store the Math ML equation - tagged format is expected
 
Methods inherited from class webeq3.app.PEquation
handleEvent, registerControls, registerControls, unregisterControls
 
Methods inherited from class webeq3.app.Equation
appendChild, attributeInUse, cloneNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, directRedraw, dispose, fixSize, fullSize, getAttributes, getChildNodes, getDisplayWidth, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getFace, getFirstChild, getHandler, getImplementation, getLastChild, getLocalName, getMinimumSize, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPointsize, getPreferredAscent, getPreferredHeight, getPreferredSize, getPreferredWidth, getPrefix, getPreviousSibling, getSize, getVendor, hasAttributes, hasChildNodes, highlightAll, importNode, initBG, initBG, initFG, initFG, insertBefore, isSupported, lookupIndex, lostOwnership, normalize, normalVirtualCoords, postPaint, redraw, registerActions, registerMessage, removeChild, replaceChild, resetMessagesAndActions, setAlign, setHandler, setLeftMargin, setLinebreak, setNodeValue, setOverflow, setPadding, setPointSize, setPreferredSize, setPrefix, setRoot, setSelection, setVAlign, standardPointsize, supports
 
Methods inherited from class java.awt.Canvas
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

mathmlEquation

public mathmlEquation()
CONSTRUCTOR

mathmlEquation

public mathmlEquation(java.lang.String sMathML)
CONSTRUCTOR
Parameters:
sMathML - a MathML string for the equation to be shown
Method Detail

setEquation

public void setEquation(java.lang.String sMathML)
Store the Math ML equation - tagged format is expected
Parameters:
sMathML - - new equation to display

getEquation

public java.lang.String getEquation()
Retrieve the MathML tagged expression
Returns:
- A string representing the current MathML expression

setDrawBorder

public void setDrawBorder(boolean b)

getDrawBorder

public boolean getDrawBorder()

isDoubleBuffered

public boolean isDoubleBuffered()
Overrides:
isDoubleBuffered in class java.awt.Component

paint

public void paint(java.awt.Graphics g)
Redraws the equation.
Overrides:
paint in class webeq3.app.Equation
Parameters:
g - - a Graphics context

setControls

public void setControls(boolean b)
Overrides:
setControls in class webeq3.app.PEquation