Class gui


public class gui
extends JPanel

gui Main graphical interface Author: Christiane Adler

Field Summary

private int
amountFunctions
int
anzahlGedrueckteFctButton
JButton
arrayButton
JTextField
benutzerfeld
private JPanel
buttonBottomPanel
JButton
calculateButton
JPanel
canvasButtonPanel
ftFunctionCanvas1
canvasFTFct
ftFunctionCanvas1
canvasFTFctExercise
ftFunctionCanvas1
canvasFTFctImaginary
ftFunctionCanvas1
canvasFTFctReal
functionCanvas
canvasFct
functionCanvas
canvasFctExercise
private JLabel
captionGraph1
private JLabel
captionGraph2
cosinusFunction
cosFct
JButton
cosinusButton
exercise
currentExercise
JButton
diracButton
diracFunction
diracFct
int
exerciseNumber
functions
f
functions
f1
functions
f2
functions
f3
functions
f4
functions
f5
functions
f6
functions
fIntercept1
functions
fIntercept12
functions
fIntercept1limited
functions
fIntercept1limitf
functions
fIntercept2
functions
fIntercept23
functions
fIntercept2limited
functions
fIntercept2limitf
functions
fIntercept3
functions
fIntercept3limited
functions
fIntercept3limitf
convolutionFunction
faltFct
JButton[]
fctButtonArray
JButton
finishButton
JTabbedPane
ftFCanvasTabbedPane
JTextArea
ftFunction2TextArea
JTextArea
ftFunction2TextArea2
JTextArea
ftFunction2TextArea3
JTextArea
ftFunction3TextArea
JTextArea
ftFunction3TextArea2
JTextArea
ftFunction3TextArea3
JTextArea
ftFunctionTextArea
JTextArea
ftFunctionTextArea2
JTextArea
ftFunctionTextArea3
JPanel
ftFunktion2FormulaPanel
JPanel
ftFunktion3FormulaPanel
JPanel
ftFunktionFormulaPanel
JTextArea
ftResultTextArea
JTextArea
ftResultTextArea1
JTextArea
functionTextArea
private JPanel
functionsButtonPanel
JPanel
funktionFormulaPanel
JPanel
funktionFormulaPanel2
JPanel
funktionFormulaPanel3
private GridBagConstraints
gbConstraints
private GridBagLayout
gbLayout
JButton
helpButton
InfixToPostfixConverter
infixToPostfixConverter
JPanel
interceptButtonPanel
JPanel
interceptPanel
JLabel
interceptText1
JLabel
interceptText2
JTextField
interceptVar1
JTextField
interceptVar2
JPanel
interceptVariablePanel
JLabel
levelLabel
private JLabel
line1
private JLabel
line2
JLabel
messageBackLabel
multiplicateFunction
multiplFct
fouriertransformation
myFT
String
myPassword
String
myUsername
JButton
newButton
JButton
newTestButton
JButton
operatorButtonMultiply
JButton
operatorButtonPlus
JButton
operatorButtonconvolution
private JPanel
operatorsButtonPanel
private JLabel
optionsTextLabel
JLabel
passwordLabel
JPanel
passwordPanel
JPasswordField
passwortfeld
plusFunction
plusFct
JLabel
pointsLabel
JLabel
pointsText
PostfixEvaluator
postfixEvaluator
JButton
rampButton
rampFunction
rampFct
rectangulaimpulseFunction
rectFct
JButton
rectanglepulseButton
JButton
secondinterceptButton
JButton
sendButton
JButton
startButton
JButton
stepButton
stepFunction
stepFct
StringToMathExpression
stringToMathExpression
JLabel
systemSolutionTextLabel
timer
t
private JLabel
taskLabel
JButton
thirdinterceptButton
private JLabel
time
JLabel
timeLabel
JPanel
timeLevelPanel
int
totalCounter
JLabel
totalPointsLabel
private JLabel
totalTime
JLabel
totalTimeLabel
JLabel
userLabel
JPanel
userPanel
JTextField
var1Fct1
JTextField
var1Fct1Text
JTextField
var1Fct2
JTextField
var1Fct2Text
JTextField
var2Fct1
JTextField
var2Fct1Text
JTextField
var2Fct2
JTextField
var2Fct2Text
JTextField
var3Fct1
JTextField
var3Fct1Text
JTextField
var3Fct2
JTextField
var3Fct2Text
JPanel
variablenPanel
JPanel
variablenPanel2
JTextField
variablenText
int
whichIntercept
private JLabel
yourSolutionTextLabel

Constructor Summary

gui(boolean isExercise, fouriertransformation mainFouriertransformation)

Method Summary

void
addComponent(Component c, int column, int row, int width, int height, int anchor, int fill)
private void
setExercisesGui()
private void
setUebungsGui()
void
timerend()

Field Details

amountFunctions

private int amountFunctions

anzahlGedrueckteFctButton

public int anzahlGedrueckteFctButton

arrayButton

public JButton arrayButton

benutzerfeld

public JTextField benutzerfeld

buttonBottomPanel

private JPanel buttonBottomPanel

calculateButton

public JButton calculateButton

canvasButtonPanel

public JPanel canvasButtonPanel

canvasFTFct

public ftFunctionCanvas1 canvasFTFct

canvasFTFctExercise

public ftFunctionCanvas1 canvasFTFctExercise

canvasFTFctImaginary

public ftFunctionCanvas1 canvasFTFctImaginary

canvasFTFctReal

public ftFunctionCanvas1 canvasFTFctReal

canvasFct

public functionCanvas canvasFct

canvasFctExercise

public functionCanvas canvasFctExercise

captionGraph1

private JLabel captionGraph1

captionGraph2

private JLabel captionGraph2

cosFct

public cosinusFunction cosFct

cosinusButton

public JButton cosinusButton

currentExercise

public exercise currentExercise

diracButton

public JButton diracButton

diracFct

public diracFunction diracFct

exerciseNumber

public int exerciseNumber

f

public functions f

f1

public functions f1

f2

public functions f2

f3

public functions f3

f4

public functions f4

f5

public functions f5

f6

public functions f6

fIntercept1

public functions fIntercept1

fIntercept12

public functions fIntercept12

fIntercept1limited

public functions fIntercept1limited

fIntercept1limitf

public functions fIntercept1limitf

fIntercept2

public functions fIntercept2

fIntercept23

public functions fIntercept23

fIntercept2limited

public functions fIntercept2limited

fIntercept2limitf

public functions fIntercept2limitf

fIntercept3

public functions fIntercept3

fIntercept3limited

public functions fIntercept3limited

fIntercept3limitf

public functions fIntercept3limitf

faltFct

public convolutionFunction faltFct

fctButtonArray

public JButton[] fctButtonArray

finishButton

public JButton finishButton

ftFCanvasTabbedPane

public JTabbedPane ftFCanvasTabbedPane

ftFunction2TextArea

public JTextArea ftFunction2TextArea

ftFunction2TextArea2

public JTextArea ftFunction2TextArea2

ftFunction2TextArea3

public JTextArea ftFunction2TextArea3

ftFunction3TextArea

public JTextArea ftFunction3TextArea

ftFunction3TextArea2

public JTextArea ftFunction3TextArea2

ftFunction3TextArea3

public JTextArea ftFunction3TextArea3

ftFunctionTextArea

public JTextArea ftFunctionTextArea

ftFunctionTextArea2

public JTextArea ftFunctionTextArea2

ftFunctionTextArea3

public JTextArea ftFunctionTextArea3

ftFunktion2FormulaPanel

public JPanel ftFunktion2FormulaPanel

ftFunktion3FormulaPanel

public JPanel ftFunktion3FormulaPanel

ftFunktionFormulaPanel

public JPanel ftFunktionFormulaPanel

ftResultTextArea

public JTextArea ftResultTextArea

ftResultTextArea1

public JTextArea ftResultTextArea1

functionTextArea

public JTextArea functionTextArea

functionsButtonPanel

private JPanel functionsButtonPanel

funktionFormulaPanel

public JPanel funktionFormulaPanel

funktionFormulaPanel2

public JPanel funktionFormulaPanel2

funktionFormulaPanel3

public JPanel funktionFormulaPanel3

gbConstraints

private GridBagConstraints gbConstraints

gbLayout

private GridBagLayout gbLayout

helpButton

public JButton helpButton

infixToPostfixConverter

public InfixToPostfixConverter infixToPostfixConverter

interceptButtonPanel

public JPanel interceptButtonPanel

interceptPanel

public JPanel interceptPanel

interceptText1

public JLabel interceptText1

interceptText2

public JLabel interceptText2

interceptVar1

public JTextField interceptVar1

interceptVar2

public JTextField interceptVar2

interceptVariablePanel

public JPanel interceptVariablePanel

levelLabel

public JLabel levelLabel

line1

private JLabel line1

line2

private JLabel line2

messageBackLabel

public JLabel messageBackLabel

multiplFct

public multiplicateFunction multiplFct

myFT

public fouriertransformation myFT

myPassword

public String myPassword

myUsername

public String myUsername

newButton

public JButton newButton

newTestButton

public JButton newTestButton

operatorButtonMultiply

public JButton operatorButtonMultiply

operatorButtonPlus

public JButton operatorButtonPlus

operatorButtonconvolution

public JButton operatorButtonconvolution

operatorsButtonPanel

private JPanel operatorsButtonPanel

optionsTextLabel

private JLabel optionsTextLabel

passwordLabel

public JLabel passwordLabel

passwordPanel

public JPanel passwordPanel

passwortfeld

public JPasswordField passwortfeld

plusFct

public plusFunction plusFct

pointsLabel

public JLabel pointsLabel

pointsText

public JLabel pointsText

postfixEvaluator

public PostfixEvaluator postfixEvaluator

rampButton

public JButton rampButton

rampFct

public rampFunction rampFct

rectFct

public rectangulaimpulseFunction rectFct

rectanglepulseButton

public JButton rectanglepulseButton

secondinterceptButton

public JButton secondinterceptButton

sendButton

public JButton sendButton

startButton

public JButton startButton

stepButton

public JButton stepButton

stepFct

public stepFunction stepFct

stringToMathExpression

public StringToMathExpression stringToMathExpression

systemSolutionTextLabel

public JLabel systemSolutionTextLabel

t

public timer t

taskLabel

private JLabel taskLabel

thirdinterceptButton

public JButton thirdinterceptButton

time

private JLabel time

timeLabel

public JLabel timeLabel

timeLevelPanel

public JPanel timeLevelPanel

totalCounter

public int totalCounter

totalPointsLabel

public JLabel totalPointsLabel

totalTime

private JLabel totalTime

totalTimeLabel

public JLabel totalTimeLabel

userLabel

public JLabel userLabel

userPanel

public JPanel userPanel

var1Fct1

public JTextField var1Fct1

var1Fct1Text

public JTextField var1Fct1Text

var1Fct2

public JTextField var1Fct2

var1Fct2Text

public JTextField var1Fct2Text

var2Fct1

public JTextField var2Fct1

var2Fct1Text

public JTextField var2Fct1Text

var2Fct2

public JTextField var2Fct2

var2Fct2Text

public JTextField var2Fct2Text

var3Fct1

public JTextField var3Fct1

var3Fct1Text

public JTextField var3Fct1Text

var3Fct2

public JTextField var3Fct2

var3Fct2Text

public JTextField var3Fct2Text

variablenPanel

public JPanel variablenPanel

variablenPanel2

public JPanel variablenPanel2

variablenText

public JTextField variablenText

whichIntercept

public int whichIntercept

yourSolutionTextLabel

private JLabel yourSolutionTextLabel

Constructor Details

gui

public gui(boolean isExercise,
           fouriertransformation mainFouriertransformation)

Method Details

addComponent

public void addComponent(Component c,
                         int column,
                         int row,
                         int width,
                         int height,
                         int anchor,
                         int fill)

setExercisesGui

private void setExercisesGui()

setUebungsGui

private void setUebungsGui()

timerend

public void timerend()