All Packages Class Hierarchy This Package Previous Next Index
Class spill.STBMainMenu
java.lang.Object
|
+----java.awt.MenuComponent
|
+----java.awt.MenuBar
|
+----tea.awt.frame.editor.MainMenu
|
+----spill.STBMainMenu
- public class STBMainMenu
- extends MainMenu
- implements ItemListener
This is a class used to build an implementation of MenuBar
explicitely written for the SpillTheBeans Frame. It's
derived from tea.awt.frame.editor.MainMenu and adds all the
necessary menus for the actionCommands raised by SpillTheBeans.
- Version:
- 1.0 beta - 21 June 1997
- Author:
- Leonardo Boselli
- See Also:
- SpillTheBeans
-
STBMainMenu(SpillTheBeans)
- This constructor associates a SpillTheBeans and defines the Menu Labels
supported.
-
changeSpokenLanguage(String)
- Implements the LanguageSpeaker interface and listens to the changes of
the spoken language.
-
isDumpFormat()
- Returns true if the format is the Dump one.
-
isDumpFormat(boolean)
- Sets the class format.
-
isPackageShowing()
- Returns true if packages must be shown.
-
isPackageShowing(boolean)
- Sets the package visibility.
-
isSimpleSintax()
- Returns true if simple sintax must be used.
-
isSimpleSintax(boolean)
- Sets the sintax complexity.
-
itemStateChanged(ItemEvent)
- Implements the ItemListener interface and listens to
changes in the state of the CkeckboxMenuItems.
STBMainMenu
public STBMainMenu(SpillTheBeans stb)
- This constructor associates a SpillTheBeans and defines the Menu Labels
supported.
- Parameters:
- stb - the SpillTheBeans.
- See Also:
- LanguageLearner
isDumpFormat
public boolean isDumpFormat()
- Returns true if the format is the Dump one.
- Returns:
- true if format is Dump.
isPackageShowing
public boolean isPackageShowing()
- Returns true if packages must be shown.
- Returns:
- true if packages must be shown.
isSimpleSintax
public boolean isSimpleSintax()
- Returns true if simple sintax must be used.
- Returns:
- true if simple sintax must be used.
isDumpFormat
public void isDumpFormat(boolean dump)
- Sets the class format.
- Parameters:
- dump - true if format is Dump.
isPackageShowing
public void isPackageShowing(boolean pack)
- Sets the package visibility.
- Parameters:
- pack - true if packages must be shown.
isSimpleSintax
public void isSimpleSintax(boolean sint)
- Sets the sintax complexity.
- Parameters:
- sint - true if sintax is simplified.
itemStateChanged
public void itemStateChanged(ItemEvent ie)
- Implements the ItemListener interface and listens to
changes in the state of the CkeckboxMenuItems.
- Parameters:
- ie - the ItemEvent.
changeSpokenLanguage
public boolean changeSpokenLanguage(String l)
- Implements the LanguageSpeaker interface and listens to the changes of
the spoken language.
- Parameters:
- l - the spoken language.
- Returns:
- if the language is supported or not.
- Overrides:
- changeSpokenLanguage in class MainMenu
All Packages Class Hierarchy This Package Previous Next Index