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

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

List of all members.

Public Member Functions

void actionPerformed (ActionEvent e)
void addTextField (MyJTextField tf)
void clearTextFields ()
void close_it ()
 DivideNumbersByFractions (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
int denominator
FractionAsRectangle divisorpizza = new FractionAsRectangle()
int ergebnis_ganzzahl
int ergebnis_numerator
JMenuBar jmb = new JMenuBar()
JMenu jmHelp = new JMenu("")
JMenuItem jmiCreateWorkSheet = new JMenuItem("")
JMenuItem jmiHelp = new JMenuItem("")
JMenu jmOptions = new JMenu("")
JMenu jmWorkSheet = new JMenu("")
JLabel lb_frage = new JLabel("", JLabel.CENTER)
int numerator
JFractionLab owner
PointDisplay pdsp = new PointDisplay()
FractionAsRectangle[] pizza = new FractionAsRectangle[8]
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()
int zwischen_denominator
int zwischen_numerator

Static Package Attributes

static final long serialVersionUID = JFractionLab.serialVersionUID

Private Member Functions

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

Private Attributes

int divident
boolean ergebnis_ist_glatt
MyJTextField tf_aufgabe_denominator = new MyJTextField(2)
MyJTextField tf_aufgabe_numerator = new MyJTextField(2)
MyJTextField tf_calculation_denominator = new MyJTextField(3)
MyJTextField tf_calculation_numerator1 = new MyJTextField(3)
MyJTextField tf_calculation_numerator2 = new MyJTextField(3)
MyJTextField tf_divident = new MyJTextField(2)
MyJTextField tf_endresult_denominator = new MyJTextField(3)
MyJTextField tf_endresult_ganzzahl = new MyJTextField(3)
MyJTextField tf_endresult_numerator = new MyJTextField(3)
MyJTextField tf_kuerz_denominator = new MyJTextField(3)
MyJTextField tf_kuerz_numerator1 = new MyJTextField(3)
MyJTextField tf_kuerz_numerator2 = new MyJTextField(3)
MyJTextField tf_reduce_inner_numerator = new MyJTextField(3)
MyJTextField tf_reduce_outer_numerator = new MyJTextField(3)
MyJTextField tf_zwergebnis_denominator = new MyJTextField(3)
MyJTextField tf_zwergebnis_numerator = new MyJTextField(3)

Detailed Description

Definition at line 45 of file DivideNumbersByFractions.java.

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

Generated by  Doxygen 1.6.0   Back to index