e-Mohr v. 1.00

Class MohrControls

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JToolBar
                  extended byMohrControls
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.swing.SwingConstants

class MohrControls
extends javax.swing.JToolBar

MohrControls.java - Controles do programa do círculo de Mohr.

Descrição:

===============================================================

Este arquivo implementa as classes dos objetos de interface para controle do programa do círculo de Mohr.

===============================================================

Version:
1.0 05/09/2004
Author:
Luiz Fernando Martha, Alonso Juvinao Carbono, Anderson Resende Pereira, Fernando Busato Ramires, Paôla Reginal Dalcanal, Ricardo Rodrigues de Araujo

Nested Class Summary
 
Nested classes inherited from class javax.swing.JToolBar
javax.swing.JToolBar.AccessibleJToolBar, javax.swing.JToolBar.Separator
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected static javax.swing.JCheckBox cb_fitoncircle
           
protected static javax.swing.JCheckBox cb_infodlg
           
protected static javax.swing.JCheckBox cb_principalstrs
           
protected static javax.swing.JCheckBox cb_setenglish
           
protected static javax.swing.JCheckBox cb_setportuguese
           
protected static javax.swing.JCheckBox cb_showorigin
           
protected static javax.swing.JCheckBox cb_statestrs
           
protected static javax.swing.JCheckBox cb_theorydlg
           
protected static javax.swing.JCheckBox cb_thetastrs
           
protected  javax.swing.ImageIcon i_fitoncircle
           
protected  javax.swing.ImageIcon i_fitoncirclepress
           
protected  javax.swing.ImageIcon i_fitoncircleroll
           
protected  javax.swing.ImageIcon i_info
           
protected  javax.swing.ImageIcon i_infopress
           
protected  javax.swing.ImageIcon i_inforoll
           
protected  javax.swing.ImageIcon i_principal
           
protected  javax.swing.ImageIcon i_principalpress
           
protected  javax.swing.ImageIcon i_principalroll
           
protected  javax.swing.ImageIcon i_ptflag
           
protected  javax.swing.ImageIcon i_ptflagpress
           
protected  javax.swing.ImageIcon i_ptflagroll
           
protected  javax.swing.ImageIcon i_showorigin
           
protected  javax.swing.ImageIcon i_showoriginpress
           
protected  javax.swing.ImageIcon i_showoriginroll
           
protected  javax.swing.ImageIcon i_state
           
protected  javax.swing.ImageIcon i_statepress
           
protected  javax.swing.ImageIcon i_stateroll
           
protected  javax.swing.ImageIcon i_theory
           
protected  javax.swing.ImageIcon i_theorypress
           
protected  javax.swing.ImageIcon i_theoryroll
           
protected  javax.swing.ImageIcon i_theta
           
protected  javax.swing.ImageIcon i_thetapress
           
protected  javax.swing.ImageIcon i_thetaroll
           
protected  javax.swing.ImageIcon i_ukflag
           
protected  javax.swing.ImageIcon i_ukflagpress
           
protected  javax.swing.ImageIcon i_ukflagroll
           
protected  MohrAboutBox infodlg
           
protected  MohrFrame owner
           
protected  MohrPanel target
           
protected  MohrTheory theorydlg
           
 
Fields inherited from class javax.swing.JToolBar
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
(package private) MohrControls(MohrFrame owner, MohrPanel target)
           
 
Method Summary
(package private)  void resetInfoDlg()
           
(package private)  void resetTheoryDlg()
           
 void setEnglish(boolean first_time)
           
protected  void setFitOnCircle()
           
 void setPortuguese(boolean first_time)
           
protected  void setPrincipalStrs()
           
protected  void setShowOrigin()
           
protected  void setStateStrs()
           
protected  void setThetaStrs()
           
protected  void showInfoDlg()
           
protected  void showTheoryDlg()
           
 
Methods inherited from class javax.swing.JToolBar
add, addImpl, addSeparator, addSeparator, createActionChangeListener, createActionComponent, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, paintBorder, paramString, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, 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

owner

protected MohrFrame owner

target

protected MohrPanel target

infodlg

protected MohrAboutBox infodlg

theorydlg

protected MohrTheory theorydlg

i_ptflag

protected javax.swing.ImageIcon i_ptflag

i_ptflagpress

protected javax.swing.ImageIcon i_ptflagpress

i_ptflagroll

protected javax.swing.ImageIcon i_ptflagroll

i_ukflag

protected javax.swing.ImageIcon i_ukflag

i_ukflagpress

protected javax.swing.ImageIcon i_ukflagpress

i_ukflagroll

protected javax.swing.ImageIcon i_ukflagroll

i_showorigin

protected javax.swing.ImageIcon i_showorigin

i_showoriginpress

protected javax.swing.ImageIcon i_showoriginpress

i_showoriginroll

protected javax.swing.ImageIcon i_showoriginroll

i_fitoncircle

protected javax.swing.ImageIcon i_fitoncircle

i_fitoncirclepress

protected javax.swing.ImageIcon i_fitoncirclepress

i_fitoncircleroll

protected javax.swing.ImageIcon i_fitoncircleroll

i_state

protected javax.swing.ImageIcon i_state

i_statepress

protected javax.swing.ImageIcon i_statepress

i_stateroll

protected javax.swing.ImageIcon i_stateroll

i_theta

protected javax.swing.ImageIcon i_theta

i_thetapress

protected javax.swing.ImageIcon i_thetapress

i_thetaroll

protected javax.swing.ImageIcon i_thetaroll

i_principal

protected javax.swing.ImageIcon i_principal

i_principalpress

protected javax.swing.ImageIcon i_principalpress

i_principalroll

protected javax.swing.ImageIcon i_principalroll

i_info

protected javax.swing.ImageIcon i_info

i_infopress

protected javax.swing.ImageIcon i_infopress

i_inforoll

protected javax.swing.ImageIcon i_inforoll

i_theory

protected javax.swing.ImageIcon i_theory

i_theorypress

protected javax.swing.ImageIcon i_theorypress

i_theoryroll

protected javax.swing.ImageIcon i_theoryroll

cb_setportuguese

protected static javax.swing.JCheckBox cb_setportuguese

cb_setenglish

protected static javax.swing.JCheckBox cb_setenglish

cb_showorigin

protected static javax.swing.JCheckBox cb_showorigin

cb_fitoncircle

protected static javax.swing.JCheckBox cb_fitoncircle

cb_statestrs

protected static javax.swing.JCheckBox cb_statestrs

cb_principalstrs

protected static javax.swing.JCheckBox cb_principalstrs

cb_thetastrs

protected static javax.swing.JCheckBox cb_thetastrs

cb_infodlg

protected static javax.swing.JCheckBox cb_infodlg

cb_theorydlg

protected static javax.swing.JCheckBox cb_theorydlg
Constructor Detail

MohrControls

MohrControls(MohrFrame owner,
             MohrPanel target)
Method Detail

setPortuguese

public void setPortuguese(boolean first_time)

setEnglish

public void setEnglish(boolean first_time)

setShowOrigin

protected void setShowOrigin()

setFitOnCircle

protected void setFitOnCircle()

setStateStrs

protected void setStateStrs()

setThetaStrs

protected void setThetaStrs()

setPrincipalStrs

protected void setPrincipalStrs()

showInfoDlg

protected void showInfoDlg()

resetInfoDlg

void resetInfoDlg()

showTheoryDlg

protected void showTheoryDlg()

resetTheoryDlg

void resetTheoryDlg()

e-Mohr v. 1.00