Logo Search packages:      
Sourcecode: jfractionlab version File versions  Download package

Public Member Functions | Public Attributes | Protected Member Functions | Package Attributes | Static Package Attributes | Private Member Functions | Private Attributes

jfractionlab::exerciseDialogs::MultiplyFractions Class Reference

Inheritance diagram for jfractionlab::exerciseDialogs::MultiplyFractions:
Inheritance graph
Collaboration diagram for jfractionlab::exerciseDialogs::MultiplyFractions:
Collaboration graph

List of all members.

Public Member Functions

void actionPerformed (ActionEvent e)
void addTextField (MyJTextField tf)
void clearTextFields ()
void close_it ()
void keyPressed (KeyEvent event)
void keyReleased (KeyEvent event)
void keyTyped (KeyEvent event)
 MultiplyFractions (JFractionLab owner, int lx, int ly, int sx, int sy) throws HeadlessException
Integer readInputNumber (MyJTextField jtf)
void sop (String str)

Public Attributes

boolean bl_WannaFindBestCommonDenominator_AnswerIsYes = false
boolean bl_wannaReduceQuestion_AnswerIsYes = false
boolean bl_with_reducing = false
JLabel lb_info = new JLabel("", JLabel.CENTER)
JRadioButtonMenuItem rb_reducing = new JRadioButtonMenuItem()

Protected Member Functions

void makeProblem ()
void nextProblem ()

Package Attributes

ArrayList< MyJTextFieldal_textfields = new ArrayList<MyJTextField>()
boolean bl_randomProblem = true
JButton btn_continue
JButton btn_end
ButtonGroup btngrp_BigSmallNb = new ButtonGroup()
ButtonGroup btngrp_reducing = new ButtonGroup()
ButtonGroup btngrp_typeoftask = new ButtonGroup()
ButtonGroup btngrp_visibility = new ButtonGroup()
Container content
JMenuBar jmb = new JMenuBar()
JMenu jmHelp = new JMenu("")
JMenuItem jmiCreateWorkSheet = new JMenuItem("")
JMenuItem jmiHelp = new JMenuItem("")
JMenu jmOptions = new JMenu("")
JMenu jmWorkSheet = new JMenu("")
JFractionLab owner
PointDisplay pdsp = new PointDisplay()
int points = 0
JRadioButtonMenuItem rb_bigNb = new JRadioButtonMenuItem()
JRadioButtonMenuItem rb_custom = new JRadioButtonMenuItem()
JRadioButtonMenuItem rb_invisible = new JRadioButtonMenuItem()
JRadioButtonMenuItem rb_no_reducing = new JRadioButtonMenuItem()
JRadioButtonMenuItem rb_random = new JRadioButtonMenuItem()
JRadioButtonMenuItem rb_smallNb = new JRadioButtonMenuItem()
JRadioButtonMenuItem rb_visible = new JRadioButtonMenuItem()

Static Package Attributes

static final long serialVersionUID = JFractionLab.serialVersionUID

Private Member Functions

void checkReducability ()
void initReductionProcess (int z, int n)
boolean inRow (int n, int nn)
void tf_reduceprocess_denominator_Action ()

Private Attributes

boolean bl_problem_was_solved_with_reducing = false
FractionMaker brueche
FractionAsRectangle calculation_pizza = new FractionAsRectangle()
int denominator1
int denominator2
FractionAsRectangle endresult_pizza = new FractionAsRectangle()
int numerator1
int numerator2
FractionAsRectangle pizza1 = new FractionAsRectangle()
FractionAsRectangle pizza2 = new FractionAsRectangle()
boolean smallNumbers = true
MyJTextField tf_calculation_denominator1 = new MyJTextField(2)
MyJTextField tf_calculation_denominator2 = new MyJTextField(2)
MyJTextField tf_calculation_numerator1 = new MyJTextField(2)
MyJTextField tf_calculation_numerator2 = new MyJTextField(2)
MyJTextField tf_denominator1 = new MyJTextField(2)
MyJTextField tf_denominator2 = new MyJTextField(2)
MyJTextField tf_endresult_denominator = new MyJTextField(2)
MyJTextField tf_endresult_numerator = new MyJTextField(2)
MyJTextField tf_numerator1 = new MyJTextField(2)
MyJTextField tf_numerator2 = new MyJTextField(2)
MyJTextField tf_reduced_denominator1 = new MyJTextField(2)
MyJTextField tf_reduced_denominator2 = new MyJTextField(2)
MyJTextField tf_reduced_numerator1 = new MyJTextField(2)
MyJTextField tf_reduced_numerator2 = new MyJTextField(2)
MyJTextField tf_reductionprocess_inner_denominator
MyJTextField tf_reductionprocess_inner_numerator
MyJTextField tf_reductionprocess_outer_denominator
MyJTextField tf_reductionprocess_outer_numerator

Detailed Description

Definition at line 47 of file MultiplyFractions.java.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index