|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JMenuBar
FEJDGui.WebMenuBar
Menu bar of the software
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JMenuBar |
javax.swing.JMenuBar.AccessibleJMenuBar |
| 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 | |
private javax.swing.JMenuItem |
about
The different menu items of the program |
private javax.swing.JCheckBoxMenuItem |
autoRenum
The different checkbox menu items of the program |
private javax.swing.JCheckBoxMenuItem |
decompDispl
The different checkbox menu items of the program |
private javax.swing.JCheckBoxMenuItem |
dirichletNode
The different checkbox menu items of the program |
private javax.swing.JMenuItem |
eng
The different menu items of the program |
private javax.swing.JMenuItem |
fre
The different menu items of the program |
private javax.swing.JMenuItem |
ger
The different menu items of the program |
private javax.swing.JCheckBoxMenuItem |
handbook
The different checkbox menu items of the program |
private javax.swing.JMenuItem |
jpeg
The different menu items of the program |
private javax.swing.JRadioButtonMenuItem |
linearFct
The different radiobutton menu items of the program |
private int |
localeChoosen
The language chossen by the user |
private java.util.Locale[] |
localesSupported
The locals (ie languages) which are supported |
private javax.swing.JMenu |
menuAcc
The different menus of the program |
private javax.swing.JMenu |
menuDisplay
The different menus of the program |
private javax.swing.JMenu |
menuFct
The different menus of the program |
private javax.swing.JMenu |
menuHelp
The different menus of the program |
private javax.swing.JMenu |
menuLanguage
The different menus of the program |
private javax.swing.JMenu |
menuMisc
The different menus of the program |
private javax.swing.JMenu |
menuNewFiles
The different menus of the program |
private javax.swing.JMenu |
menuParam
The different menus of the program |
private javax.swing.JCheckBoxMenuItem |
nbDispl
The different checkbox menu items of the program |
private javax.swing.JCheckBoxMenuItem |
newFileRefine
The different checkbox menu items of the program |
private javax.swing.JCheckBoxMenuItem |
newFileRenum
The different checkbox menu items of the program |
private javax.swing.JRadioButtonMenuItem |
quadraticFct
The different radiobutton menu items of the program |
private static java.util.ResourceBundle |
rb
The bundle containing all the strings in all languages |
private javax.swing.JMenuItem |
refinement
The different menu items of the program |
private javax.swing.JMenuItem |
renum
The different menu items of the program |
private javax.swing.JMenuItem |
solution
The different menu items of the program |
| Fields inherited from class javax.swing.JMenuBar |
|
| 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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
WebMenuBar()
construcs and initializes a new menu bar and loads the help system |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
Reacts to a click on a menu |
java.lang.String |
getString(java.lang.String s)
Returns the string of the resource bundle |
void |
initLocale()
Initiates the default language |
boolean |
isAutoRenumSelected()
Returns true if the auto-renumbering selected |
boolean |
isDisplayingDoc()
Returns true if the display help menu item is ticked |
boolean |
isDisplDecomp()
Returns true if the users has chosen to display the Cholesky-Factorization |
boolean |
isLinearFctSelected()
Returns true if the linear functions are selected |
boolean |
isNewFileRefineSelected()
Returns true if the menu for creatig new files after a refinement is selected |
boolean |
isQuadraticFctSelected()
Returns true if the quadratic functions are selected |
void |
setJpegEnabled(boolean state)
Sets the state of the save Jpeg menu |
void |
setNewFileRenumEnabled(boolean state)
Sets the state of the menu for creating new files after a renumbering |
void |
setRefinementEnabled(boolean state)
Sets the state of the refinement menu |
void |
setRenumEnabled(boolean state)
Sets the state of the renumbering menu |
void |
setSolutionEnabled(boolean state)
Sets the save solution of the Jpeg menu |
void |
update(javax.swing.JMenuItem source)
Updates the labels when the user changes the language |
void |
updateAll(javax.swing.JMenuItem source)
Modifies the labels upon language change |
| Methods inherited from class javax.swing.JMenuBar |
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, getUIClassID, isBorderPainted, isSelected, menuSelectionChanged, paintBorder, paramString, processKeyBinding, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, 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, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, 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, addImpl, 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, setLayout, 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 |
private javax.swing.JMenu menuLanguage
private javax.swing.JMenu menuParam
private javax.swing.JMenu menuFct
private javax.swing.JMenu menuDisplay
private javax.swing.JMenu menuMisc
private javax.swing.JMenu menuAcc
private javax.swing.JMenu menuHelp
private javax.swing.JMenu menuNewFiles
private javax.swing.JMenuItem eng
private javax.swing.JMenuItem ger
private javax.swing.JMenuItem fre
private javax.swing.JMenuItem jpeg
private javax.swing.JMenuItem solution
private javax.swing.JMenuItem renum
private javax.swing.JMenuItem refinement
private javax.swing.JMenuItem about
private javax.swing.JCheckBoxMenuItem nbDispl
private javax.swing.JCheckBoxMenuItem dirichletNode
private javax.swing.JCheckBoxMenuItem decompDispl
private javax.swing.JCheckBoxMenuItem autoRenum
private javax.swing.JCheckBoxMenuItem newFileRenum
private javax.swing.JCheckBoxMenuItem newFileRefine
private javax.swing.JCheckBoxMenuItem handbook
private javax.swing.JRadioButtonMenuItem linearFct
private javax.swing.JRadioButtonMenuItem quadraticFct
private java.util.Locale[] localesSupported
private int localeChoosen
private static java.util.ResourceBundle rb
| Constructor Detail |
public WebMenuBar()
| Method Detail |
public void initLocale()
initLocale in interface OurMenuBarpublic java.lang.String getString(java.lang.String s)
getString in interface OurMenuBarpublic void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerpublic void updateAll(javax.swing.JMenuItem source)
updateAll in interface OurMenuBarpublic void update(javax.swing.JMenuItem source)
update in interface OurMenuBarpublic boolean isDisplayingDoc()
isDisplayingDoc in interface OurMenuBarpublic boolean isDisplDecomp()
isDisplDecomp in interface OurMenuBarpublic boolean isQuadraticFctSelected()
isQuadraticFctSelected in interface OurMenuBarpublic boolean isLinearFctSelected()
isLinearFctSelected in interface OurMenuBarpublic void setJpegEnabled(boolean state)
setJpegEnabled in interface OurMenuBarpublic void setSolutionEnabled(boolean state)
setSolutionEnabled in interface OurMenuBarpublic void setRefinementEnabled(boolean state)
setRefinementEnabled in interface OurMenuBarpublic void setRenumEnabled(boolean state)
setRenumEnabled in interface OurMenuBarpublic boolean isAutoRenumSelected()
isAutoRenumSelected in interface OurMenuBarpublic boolean isNewFileRefineSelected()
isNewFileRefineSelected in interface OurMenuBarpublic void setNewFileRenumEnabled(boolean state)
setNewFileRenumEnabled in interface OurMenuBar
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||