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.MouseMotionListener
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static float
cButtonBorder
Deprecated.protected static int
cButtonCleanStructure
Deprecated.protected static int
cButtonClear
Deprecated.protected static float
cButtonSize
Deprecated.protected static int
cButtonsPerColumn
Deprecated.protected static int
cButtonUndo
Deprecated.protected static int
cESRMenuBorder
Deprecated.protected static int
cESRMenuX
Deprecated.protected static int
cESRMenuY
Deprecated.protected static int
cTool3Ring
Deprecated.protected static int
cTool4Ring
Deprecated.protected static int
cTool5Ring
Deprecated.protected static int
cTool6Ring
Deprecated.protected static int
cTool7Ring
Deprecated.protected static int
cToolAromRing
Deprecated.protected static int
cToolAtomBr
Deprecated.protected static int
cToolAtomC
Deprecated.protected static int
cToolAtomCl
Deprecated.protected static int
cToolAtomF
Deprecated.protected static int
cToolAtomH
Deprecated.protected static int
cToolAtomI
Deprecated.protected static int
cToolAtomN
Deprecated.protected static int
cToolAtomO
Deprecated.protected static int
cToolAtomOther
Deprecated.protected static int
cToolAtomP
Deprecated.protected static int
cToolAtomS
Deprecated.protected static int
cToolAtomSi
Deprecated.protected static int
cToolChain
Deprecated.protected static int
cToolDelete
Deprecated.protected static int
cToolDownBond
Deprecated.protected static int
cToolESR
Deprecated.protected static int
cToolESRAbs
Deprecated.protected static int
cToolESRAnd
Deprecated.protected static int
cToolESROr
Deprecated.static int
cToolLassoPointer
Deprecated.protected static int
cToolMapper
Deprecated.protected static int
cToolNegCharge
Deprecated.protected static int
cToolPosCharge
Deprecated.protected static int
cToolStdBond
Deprecated.protected static int
cToolText
Deprecated.protected static int
cToolUnknownParity
Deprecated.protected static int
cToolUpBond
Deprecated.protected static int
cToolZoom
Deprecated.protected int
mCurrentTool
Deprecated.protected int
mESRHilited
Deprecated.protected boolean
mESRMenuVisible
Deprecated.protected int
mESRSelected
Deprecated.protected int
mMode
Deprecated.protected int
mPressedButton
Deprecated.-
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.BufferedImage
createImage(java.lang.String fileName)
Deprecated.protected void
drawPressedButton(java.awt.Graphics g, int button)
Deprecated.protected java.awt.Point
getButtonLocation(int button)
Deprecated.protected int
getButtonNo(java.awt.event.MouseEvent e)
Deprecated.void
mouseClicked(java.awt.event.MouseEvent e)
Deprecated.void
mouseDragged(java.awt.event.MouseEvent e)
Deprecated.void
mouseEntered(java.awt.event.MouseEvent e)
Deprecated.void
mouseExited(java.awt.event.MouseEvent e)
Deprecated.void
mouseMoved(java.awt.event.MouseEvent e)
Deprecated.void
mousePressed(java.awt.event.MouseEvent e)
Deprecated.void
mouseReleased(java.awt.event.MouseEvent e)
Deprecated.void
paintComponent(java.awt.Graphics g)
Deprecated.protected void
setButtonClip(java.awt.Graphics g, int button)
Deprecated.void
setCurrentTool(int tool)
Deprecated.void
setReactionMode(boolean rxn)
Deprecated.void
update(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:
paintComponent
in classjavax.swing.JComponent
-
update
public void update(java.awt.Graphics g)
Deprecated.- Overrides:
update
in classjavax.swing.JComponent
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
Deprecated.- Specified by:
mouseDragged
in 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.
-
-