All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Interface.InterfaceDefinition

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----com.sun.java.swing.JFrame
                                           |
                                           +----Interface.InterfaceDefinition

public class InterfaceDefinition
extends JFrame
A class to define Main interface defination for the application


Variable Index

 o boldFont
This variable will define a new font with size 12 and BOLD font

Constructor Index

 o InterfaceDefinition()
This constructor will define the Main window for the application

Method Index

 o changeInter(String, String)
This method will change the interface to each specific language
 o getCurrentView()
This method will return the current view
 o getDefTable()
This method will return definition table
 o getFeedbackField()
This method will return feedback field
 o getGetButton()
This method will return GetButton on main window
 o getHistoryTable()
This method will return history table
 o getListOfWords()
This method will return list of words
 o getMenuBarInterface()
This method will return menu bar
 o getPrimaryLang()
This method will return current Pimary Language
 o getSecondaryLang()
This method will return current secondary Language
 o getSourceField()
This method will return source field
 o getToolBarInterface()
This method will return tool bar
 o setPrimaryLang(String)
This method will set new primary lang
 o setSecondaryLang(String)
This method will set new secondary lang
 o setView(InterfaceView)
This method will set an interface view for this interface defination
 o writeConfig()
The method writes config file to configuration dir

Variables

 o boldFont
 public Font boldFont
This variable will define a new font with size 12 and BOLD font

Constructors

 o InterfaceDefinition
 public InterfaceDefinition()
This constructor will define the Main window for the application

Methods

 o changeInter
 public void changeInter(String lang,
                         String country)
This method will change the interface to each specific language

Parameters:
String - lang -language
String - country
Returns:
none
 o writeConfig
 public void writeConfig()
The method writes config file to configuration dir

Returns:
none
 o setView
 public void setView(InterfaceView view)
This method will set an interface view for this interface defination

Parameters:
InterfaceView - view of any function option
Returns:
none
 o getSourceField
 public JTextField getSourceField()
This method will return source field

Returns:
JTextField source field
 o getGetButton
 public JButton getGetButton()
This method will return GetButton on main window

Returns:
JButton get button
 o getFeedbackField
 public JTextField getFeedbackField()
This method will return feedback field

Returns:
JTextField feed back field
 o getCurrentView
 public InterfaceView getCurrentView()
This method will return the current view

Returns:
InterfaceView view of currenct option
 o getListOfWords
 public ListOfWords getListOfWords()
This method will return list of words

Returns:
ListOfWords list of words
 o getDefTable
 public ListOfWords getDefTable()
This method will return definition table

Returns:
ListOfWords list of words
 o getHistoryTable
 public ListOfWords getHistoryTable()
This method will return history table

Returns:
ListOfWords list of words
 o getMenuBarInterface
 public MenuBarInterface getMenuBarInterface()
This method will return menu bar

Returns:
MenuBarInterface menuBar
 o getToolBarInterface
 public ToolBarInterface getToolBarInterface()
This method will return tool bar

Returns:
ToolBarInterface toolBar
 o getPrimaryLang
 public String getPrimaryLang()
This method will return current Pimary Language

Returns:
String primary Language
 o getSecondaryLang
 public String getSecondaryLang()
This method will return current secondary Language

Returns:
TString secondary Language
 o setPrimaryLang
 public void setPrimaryLang(String pri)
This method will set new primary lang

Parameters:
String - pri
Returns:
none
 o setSecondaryLang
 public void setSecondaryLang(String sec)
This method will set new secondary lang

Parameters:
String - sec
Returns:
none

All Packages  Class Hierarchy  This Package  Previous  Next  Index