Package com.actelion.research.gui
Class JDrawToolbar
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- com.actelion.research.gui.JDrawToolbar
-
- All Implemented Interfaces:
java.awt.event.MouseListener,java.awt.event.MouseMotionListener,java.awt.image.ImageObserver,java.awt.MenuContainer,java.io.Serializable,java.util.EventListener
@Deprecated public class JDrawToolbar extends javax.swing.JComponent implements java.awt.event.MouseListener, java.awt.event.MouseMotionListenerDeprecated.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static floatcButtonBorderDeprecated.protected static intcButtonCleanStructureDeprecated.protected static intcButtonClearDeprecated.protected static floatcButtonSizeDeprecated.protected static intcButtonsPerColumnDeprecated.protected static intcButtonUndoDeprecated.protected static intcESRMenuBorderDeprecated.protected static intcESRMenuXDeprecated.protected static intcESRMenuYDeprecated.protected static intcTool3RingDeprecated.protected static intcTool4RingDeprecated.protected static intcTool5RingDeprecated.protected static intcTool6RingDeprecated.protected static intcTool7RingDeprecated.protected static intcToolAromRingDeprecated.protected static intcToolAtomBrDeprecated.protected static intcToolAtomCDeprecated.protected static intcToolAtomClDeprecated.protected static intcToolAtomFDeprecated.protected static intcToolAtomHDeprecated.protected static intcToolAtomIDeprecated.protected static intcToolAtomNDeprecated.protected static intcToolAtomODeprecated.protected static intcToolAtomOtherDeprecated.protected static intcToolAtomPDeprecated.protected static intcToolAtomSDeprecated.protected static intcToolAtomSiDeprecated.protected static intcToolChainDeprecated.protected static intcToolDeleteDeprecated.protected static intcToolDownBondDeprecated.protected static intcToolESRDeprecated.protected static intcToolESRAbsDeprecated.protected static intcToolESRAndDeprecated.protected static intcToolESROrDeprecated.static intcToolLassoPointerDeprecated.protected static intcToolMapperDeprecated.protected static intcToolNegChargeDeprecated.protected static intcToolPosChargeDeprecated.protected static intcToolStdBondDeprecated.protected static intcToolTextDeprecated.protected static intcToolUnknownParityDeprecated.protected static intcToolUpBondDeprecated.protected static intcToolZoomDeprecated.protected intmCurrentToolDeprecated.protected intmESRHilitedDeprecated.protected booleanmESRMenuVisibleDeprecated.protected intmESRSelectedDeprecated.protected intmModeDeprecated.protected intmPressedButtonDeprecated.-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Constructor Summary
Constructors Constructor Description JDrawToolbar(JDrawArea theArea)Deprecated.JDrawToolbar(JDrawArea theArea, int mode)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.awt.image.BufferedImagecreateImage(java.lang.String fileName)Deprecated.protected voiddrawPressedButton(java.awt.Graphics g, int button)Deprecated.protected java.awt.PointgetButtonLocation(int button)Deprecated.protected intgetButtonNo(java.awt.event.MouseEvent e)Deprecated.voidmouseClicked(java.awt.event.MouseEvent e)Deprecated.voidmouseDragged(java.awt.event.MouseEvent e)Deprecated.voidmouseEntered(java.awt.event.MouseEvent e)Deprecated.voidmouseExited(java.awt.event.MouseEvent e)Deprecated.voidmouseMoved(java.awt.event.MouseEvent e)Deprecated.voidmousePressed(java.awt.event.MouseEvent e)Deprecated.voidmouseReleased(java.awt.event.MouseEvent e)Deprecated.voidpaintComponent(java.awt.Graphics g)Deprecated.protected voidsetButtonClip(java.awt.Graphics g, int button)Deprecated.voidsetCurrentTool(int tool)Deprecated.voidsetReactionMode(boolean rxn)Deprecated.voidupdate(java.awt.Graphics g)Deprecated.-
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateUI
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
cButtonsPerColumn
protected static final int cButtonsPerColumn
Deprecated.- See Also:
- Constant Field Values
-
cButtonClear
protected static final int cButtonClear
Deprecated.- See Also:
- Constant Field Values
-
cButtonCleanStructure
protected static final int cButtonCleanStructure
Deprecated.- See Also:
- Constant Field Values
-
cToolLassoPointer
public static final int cToolLassoPointer
Deprecated.- See Also:
- Constant Field Values
-
cToolUnknownParity
protected static final int cToolUnknownParity
Deprecated.- See Also:
- Constant Field Values
-
cToolDelete
protected static final int cToolDelete
Deprecated.- See Also:
- Constant Field Values
-
cToolStdBond
protected static final int cToolStdBond
Deprecated.- See Also:
- Constant Field Values
-
cToolUpBond
protected static final int cToolUpBond
Deprecated.- See Also:
- Constant Field Values
-
cTool3Ring
protected static final int cTool3Ring
Deprecated.- See Also:
- Constant Field Values
-
cTool5Ring
protected static final int cTool5Ring
Deprecated.- See Also:
- Constant Field Values
-
cTool7Ring
protected static final int cTool7Ring
Deprecated.- See Also:
- Constant Field Values
-
cToolPosCharge
protected static final int cToolPosCharge
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomC
protected static final int cToolAtomC
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomN
protected static final int cToolAtomN
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomO
protected static final int cToolAtomO
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomF
protected static final int cToolAtomF
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomBr
protected static final int cToolAtomBr
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomH
protected static final int cToolAtomH
Deprecated.- See Also:
- Constant Field Values
-
cButtonUndo
protected static final int cButtonUndo
Deprecated.- See Also:
- Constant Field Values
-
cToolZoom
protected static final int cToolZoom
Deprecated.- See Also:
- Constant Field Values
-
cToolMapper
protected static final int cToolMapper
Deprecated.- See Also:
- Constant Field Values
-
cToolESR
protected static final int cToolESR
Deprecated.- See Also:
- Constant Field Values
-
cToolText
protected static final int cToolText
Deprecated.- See Also:
- Constant Field Values
-
cToolChain
protected static final int cToolChain
Deprecated.- See Also:
- Constant Field Values
-
cToolDownBond
protected static final int cToolDownBond
Deprecated.- See Also:
- Constant Field Values
-
cTool4Ring
protected static final int cTool4Ring
Deprecated.- See Also:
- Constant Field Values
-
cTool6Ring
protected static final int cTool6Ring
Deprecated.- See Also:
- Constant Field Values
-
cToolAromRing
protected static final int cToolAromRing
Deprecated.- See Also:
- Constant Field Values
-
cToolNegCharge
protected static final int cToolNegCharge
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomSi
protected static final int cToolAtomSi
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomP
protected static final int cToolAtomP
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomS
protected static final int cToolAtomS
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomCl
protected static final int cToolAtomCl
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomI
protected static final int cToolAtomI
Deprecated.- See Also:
- Constant Field Values
-
cToolAtomOther
protected static final int cToolAtomOther
Deprecated.- See Also:
- Constant Field Values
-
cESRMenuBorder
protected static final int cESRMenuBorder
Deprecated.- See Also:
- Constant Field Values
-
cESRMenuX
protected static final int cESRMenuX
Deprecated.
-
cESRMenuY
protected static final int cESRMenuY
Deprecated.
-
cButtonBorder
protected static final float cButtonBorder
Deprecated.
-
cButtonSize
protected static final float cButtonSize
Deprecated.
-
cToolESRAbs
protected static final int cToolESRAbs
Deprecated.- See Also:
- Constant Field Values
-
cToolESROr
protected static final int cToolESROr
Deprecated.- See Also:
- Constant Field Values
-
cToolESRAnd
protected static final int cToolESRAnd
Deprecated.- See Also:
- Constant Field Values
-
mCurrentTool
protected int mCurrentTool
Deprecated.
-
mPressedButton
protected int mPressedButton
Deprecated.
-
mMode
protected int mMode
Deprecated.
-
mESRSelected
protected int mESRSelected
Deprecated.
-
mESRHilited
protected int mESRHilited
Deprecated.
-
mESRMenuVisible
protected boolean mESRMenuVisible
Deprecated.
-
-
Method Detail
-
setReactionMode
public void setReactionMode(boolean rxn)
Deprecated.
-
createImage
public static java.awt.image.BufferedImage createImage(java.lang.String fileName)
Deprecated.
-
setCurrentTool
public void setCurrentTool(int tool)
Deprecated.
-
paintComponent
public void paintComponent(java.awt.Graphics g)
Deprecated.- Overrides:
paintComponentin classjavax.swing.JComponent
-
update
public void update(java.awt.Graphics g)
Deprecated.- Overrides:
updatein classjavax.swing.JComponent
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mousePressedin interfacejava.awt.event.MouseListener
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseReleasedin interfacejava.awt.event.MouseListener
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseEnteredin interfacejava.awt.event.MouseListener
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseExitedin interfacejava.awt.event.MouseListener
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseClickedin interfacejava.awt.event.MouseListener
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseMovedin interfacejava.awt.event.MouseMotionListener
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseDraggedin interfacejava.awt.event.MouseMotionListener
-
getButtonNo
protected int getButtonNo(java.awt.event.MouseEvent e)
Deprecated.
-
setButtonClip
protected void setButtonClip(java.awt.Graphics g, int button)Deprecated.
-
drawPressedButton
protected void drawPressedButton(java.awt.Graphics g, int button)Deprecated.
-
getButtonLocation
protected java.awt.Point getButtonLocation(int button)
Deprecated.
-
-