FEJDGui
Interface OurMenuBar

All Known Implementing Classes:
PrgMenuBar, WebMenuBar

public interface OurMenuBar


Method Summary
 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
 

Method Detail

initLocale

public void initLocale()
Initiates the default language


getString

public java.lang.String getString(java.lang.String s)
Returns the string of the resource bundle


updateAll

public void updateAll(javax.swing.JMenuItem source)
Modifies the labels upon language change


update

public void update(javax.swing.JMenuItem source)
Updates the labels when the user changes the language


isDisplDecomp

public boolean isDisplDecomp()
Returns true if the users has chosen to display the Cholesky-Factorization


isDisplayingDoc

public boolean isDisplayingDoc()
Returns true if the display help menu item is ticked


isQuadraticFctSelected

public boolean isQuadraticFctSelected()
Returns true if the quadratic functions are selected


isLinearFctSelected

public boolean isLinearFctSelected()
Returns true if the linear functions are selected


setJpegEnabled

public void setJpegEnabled(boolean state)
Sets the state of the save Jpeg menu


setSolutionEnabled

public void setSolutionEnabled(boolean state)
Sets the save solution of the Jpeg menu


setRefinementEnabled

public void setRefinementEnabled(boolean state)
Sets the state of the refinement menu


setRenumEnabled

public void setRenumEnabled(boolean state)
Sets the state of the renumbering menu


isAutoRenumSelected

public boolean isAutoRenumSelected()
Returns true if the auto-renumbering selected


isNewFileRefineSelected

public boolean isNewFileRefineSelected()
Returns true if the menu for creatig new files after a refinement is selected


setNewFileRenumEnabled

public void setNewFileRenumEnabled(boolean state)
Sets the state of the menu for creating new files after a renumbering