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

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

List of all members.

Public Member Functions

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

Private Attributes

FractionAsRectangle calculation_pizza = new FractionAsRectangle()
int denominator1
int divisor
FractionAsRectangle endresult_pizza = new FractionAsRectangle()
FractionMaker fraction1 = new FractionMaker()
JLabel lb_divisor = new JLabel("", JLabel.CENTER)
int numerator1
FractionAsRectangle pizza = new FractionAsRectangle()
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_divisor = 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_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)

Detailed Description

Definition at line 46 of file DivideFractionsByNumbers.java.


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

Generated by  Doxygen 1.6.0   Back to index