|
||||||||
| 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
chemaxon.marvin.applet.AbstractMarvinApplet
public abstract class AbstractMarvinApplet
Abstract applet implementation, for common applet functionalities.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JApplet |
|---|
javax.swing.JApplet.AccessibleJApplet |
| Nested classes/interfaces inherited from class java.applet.Applet |
|---|
java.applet.Applet.AccessibleApplet |
| Nested classes/interfaces inherited from class java.awt.Panel |
|---|
java.awt.Panel.AccessibleAWTPanel |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected int |
debug
|
protected chemaxon.marvin.common.swing.MolPanel |
panel
|
| Fields inherited from class javax.swing.JApplet |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| 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 | |
|---|---|
AbstractMarvinApplet()
|
|
| Method Summary | ||
|---|---|---|
protected abstract void |
createGUI()
|
|
void |
destroy()
|
|
protected
|
enqueueForPrivilegedProcessing(java.lang.String methodName,
java.lang.Object object,
T retval,
java.lang.Object... params)
|
|
protected java.lang.String |
evaluateChemicalTerms0(java.lang.String expr,
chemaxon.struc.Molecule mol)
|
|
protected javax.swing.JApplet |
getAppletInBrowser()
|
|
java.lang.String |
getAppletInfo()
|
|
java.net.URL |
getCodeBase()
|
|
protected abstract chemaxon.marvin.common.swing.MolPanel |
getPanel()
|
|
java.lang.String |
getParameter(java.lang.String name)
|
|
void |
init()
Initializes the applet. |
|
boolean |
isChemicalTermsExpressionSyntaxError()
Returns true, if the last Chemical Terms expression
evaluated by the evaluateChemicalTerms(String, int) applet method is a
syntactically not correct expression. |
|
void |
mouseClicked(java.awt.event.MouseEvent ev)
Does nothing. |
|
void |
mouseEntered(java.awt.event.MouseEvent ev)
Does nothing. |
|
void |
mouseExited(java.awt.event.MouseEvent ev)
Does nothing. |
|
void |
mousePressed(java.awt.event.MouseEvent ev)
Does nothing. |
|
void |
mouseReleased(java.awt.event.MouseEvent ev)
Does nothing. |
|
void |
propertyChange(java.beans.PropertyChangeEvent ev)
Invoke propertyChange(prop) JavaScript method on applet's page. |
|
protected void |
setPanel(chemaxon.marvin.common.swing.MolPanel panel)
|
|
void |
setParentApplet(javax.swing.JApplet launcher)
Sets the parent applet object in which the JMView applet is embedded. |
|
void |
start()
Starts the applet. |
|
void |
stop()
|
|
int |
validateMoleculeStr(java.lang.String str)
Evaluates the given string and determine if Marvin is able to import it as a Molecule or not. |
|
int |
validateMoleculeStr(java.lang.String str,
java.lang.String format)
Evaluates the given string and determine if Marvin is able to import it as a Molecule or not. |
|
| Methods inherited from class javax.swing.JApplet |
|---|
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update |
| Methods inherited from class java.applet.Applet |
|---|
getAppletContext, getAudioClip, getAudioClip, getDocumentBase, getImage, getImage, getLocale, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus |
| Methods inherited from class java.awt.Panel |
|---|
addNotify |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected chemaxon.marvin.common.swing.MolPanel panel
protected int debug
| Constructor Detail |
|---|
public AbstractMarvinApplet()
| Method Detail |
|---|
protected <T> T enqueueForPrivilegedProcessing(java.lang.String methodName,
java.lang.Object object,
T retval,
java.lang.Object... params)
public void setParentApplet(javax.swing.JApplet launcher)
chemaxon.marvin.applet.MAppletIface
setParentApplet in interface chemaxon.marvin.applet.MAppletIfaceprotected javax.swing.JApplet getAppletInBrowser()
public java.net.URL getCodeBase()
getCodeBase in class java.applet.Appletpublic java.lang.String getParameter(java.lang.String name)
getParameter in class java.applet.Appletprotected abstract chemaxon.marvin.common.swing.MolPanel getPanel()
protected void setPanel(chemaxon.marvin.common.swing.MolPanel panel)
public java.lang.String getAppletInfo()
getAppletInfo in class java.applet.Appletpublic void propertyChange(java.beans.PropertyChangeEvent ev)
propertyChange in interface java.beans.PropertyChangeListenerpublic void init()
init in class java.applet.Appletpublic void start()
start in class java.applet.Appletpublic void stop()
stop in class java.applet.Appletpublic void destroy()
destroy in class java.applet.Appletprotected abstract void createGUI()
public void mouseEntered(java.awt.event.MouseEvent ev)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent ev)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent ev)
mouseClicked in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent ev)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent ev)
mouseReleased in interface java.awt.event.MouseListener
protected java.lang.String evaluateChemicalTerms0(java.lang.String expr,
chemaxon.struc.Molecule mol)
public boolean isChemicalTermsExpressionSyntaxError()
true, if the last Chemical Terms expression
evaluated by the evaluateChemicalTerms(String, int) applet method is a
syntactically not correct expression. If there were not any Chemical Terms
expression evaluated before, the method returns false.
isChemicalTermsExpressionSyntaxError in interface chemaxon.marvin.applet.MAppletIfacetrue, if the last evaluated Chemical Terms
expression is syntactically not correctJMSketch.evaluateChemicalTerms(String),
JMView.evaluateChemicalTerms(String, int)public int validateMoleculeStr(java.lang.String str)
validateMoleculeStr in interface chemaxon.marvin.applet.MAppletIfacestr - the molecule source
public int validateMoleculeStr(java.lang.String str,
java.lang.String format)
validateMoleculeStr in interface chemaxon.marvin.applet.MAppletIfacestr - the molecule sourceformat - the file format of the molecule source
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||