All Packages Class Hierarchy This Package Previous Next Index
Class tea.awt.frame.editor.MultiMainToolbar
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----tea.awt.bar.Toolbar
|
+----tea.awt.frame.editor.MainToolbar
|
+----tea.awt.frame.editor.MultiMainToolbar
- public class MultiMainToolbar
- extends MainToolbar
- implements ItemListener
This is a class used to build an implementation of Toolbar
explicitely written for the MultiTextEditor Frame. It's
derived from tea.awt.frame.editor.MainToolbar and adds all the
necessary icons for the actionCommands raised by the MultiTextEditor.
- Version:
- 1.0 beta - 21 June 1997
- Author:
- Leonardo Boselli
- See Also:
- MultiTextEditor
-
MultiMainToolbar(ActionListener)
- This constructor associates an ActionListener, defines the descriptive
text and actionCommands of the icons and a LanguageLearner to extend
the International Languages support.
-
addSelectableItem(String)
- Adds a selectable item.
-
changeSpokenLanguage(String)
- Implements the LanguageSpeaker interface and listens to the changes of
the spoken language.
-
itemStateChanged(ItemEvent)
- Implements the ItemListener interface and changes the shown page
when a method is selected in the list.
-
removeAllItems()
- Removes all the selectable items.
-
selectSelectableItem(int)
- Selects a selectable item.
MultiMainToolbar
public MultiMainToolbar(ActionListener al)
- This constructor associates an ActionListener, defines the descriptive
text and actionCommands of the icons and a LanguageLearner to extend
the International Languages support.
- Parameters:
- al - the ActionListener.
removeAllItems
public void removeAllItems()
- Removes all the selectable items.
addSelectableItem
public void addSelectableItem(String s)
- Adds a selectable item.
- Parameters:
- s - the item String.
selectSelectableItem
public void selectSelectableItem(int id)
- Selects a selectable item.
- Parameters:
- s - the item String.
itemStateChanged
public void itemStateChanged(ItemEvent ie)
- Implements the ItemListener interface and changes the shown page
when a method is selected in the list.
- 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 MainToolbar
All Packages Class Hierarchy This Package Previous Next Index