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::DivideFractionsByFractions Class Reference

Inheritance diagram for jfractionlab::exerciseDialogs::DivideFractionsByFractions:
Inheritance graph
[legend]
Collaboration diagram for jfractionlab::exerciseDialogs::DivideFractionsByFractions:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void actionPerformed (ActionEvent e)
void addTextField (MyJTextField tf)
void clearTextFields ()
void close_it ()
 DivideFractionsByFractions (JFractionLab owner, int lx, int ly, int sx, int sy) throws HeadlessException
void keyPressed (KeyEvent e)
void keyReleased (KeyEvent event)
void keyTyped (KeyEvent event)
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_reduce_outer_denominator_FocusLost ()

Private Attributes

FractionAsRectangle calculation_pizza = new FractionAsRectangle()
FractionAsRectangle dividend_pizza = new FractionAsRectangle()
int divident_denominator
int divident_numerator
int divisor_denominator
int divisor_numerator
FractionAsRectangle divisor_pizza = new FractionAsRectangle()
FractionMaker fractions
JLabel lb_question = new JLabel("", JLabel.CENTER)
int provisionalresult_denominator
int provisionalresult_numerator
FractionAsRectangle provisionalresult_pizza = new FractionAsRectangle()
int result_integer
boolean result_is_integer = false
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_divident_denominator = new MyJTextField(2)
MyJTextField tf_divident_numerator = new MyJTextField(2)
MyJTextField tf_divisor_denominator = new MyJTextField(2)
MyJTextField tf_divisor_numerator = new MyJTextField(2)
MyJTextField tf_endresult_denominator = new MyJTextField(2)
MyJTextField tf_endresult_integer = new MyJTextField(2)
MyJTextField tf_endresult_numerator = new MyJTextField(2)
MyJTextField tf_provisionalresult_denominator = new MyJTextField(2)
MyJTextField tf_provisionalresult_numerator = new MyJTextField(2)
MyJTextField tf_reduce_inner_denominator
MyJTextField tf_reduce_inner_numerator
MyJTextField tf_reduce_outer_denominator
MyJTextField tf_reduce_outer_numerator
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)

Detailed Description

Definition at line 45 of file DivideFractionsByFractions.java.


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

Generated by  Doxygen 1.6.0   Back to index