All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Control.Format

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.AbstractButton
                                   |
                                   +----com.sun.java.swing.JMenuItem
                                           |
                                           +----com.sun.java.swing.JMenu
                                                   |
                                                   +----Control.Format

public class Format
extends JMenu
This class will format the text inside main text area by changing the text size and text font


Constructor Index

 o Format(InterfaceDefinition)
This construtor will construct an object to handle all the events for changing the text size and font

Method Index

 o cour_ActionPerformed(ActionEvent)
This method will change the text in text area to font courier
 o helivita_ActionPerformed(ActionEvent)
This method will change the text in text area to font Helivita
 o roman_ActionPerformed(ActionEvent)
This method will change the text in text area to font TimesRoman
 o size14_ActionPerformed(ActionEvent)
This method will change the text in text area to size 14
 o size16_ActionPerformed(ActionEvent)
This method will change the text in text area to size 16
 o size18_ActionPerformed(ActionEvent)
This method will change the text in text area to size 18

Constructors

 o Format
 public Format(InterfaceDefinition d)
This construtor will construct an object to handle all the events for changing the text size and font

Parameters:
InterfaceDefinition - id
Returns:
none

Methods

 o size14_ActionPerformed
 public void size14_ActionPerformed(ActionEvent event)
This method will change the text in text area to size 14

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o size16_ActionPerformed
 public void size16_ActionPerformed(ActionEvent event)
This method will change the text in text area to size 16

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o size18_ActionPerformed
 public void size18_ActionPerformed(ActionEvent event)
This method will change the text in text area to size 18

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o cour_ActionPerformed
 public void cour_ActionPerformed(ActionEvent event)
This method will change the text in text area to font courier

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o roman_ActionPerformed
 public void roman_ActionPerformed(ActionEvent event)
This method will change the text in text area to font TimesRoman

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o helivita_ActionPerformed
 public void helivita_ActionPerformed(ActionEvent event)
This method will change the text in text area to font Helivita

Parameters:
ActionEvent - Event to be handled
Returns:
none

All Packages  Class Hierarchy  This Package  Previous  Next  Index