All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class spill.SpillTheBeans

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----tea.awt.frame.SingleDocker
                                           |
                                           +----tea.awt.frame.MainFrame
                                                   |
                                                   +----tea.awt.frame.editor.TextEditor
                                                           |
                                                           +----tea.awt.frame.editor.MultiTextEditor
                                                                   |
                                                                   +----spill.SpillTheBeans

public class SpillTheBeans
extends MultiTextEditor

This class is an extension of MultiTextEditor. Displays the contents of class files in several ways.

Version:
1.1 beta - 21 June 1997
Author:
Leonardo Boselli

Constructor Index

 o SpillTheBeans()
Constructor for Spill class.

Method Index

 o actionSettings()
Performs the management of the main ActionListeners settings.
 o isDumpFormat()
Returns true if the format is the Dump one.
 o isDumpFormat(boolean)
Sets the class format.
 o isDumpFormatChanged(boolean)
Called when the format of the viewer is changed.
 o isPackageShowing()
Returns true if packages must be shown.
 o isPackageShowing(boolean)
Sets the package visibility.
 o isPackageShowingChanged(boolean)
Called when the Package Showing flag is changed.
 o isSimpleSintax()
Returns true if simple sintax must be used.
 o isSimpleSintax(boolean)
Sets the sintax complexity.
 o isSimpleSintaxChanged(boolean)
Called when the Simple Sintax flag is changed.
 o main(String[])
Main Entry Function.
 o menuSettings()
Performs the management of the main MenuBar settings.
 o openDocument()
Opens a document asking for the File name.
 o openDocument(String)
Opens the document with the specified File name.
 o resetTextAreas()
Resets the array of TextAreas.
 o saveDocument()
Saves the current document.
 o saveOptions()
Saves the current options.
 o showInfo()
Shows the Dialog Information of the TextEditor.
 o showTextArea(int)
Shows the nth TextArea.

Constructors

 o SpillTheBeans
 public SpillTheBeans()
Constructor for Spill class.

Methods

 o main
 public static void main(String args[])
Main Entry Function.

 o saveOptions
 public void saveOptions()
Saves the current options.

Overrides:
saveOptions in class TextEditor
 o menuSettings
 public void menuSettings()
Performs the management of the main MenuBar settings.

Overrides:
menuSettings in class TextEditor
 o actionSettings
 public void actionSettings()
Performs the management of the main ActionListeners settings.

Overrides:
actionSettings in class MultiTextEditor
 o showTextArea
 public void showTextArea(int text)
Shows the nth TextArea.

Parameters:
s - the text of the TextArea.
Overrides:
showTextArea in class MultiTextEditor
 o resetTextAreas
 public void resetTextAreas()
Resets the array of TextAreas.

Overrides:
resetTextAreas in class MultiTextEditor
 o isDumpFormatChanged
 public void isDumpFormatChanged(boolean v)
Called when the format of the viewer is changed.

Parameters:
v - true if format is dump now.
 o isPackageShowingChanged
 public void isPackageShowingChanged(boolean v)
Called when the Package Showing flag is changed.

Parameters:
v - true if PackageShowing is true.
 o isSimpleSintaxChanged
 public void isSimpleSintaxChanged(boolean v)
Called when the Simple Sintax flag is changed.

Parameters:
v - true if SimpleSintax is true.
 o isDumpFormat
 public boolean isDumpFormat()
Returns true if the format is the Dump one.

Returns:
true if format is Dump.
 o isPackageShowing
 public boolean isPackageShowing()
Returns true if packages must be shown.

Returns:
true if packages must be shown.
 o isSimpleSintax
 public boolean isSimpleSintax()
Returns true if simple sintax must be used.

Returns:
true if simple sintax must be used.
 o isDumpFormat
 public void isDumpFormat(boolean dump)
Sets the class format.

Parameters:
dump - true if format is Dump.
 o isPackageShowing
 public void isPackageShowing(boolean pack)
Sets the package visibility.

Parameters:
pack - true if packages must be shown.
 o isSimpleSintax
 public void isSimpleSintax(boolean sint)
Sets the sintax complexity.

Parameters:
sint - true if sintax is simplified.
 o showInfo
 public void showInfo()
Shows the Dialog Information of the TextEditor.

Overrides:
showInfo in class TextEditor
 o openDocument
 public void openDocument()
Opens a document asking for the File name.

Overrides:
openDocument in class TextEditor
 o openDocument
 public void openDocument(String fileName)
Opens the document with the specified File name.

Parameters:
fileName - the name of the File to be opened.
Overrides:
openDocument in class TextEditor
 o saveDocument
 public void saveDocument()
Saves the current document.

Overrides:
saveDocument in class TextEditor

All Packages  Class Hierarchy  This Package  Previous  Next  Index