HEADER

ru.biosoft.math
Class ExpressionEditorPane

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--com.developmentontheedge.application.PanelManager
                                |
                                +--ru.biosoft.math.ExpressionEditorPane

public class ExpressionEditorPane
extends PanelManager

General purpose expression editor.

See Also: Expression, ExpressionEditorDialog

Inner classes inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel

Inner classes inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent

Inner classes inherited from class java.awt.Container
Container.AccessibleAWTContainer

Inner classes inherited from class java.awt.Component
Component.AccessibleAWTComponent

Field Summary
 static LinearFormatterlinearFormatter
           
 static ParserlinearParser
           
 static MathMLFormattermathMLFormatter
           
 static ParsermathMLParser
           

Fields inherited from class javax.swing.JComponent
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Constructor Summary
ExpressionEditorPane()
           
ExpressionEditorPane(JButton okButton)
           

Method Summary
 ExpressiongetExpression()
           
 JButtongetOkButton()
           
 voidsetExpression(Expression expression)
           
 voidsetOkButton(JButton okButton)
           

Methods inherited from class com.developmentontheedge.application.PanelManager
addPanel, addPanel, addPanel, contains, getPanel, getPanelInfo, getPanelNames, isEmpty, propertyChange, removeAllPanels, removePanel, togglePanel

Methods inherited from class javax.swing.JPanel
updateUI, getUIClassID, getAccessibleContext

Methods inherited from class javax.swing.JComponent
update, paint, printAll, print, isPaintingTile, isFocusCycleRoot, isManagingFocus, setNextFocusableComponent, getNextFocusableComponent, setRequestFocusEnabled, isRequestFocusEnabled, requestFocus, grabFocus, setVerifyInputWhenFocusTarget, getVerifyInputWhenFocusTarget, setPreferredSize, getPreferredSize, setMaximumSize, getMaximumSize, setMinimumSize, getMinimumSize, isMinimumSizeSet, isPreferredSizeSet, isMaximumSizeSet, contains, setBorder, getBorder, getInsets, getInsets, getAlignmentY, setAlignmentY, getAlignmentX, setAlignmentX, setInputVerifier, getInputVerifier, getGraphics, setDebugGraphicsOptions, getDebugGraphicsOptions, registerKeyboardAction, registerKeyboardAction, unregisterKeyboardAction, getRegisteredKeyStrokes, getConditionForKeyStroke, getActionForKeyStroke, resetKeyboardActions, setInputMap, getInputMap, getInputMap, setActionMap, getActionMap, requestDefaultFocus, setVisible, hide, setEnabled, setForeground, setBackground, setFont, isFocusTraversable, setToolTipText, getToolTipText, getToolTipText, getToolTipLocation, createToolTip, scrollRectToVisible, setAutoscrolls, getAutoscrolls, enable, disable, getClientProperty, putClientProperty, isLightweightComponent, reshape, getBounds, getSize, getLocation, getX, getY, getWidth, getHeight, hasFocus, isOpaque, setOpaque, computeVisibleRect, getVisibleRect, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, addVetoableChangeListener, removeVetoableChangeListener, getTopLevelAncestor, addAncestorListener, removeAncestorListener, getListeners, addNotify, removeNotify, repaint, repaint, revalidate, isValidateRoot, isOptimizedDrawingEnabled, paintImmediately, paintImmediately, setDoubleBuffered, isDoubleBuffered, getRootPane

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, insets, add, add, add, add, add, remove, remove, removeAll, getLayout, setLayout, doLayout, layout, invalidate, validate, preferredSize, minimumSize, paintComponents, printComponents, addContainerListener, removeContainerListener, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, isAncestorOf, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, isValid, isDisplayable, isVisible, isShowing, isEnabled, enable, enableInputMethods, show, show, getForeground, getBackground, getFont, getLocale, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, setBounds, isLightweight, getFontMetrics, setCursor, getCursor, paintAll, repaint, repaint, repaint, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, inside, contains, dispatchEvent, postEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, getInputContext, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, transferFocus, nextFocus, add, remove, toString, list, list, list, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait

Field Detail

linearFormatter

public static LinearFormatter linearFormatter

linearParser

public static Parser linearParser

mathMLFormatter

public static MathMLFormatter mathMLFormatter

mathMLParser

public static Parser mathMLParser
Constructor Detail

ExpressionEditorPane

public ExpressionEditorPane()

ExpressionEditorPane

public ExpressionEditorPane(JButton okButton)
Method Detail

getExpression

public Expression getExpression()

getOkButton

public JButton getOkButton()

setExpression

public void setExpression(Expression expression)

setOkButton

public void setOkButton(JButton okButton)

Association Links

to Class ru.biosoft.math.view.FormulaViewBuilder

to Class ru.biosoft.graphics.editor.ViewPane

to Class javax.swing.JTextPane

to Class javax.swing.JTextPane

to Class javax.swing.JTextPane

to Class javax.swing.JButton

to Class javax.swing.JButton

to Class ru.biosoft.math.Expression

to Class javax.swing.JButton

The dialog can set up this property and ExpressionEditorPane will enable or disable the button depending on the status of expression parsing.

to Class ru.biosoft.math.model.Parser

to Class ru.biosoft.math.model.Parser

to Class ru.biosoft.math.model.LinearFormatter

to Class ru.biosoft.math.xml.MathMLFormatter

to Class javax.swing.JTextPane

The source of DocumentEvent, text or mathML JTextPane.

FOOTER

BOTTOM