From 1064fabd4e5a98b834af0faa48516d4e634e8b70 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 25 May 2023 18:06:09 +0200 Subject: [PATCH] =?UTF-8?q?Add=20mehr=20=C3=9Cbungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CheckstyleConfig2.xml | 55 +++++ bin/Main/CommandoZentrale.class | Bin 0 -> 1593 bytes bin/gui/center/CenterFrame.class | Bin 0 -> 2962 bytes .../center/ControlFrame$HideListener.class | Bin 0 -> 735 bytes bin/gui/center/ControlFrame$Listener.class | Bin 0 -> 718 bytes .../center/ControlFrame$ShowListener.class | Bin 0 -> 735 bytes bin/gui/center/ControlFrame.class | Bin 0 -> 1468 bytes bin/gui/counter/Decrementer.class | Bin 0 -> 282 bytes bin/gui/counter/Incrementer.class | Bin 0 -> 282 bytes bin/gui/counter/zipper.jardesc | 11 + bin/gui/dialog/Dialogtest.class | Bin 0 -> 1214 bytes bin/gui/measuring/AlarmListener.class | Bin 0 -> 1039 bytes bin/gui/measuring/Main.class | Bin 0 -> 960 bytes bin/gui/measuring/MeasuringCenter.class | Bin 0 -> 1159 bytes bin/gui/measuring/MeasuringDevice.class | Bin 0 -> 660 bytes bin/gui/measuring/MeasuringListener.class | Bin 0 -> 161 bytes bin/gui/plusminus/MinusHandler.class | Bin 0 -> 647 bytes bin/gui/plusminus/PlusHandler.class | Bin 0 -> 644 bytes bin/gui/plusminus/PlusMinus.class | Bin 0 -> 2422 bytes bin/gui/plusminus/icon.jpg | Bin 0 -> 10245 bytes bin/package1/Patient.class | Bin 0 -> 1630 bytes bin/uebungen1/DemoKlasse.class | Bin 0 -> 1196 bytes bin/uebungen1/Frau.class | Bin 0 -> 283 bytes bin/uebungen1/Gruppe.class | Bin 0 -> 409 bytes bin/uebungen1/Mann.class | Bin 0 -> 283 bytes bin/uebungen1/Mensch.class | Bin 0 -> 103 bytes bin/uebungen1/binarstellen.class | Bin 0 -> 1013 bytes bin/uebungen7/GeomObjekt.class | Bin 0 -> 528 bytes bin/uebungen7/Kreis.class | Bin 0 -> 522 bytes bin/uebungen7/Rechteck.class | Bin 0 -> 565 bytes bin/utilities/Datum.class | Bin 0 -> 2095 bytes bin/utilities/FormatierteAusgabe.class | Bin 0 -> 2748 bytes bin/utilities/TastaturEingabe.class | Bin 0 -> 4285 bytes bin/utilities/Uhrzeit.class | Bin 0 -> 3840 bytes bin/Ãœbungen/Aufgaben.class | Bin 0 -> 1318 bytes checkstyle.properties | 2 + src/Main/CommandoZentrale.java | 56 +++++ src/gui/center/CenterFrame.java | 125 +++++++++++ src/gui/center/ControlFrame.java | 75 +++++++ src/gui/counter/Decrementer.java | 6 + src/gui/counter/Incrementer.java | 6 + src/gui/counter/zipper.jardesc | 11 + src/gui/dialog/Dialogtest.java | 47 ++++ src/gui/measuring/AlarmListener.java | 25 +++ src/gui/measuring/Main.java | 24 +++ src/gui/measuring/MeasuringCenter.java | 27 +++ src/gui/measuring/MeasuringDevice.java | 19 ++ src/gui/measuring/MeasuringListener.java | 8 + src/gui/plusminus/MinusHandler.java | 28 +++ src/gui/plusminus/PlusHandler.java | 25 +++ src/gui/plusminus/PlusMinus.java | 101 +++++++++ src/gui/plusminus/icon.jpg | Bin 0 -> 10245 bytes src/package1/Patient.java | 71 ++++++ src/uebungen1/DemoKlasse.java | 47 ++++ src/uebungen1/Gruppe.java | 32 +++ src/uebungen1/binarstellen.java | 42 ++++ src/uebungen7/GeomObjekt.java | 29 +++ src/uebungen7/Kreis.java | 23 ++ src/uebungen7/Rechteck.java | 18 ++ src/utilities/Datum.java | 80 +++++++ src/utilities/FormatierteAusgabe.java | 154 +++++++++++++ src/utilities/TastaturEingabe.java | 203 ++++++++++++++++++ src/utilities/Uhrzeit.java | 139 ++++++++++++ src/Ãœbungen/Aufgaben.java | 48 +++++ 64 files changed, 1537 insertions(+) create mode 100644 CheckstyleConfig2.xml create mode 100644 bin/Main/CommandoZentrale.class create mode 100644 bin/gui/center/CenterFrame.class create mode 100644 bin/gui/center/ControlFrame$HideListener.class create mode 100644 bin/gui/center/ControlFrame$Listener.class create mode 100644 bin/gui/center/ControlFrame$ShowListener.class create mode 100644 bin/gui/center/ControlFrame.class create mode 100644 bin/gui/counter/Decrementer.class create mode 100644 bin/gui/counter/Incrementer.class create mode 100644 bin/gui/counter/zipper.jardesc create mode 100644 bin/gui/dialog/Dialogtest.class create mode 100644 bin/gui/measuring/AlarmListener.class create mode 100644 bin/gui/measuring/Main.class create mode 100644 bin/gui/measuring/MeasuringCenter.class create mode 100644 bin/gui/measuring/MeasuringDevice.class create mode 100644 bin/gui/measuring/MeasuringListener.class create mode 100644 bin/gui/plusminus/MinusHandler.class create mode 100644 bin/gui/plusminus/PlusHandler.class create mode 100644 bin/gui/plusminus/PlusMinus.class create mode 100644 bin/gui/plusminus/icon.jpg create mode 100644 bin/package1/Patient.class create mode 100644 bin/uebungen1/DemoKlasse.class create mode 100644 bin/uebungen1/Frau.class create mode 100644 bin/uebungen1/Gruppe.class create mode 100644 bin/uebungen1/Mann.class create mode 100644 bin/uebungen1/Mensch.class create mode 100644 bin/uebungen1/binarstellen.class create mode 100644 bin/uebungen7/GeomObjekt.class create mode 100644 bin/uebungen7/Kreis.class create mode 100644 bin/uebungen7/Rechteck.class create mode 100644 bin/utilities/Datum.class create mode 100644 bin/utilities/FormatierteAusgabe.class create mode 100644 bin/utilities/TastaturEingabe.class create mode 100644 bin/utilities/Uhrzeit.class create mode 100644 bin/Ãœbungen/Aufgaben.class create mode 100644 checkstyle.properties create mode 100644 src/Main/CommandoZentrale.java create mode 100644 src/gui/center/CenterFrame.java create mode 100644 src/gui/center/ControlFrame.java create mode 100644 src/gui/counter/Decrementer.java create mode 100644 src/gui/counter/Incrementer.java create mode 100644 src/gui/counter/zipper.jardesc create mode 100644 src/gui/dialog/Dialogtest.java create mode 100644 src/gui/measuring/AlarmListener.java create mode 100644 src/gui/measuring/Main.java create mode 100644 src/gui/measuring/MeasuringCenter.java create mode 100644 src/gui/measuring/MeasuringDevice.java create mode 100644 src/gui/measuring/MeasuringListener.java create mode 100644 src/gui/plusminus/MinusHandler.java create mode 100644 src/gui/plusminus/PlusHandler.java create mode 100644 src/gui/plusminus/PlusMinus.java create mode 100644 src/gui/plusminus/icon.jpg create mode 100644 src/package1/Patient.java create mode 100644 src/uebungen1/DemoKlasse.java create mode 100644 src/uebungen1/Gruppe.java create mode 100644 src/uebungen1/binarstellen.java create mode 100644 src/uebungen7/GeomObjekt.java create mode 100644 src/uebungen7/Kreis.java create mode 100644 src/uebungen7/Rechteck.java create mode 100644 src/utilities/Datum.java create mode 100644 src/utilities/FormatierteAusgabe.java create mode 100644 src/utilities/TastaturEingabe.java create mode 100644 src/utilities/Uhrzeit.java create mode 100644 src/Ãœbungen/Aufgaben.java diff --git a/CheckstyleConfig2.xml b/CheckstyleConfig2.xml new file mode 100644 index 0000000..65aad13 --- /dev/null +++ b/CheckstyleConfig2.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/Main/CommandoZentrale.class b/bin/Main/CommandoZentrale.class new file mode 100644 index 0000000000000000000000000000000000000000..4b863921a7102a2f5d410b1a49661787be683b1a GIT binary patch literal 1593 zcmah~YflqF6g>l_E$hllK}AJ;mlmmlZxF0JtF59n81Mrbwv%?X-QDbNML+qQ^aCWC z_yhb=#xpGZ$AJ`;bj6H0)s_qJK1@+UYAbU-B3>G%bH3c zCUDmED_KWvm*uvT4QjUaKKn!lwzVwlN+3RCJ9aorhE(C5{2;S6=~S|%(6^n+^w^p} zY~C#^1D)tL(S^7`Z^3rd^G1D3`LE?xjT{37*OIk0>Dzj~w-^hnb|7%7&{o;BKv!so zt>{Qz%JP*{R=&XFR3WNgOP_b0kTolRx*fomUe&gOW(CILM@xC3?K(jMCj~~Mge7gu zKCBx)q}}4l z{hvCvRpX{i+{PXDprXQ(ZCoWpdLBF5rvHb1<)t!8Zo{|K zlC5vn;N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n@+t15vij7#Q$E)*6<}?dYY{ zzzIG_Xp&KCH%^^SlHLThI)wpDdK7z#N$?>Yt`Ae$3~39ljUww6AdrLWle$1{RY{%e zHp$Z_eFd!292*T0@m8LrDCaB0==9A%4BW;Y;tJfYj{i|D{ENiDR0IE$>iG9+;a?^G zwHo-JRmcCl7QR9Jg&O!@RL6f%3*RJuwg&!})$zZog`Xq7TLb@_>iFN*!oN-YJ2mjX Jrz7j|!+$l3aCiU! literal 0 HcmV?d00001 diff --git a/bin/gui/center/ControlFrame$HideListener.class b/bin/gui/center/ControlFrame$HideListener.class new file mode 100644 index 0000000000000000000000000000000000000000..65b23ece0e61d160e323678a7705aa0d86eeabb3 GIT binary patch literal 735 zcmaJnbs|rJJ{RQ-{pfS zKKKLtQR3_x@dV?;?#>L~%zWR>e*f|H8-Rzn6QV&FoGf&babejcszo)ZT;;jLR9fLAVej#JLDfbYis8B{YW)&`EW{uNLzuo40D3Ghrhw zGnG%2(av8614oK*cU7~$#0$TU@~YmjIWEndXM~+$`cL7{-4I55lL%LFEyNa~SC{SQ z?B^TfI{G4{VtbJ16J2RfHyFNiI!KuJ|JQ*K9hD1{@u7Aq*Xygh@0bzdmxZiuoU5wh zD#UHVW}QlH*MhBY8#iUbO*w0zZr2T3{!2qn8<9lMi}gr+7m4=oeL}qd85ci#%(~ny z!MOjmA$RQU2$yhKJi-<9mKC1L>nf}@zhLuEa^!=L5n$vC^nQVs1q6<5-0-P8lH3rg Nx8!xS2)h^nKLMD0tZ4uM literal 0 HcmV?d00001 diff --git a/bin/gui/center/ControlFrame$Listener.class b/bin/gui/center/ControlFrame$Listener.class new file mode 100644 index 0000000000000000000000000000000000000000..32a234ac75037013020efcb0ebb20b7567f0734b GIT binary patch literal 718 zcmaJy^}C=F0T`Di2pm2jo@20}tnk&rA}36%TBEOe2xmew2iT|HE- zIPe4bQB`NRq2xd~>}u!vy_q*NzW;N32jCMr0V;&`%aKYlsjW0guh7;M`H>Mr*-2Gt zrIsc@jSydnYmwwaUnXA%S2D8!>V#E~iW{5AYtE1yW>yvYK}e|E@2c#4BrK;>s_Zdo zUuk6z2<`4v)^?vz>lNp+0m5vA05c(~XhvutCRDqQ&`gzR6wb5WR~JSVJm(lF%6hpdOIZfkBrHza znAk62=3!A-=c!itya2_q8!rDJ6+R7wjK1X8XO0~b?tJ)(Xy+GR{qUSQzU#~ZwlL3k zW8??q5_BnPLYQM4gs0}@~%heOFZ~fzp^~^>atDK>NcV557UfBgBgbln0 F{sLx%r`G@g literal 0 HcmV?d00001 diff --git a/bin/gui/center/ControlFrame$ShowListener.class b/bin/gui/center/ControlFrame$ShowListener.class new file mode 100644 index 0000000000000000000000000000000000000000..06ed9f1eaaac86a053bad1a46ccd79bd60210126 GIT binary patch literal 735 zcmaJ<-%k@k5dNk;dh|SLK`o-?rR<}IP!or>BT5WHS~F6$sX4B=xoKoyM;bu~9SMJjF8~ON3Tg zwwtq?Z;0n;vyeiX!!#YJLOHr#_sr@bX5Ri^2SRX?k98vZ%Bq|%uWrXOBZMC_UR^I0 zMIj3xF9?feDy3aBw!Ceu@r0{%Tg0T6g^Fz#6e&XF@OjWFb^Ooq7f9uC@({NfT3VFCSA}HW~|8saO29A3;h;1 zP$gA)4*_lowoU zPln(ZFyCAI)?vDGpzQ7RN(~nXK2)~y<^+84L_xrxbxJafRso~YKLQ^v83@1-=#J+! zQMzoAX3cZSHk)Ah%K}}s1M9#`FS@FfvpzaiFM>97XxC1GKzw;QQHX$+2Ckr6ptT~s zx}8AZDY5piW2=^JZA+K*+Na0BHADp>^eL!{dRLZAIKHKW_nihmzuwcT=Q(y5*J-~+ zL0lzWX-CkDOJNKOgo<@}G!ip#Q{OB^;yl&T!A1;>;udAGN+p40Luy%P?}KBLayC&H zLg#w{hLK>%f^;jMEbdCCkYbiQO3OMRsQ{&=p5d94oj1csZO4=*u|3(9Fsh4A1%=4;IF!aRd1t=2;WkHCiMq%!kGPdWCP zi9oDDC%I3J(tlf=R`Q8~c?2oI2dlU%(4JGa%vbl`Nq60~%?XW;*U`z%mXn^B* zG{}*BkH0ge7ChznhW`f8&V)PAg--qmCSqL0iBFC=C2dhm=Vc|@_!j@?2(O1KUi z131JWKJogW>Gg%r{wqe1CF4^4+Vp$QT?~6zz#>J-V1s9ijGkxDE_3B0R|+e50Y4ds nki#lPJ7ml}UNWy1ydpyjUNcuPx)0OjS>t+=^E&4Y=eNKg%J^-v literal 0 HcmV?d00001 diff --git a/bin/gui/counter/Decrementer.class b/bin/gui/counter/Decrementer.class new file mode 100644 index 0000000000000000000000000000000000000000..8a387f6169f3a72b8d734c5a629b1ec98ab17f3e GIT binary patch literal 282 zcmZ`!F>b;@5S%qOP7H~yG*L>rgn}z5iP8j7SxJ$I{(P*+A!AF2&A+ISQse0Apk^0>b06waV0O)v!}jHjdZqd5n;dt@Ku_Qddj$S*+MJgzl@Y zZ1YCwJip8d;d{N{1RdP=5ur;+b6fF8yDr#$>!M`BLtYzQ&b6~%|C?d+V>g7S{L1+W zA^ECXXLx4)lI$Yd$fv>pl0hDURPwh4V^Qj?foQnL%}$H}iJ)&o26}@1GmoU+i6Yz! G21rlp6FhwY literal 0 HcmV?d00001 diff --git a/bin/gui/counter/Incrementer.class b/bin/gui/counter/Incrementer.class new file mode 100644 index 0000000000000000000000000000000000000000..38658e0dcce4f7c2f1b0802249390c4ce4931d4e GIT binary patch literal 282 zcmZ`!F;2rk5S(@F7)*$*G>DQ8D7bOtrpdWO-ty% zT4&oap?CkVBE*yCoip@sIY5FwAup}tdAF_Dzv-%G!l-PFu2!_}He}#RaB$*@)N4_M Ip + + + + + + + + + + diff --git a/bin/gui/dialog/Dialogtest.class b/bin/gui/dialog/Dialogtest.class new file mode 100644 index 0000000000000000000000000000000000000000..49dc6e315b8ed525693ec84c7d4f08b46f58c177 GIT binary patch literal 1214 zcmaJ=T~pIQ6g^8*(#9Z=@>KzC0i~raQ2{?%#6cJwn9>;sriwmo+t{wQ36rJ*|HnVz zOPR4VzWC;ka=b}uTY+&h$?l$vW3#_O}AW&A^v6f6(&lUD1|P^ozt|yiLZ2VZy`0fFd3#2AN+z`ttM?l*0^0Iv5^}% zwB3=_vdhMvaFZ~)+q)C1Zd)P_>I1qzz!1IE^0bx#7WL-9#mXf@9RyBj$fr6`PUOHP z)HX&th!8k=nAWD+m`SDEn0wpB3K=ctVwnLfD@7%3!9}CeARLSawIvS@x^SwE2Pq;X zzj=}}^gVz^Uj-6IpyD>77$e!^SSCD!32a~zIZR<2GsKPJ4c&xym;=W=YSif#7SO~Z z&as45+G&eSk}>FbNTZ4d9^ol!rF093wAFrY{pwN$)cRR!joPRfswNmr9|xGwt;;T%-L26F|Aszj zeDM!x3{5ogrEmTyC7aX7XN?`v^fkm87KY0<4*(8I8O8#~7xIx5&RfC2HW-p_ z<1i6lvmDD`XBaUzHu80b*aNpEl87RuBZ)La)XdjM!Ei!{hJ=bv>KH|WAzif`@igcV z+zZ~Y2|inOo7}E*X{q-?GUjhv9>ZL9SnJRg%M9bY+zv$l2BH-Tswn0e%xRb%GNAT` zjOpl@#{%hd1D|1{8v0|orRQXzU-PBlow9~ShN(m6C{6C(4=lSSWCCXyaxb}b0;j!d zYzoh73%UQrH+MZSwA*)5)3}$fkH` zg|jf!;G!bHB27<}ej|v`L*qpMfQTBVaHrA47=6|0ZHw|Fw5ON%Fuwd9na8wbpL`7u z=4j0#M(Zf8Y8uCpqGy6K1`$vhCNV|3iWChCBSoa>PvP`{<{i~5oZ^y#fBy-(3Njx) zV*VSZf5OxgM6X7keo5aJh$TN<|b(MJi;=k(x;q2=`Dy@t=YsZVwa`v5GQP StWjkQk?b_7xI=LS>wf|8!|9g* literal 0 HcmV?d00001 diff --git a/bin/gui/measuring/Main.class b/bin/gui/measuring/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..d2b9c3a24d3a26a66a8ddfef3cdff9a82f6e315a GIT binary patch literal 960 zcmZ`&U2hUm5Iq+bwjj2&T`?{8i((4}imhmkn2ISeF@gF}LqdF7;0CvWC0UmKEE8W! zViSLWKgxLSF0=tMrK^A~`Zc%vgAu+|+}#lAF$BgeA4#ky(PIy8a! zwRvL}dnWHbx2|Q|6$rnxY|A|t2xhVk0qtVYkx>K@i6Mlrz)H=s<>jc~lFk>i)sswK z8??<{!*ncVPcAk0n>7?LYX4R)Gi#p+1QMCAwFd-Ot^!xiHgv2CBxeIZ^h~E;vxcs; zr4z1{NRD3=aXeAL5(1%2wVG{&D{22JTsij@9nS=|X0z3&t+dO9rPB6#Bd{|Uao?B;Ktkzww3vON zuTPx$qgR8G)0Q7CwK@^CiN|UMum`T3$1*^TtHx8OU8EG0p`$UDeozT;>hPYyfJfA0 zz60fBS`jQ`WfJ_Iej(mf?htP-8(152Bb9F8seuhz^*bb+V{Ba(a<|wn!N^T&%Z<>FNkUr2RNY? YVB|JV`G*D>7eNWHpz-}Ry#qM=3#IPZ8vp?uG0*Zr~C?6f$>V1(h3~6_}us92OTa63~V{O zo(x*P5?Hz@XQgrpy#~KbW8+R~ET!#&oLBkiA$YjrTr`(B`1~G?>iFx|;-`?)2jVy9(hNs?h0+L;X z^Xg3$XyX+f9z-4sHj0=Lh#zUSUFn+sfsKb)6fpN>b2DV(3}{mhRI|CQd{T>bZtLpE zsi`t;6lJ~+v9%xfon+h z@FHXZtlU?O=8rMC{U6B+Pe#d}2vH{5nH?0?U>Y}xL!&X%!TU(wKH?QL-Z9e4vCl|N z#!hip;1}}C#-uSneTsVqbnw2wr?WqrF$%3c!D>)ricgwr9#bK6E{qp?%mqBcV=|Hl kPw0R3zOP5=M^ literal 0 HcmV?d00001 diff --git a/bin/gui/measuring/MeasuringDevice.class b/bin/gui/measuring/MeasuringDevice.class new file mode 100644 index 0000000000000000000000000000000000000000..3d4196f2f689997eabe39c2e732d808a55d3f9e5 GIT binary patch literal 660 zcmah`O;6iE5Pjn~m^d~eAq^i5gqBK8QmHv`EaH-Y6e+-=l_idjvkHsyfs9RmS0!kr z9{L0Nqbi>501^^KE6u*ynRzpB_V2&ne*o;`g9SsdJ&tu}s{HFX)U$Etc4` z&FDg3|7Y+_GzT}POtZ4Jkj!lMTAq!!*tSrAd1sk!2Rmp8s-e1?hf%grHS+vPtVo(~ z_A+tbRmeq3PhfwY$6=t3buxGL*$;e9mXCMTn&Yn-Jd~ay3QuovIX2@(dgqKMd8PI* zIPFh&1obeP0;MC$qRDH7~V@oq>gsK_Dx! zEKxrv5vagFDJwO(gpq-_EHS4v6{0*fg^__(!^KlGjFEvWIKQ+gIn^yQCzX*w48u4* fkV$Ne42%rSKu0hzFak|yWncrb7}$X%69WeTXKpFC literal 0 HcmV?d00001 diff --git a/bin/gui/plusminus/MinusHandler.class b/bin/gui/plusminus/MinusHandler.class new file mode 100644 index 0000000000000000000000000000000000000000..7e4b18686410b5e52eba06e062272589c579a90b GIT binary patch literal 647 zcmaJ;O;5r=5Peh7(ps(f1tN;x026!gs4*HN@lcgS!+j~Mt|=`kt^O_(KN1iA0DqKm zT8*Mn4>Q@Bo%iOw-Iv#=X8@a6)u9n87m0EPelqNz6W1O&@b;V8W$ZHwI&Yl;mFmTl{mVt~2+Te(==ziyJ^OlT%i!i>e0u}EN zs`Wpo8XZD@KkP{pIZRqGFh$7K8yy3z%Yu#q!FE+3kCT2^MrWeyOTvsBdcyCBNTu~h zGap~7A#eM!Y}78RvPI^jEu-@=>dPLXR(F53dXU=QYIIDLQPHtTDE(p9!cwZ+=t(b< zeMS+8RaXDwC77pS5_z(vQb)y6nH#Adtnm}%IL0`%^d)<8~SpPeEbeNJ}RP!;zPWE()Vq;)-CBq(nP;Y@B%*g0e+M? ziJ}Fo53|h7&N*|=?%VszD}XJmnJ@^8om6=@VcPF0o%X$R&W?p{hcY%%BusY2t?)vj zJKkBVD}%(uC}AbLNvEn|XlbHdF2Z|ak5$u?nhM`@Mp5-PPn zr|L~Y@gQnT8wHFzurNU=)ap$OtjmFk62bMAmZxd2CF4uc3MFCMj{*@kMXa*=t65C0 zRiCgtWZ9Qn7UhcE#<`5IqPQp9glf$n>hv&kyM00oW_4kLR9{!fF$g3X;V&W^awI(Fk3PGjQ{ z?tMNp#peWL0S86SEV!8FYW{N?GnnOyaXBk%#T?&#a_;5ZfKuZD?i0#CjCPKmXH0p3 St@O=SLIo>~Caf~If$9fBY>!R= literal 0 HcmV?d00001 diff --git a/bin/gui/plusminus/PlusMinus.class b/bin/gui/plusminus/PlusMinus.class new file mode 100644 index 0000000000000000000000000000000000000000..b26bb639a81cb7b0d5d426db5204771b80222c3a GIT binary patch literal 2422 zcmb7FNpl-j5dOxJJ+d-(966g8f)nFJQW7a~_Bea+A|pE?Rut?c;ITBZ$B{;2G;$oa zu zvx`WtG;G06It;rW z<2jvKO*uA`8;Yb=bn|M%oC4@o&|R`K@kX+Qh}dFrK8P;tXoZ5OH8i6|#qNJo=jI+n zANmEuGfX`kNsGl^4JraE!U{U;V~=}j1`s7x2ZPv$17dkl!M+X9H!$Q@!Sf#1(2mUk z9Hx`~67GnG4r~_bn1)saMLMBjlP8_hpn1}ehBgFMoUOr%>-U`asBLDG`u#%L3E~XS z3!V!s6KRj6gLHIB!(}{6)=P%t=_%-`p%r`YY(lr#DmEDpphFTH)i5SyQE4{G4hvvh z!Ioir;m68?VfAGVyKhEc$cbuF!-S}|Q#Dm6Sk6$ytGi%XKU6WLpsTU4(l%qdmCYG;5Z7>BQe|WHhLex$xzoaI1m6o9rZGeG z1aUFrm<20omK?(}Yz2GjAQ?-96K~XT2~nj-MpeAX`I2_1@6k(TGeA z!&{Hy3|nGNBHN}M!kEyDHBYTsBV!wR){M<a&(lAnp{-SHkFKI?I@D9eQ!CiTP2Y4CdsZ+&ao=<(68#># zs@T7Rn0Ih!?O-t4vx1}1-W42=()OfmPgCj4bc?Twa}`{q>R@QNf)Q6pRPbC>qzWc) z$hwMa)6ptY707lVbhCn6BCO&zF}y_abOo~&WGh$@!-1M%EOgiN84KlVK4XurR$+qhVzqWA;{@Hr0RTg0$}LwJb8_z8pfg@3BQ;uwCzar}-G_yeb?4_dfH<8{2j9VwTW zmt_!1O4sB{Qam3|IUrt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0 HcmV?d00001 diff --git a/bin/package1/Patient.class b/bin/package1/Patient.class new file mode 100644 index 0000000000000000000000000000000000000000..d03600758d75393465be2bf4cdd58c96a0084005 GIT binary patch literal 1630 zcmb7FTTc^V5ItX8+R`o;t5n1a6%@;si+EQMyda8JG{KPQlS{kQ)v_hag3(w1ijO>a z1B@g-YT|D)#xvipsFax4q~CRB&Y79>WxxIS^clcu+({s!(7tSypIKFVbmYF}JGSd5 z5aa1nYt0&|S#EXY-ojJ6>?_1vYspr~lzv~$`JUre#}t~Zns0jwYDOWoR`;rw?N;R= zQ`#M#*6GE1t!mG%E-i^k`nl!#JG z1>1XIEz~rndfBSYTb?8P@Gw3ehRGHh8P5#Nrx3+K0|(G5!4DZ|MoLzP4KyJxt0M*y zNXn|mfFaN^|B17rP}nPCW1_;o*;(;#cq_U%%;%9p%bd@G-?f%Qo^85xD^t$mqV3u4 zONEZY9>EdQfzQ1BHRc#1bg})x5wsfgy#1yZd%+)u~l%FNqO_xHR`tK7~Py zN>NT}8oNElq-=vYW8f^#(aBm~w%v-t&>jV8Bp2e1C2@f&$p>xs0?VFpz?YQ5mioxQ;1>#F|xGweKw|^#92z(C}DeXp)&`PxA9SniW0@lPoto zotmq!dS!ds5t$j`0~waG;3%!4d`C@)h+w#ih+OncDREATUiF^h;T-4Kf>!#qad(`v z{F-9#(f*c;2r?Yw`Z$gK`h)|U(Gj}5pp8KGnOn%3Y6G2SaRXguZUZ^<9oje0%`x`) zuYlcT1tP{M@Mi2IeulyKql&7 z8eODun9w=WI6@lTnuZyK{U?n+d8eeS=+zezn&vEI)8+?seq}}1qwCy8bwOKoZoSOo z7+nh*$Oz0spkvxr$wNPmevXo4g-J@2eWi#)#BD7lz}bfRa2taUGs9arNtCWloX(u*z;*W~E@sBL-o(Tf zu9SGx`32|2y!a7U=^);j8@vmQN`G95@g{DD7sWT4g@`UoXkeUAdxGDEE11PqRQaGp fgh38Yn8P40wPXTeBz0(rk3ry+ zjwoURsfK0Cr-N=&Ixoy-M+!_ddRt~^({wEL4xAD9oz)k}HAV@l3utZWzVztHNC8@Z z{~a;bm4vw2YFW~ewm`)gjZzrxPEc)^EuavbK)jGi=5QsX=~SWz=*mVVUi6dww0< z0pnx}W3S_;h8qGIPtI|nI&NWwL)cN;JM2)_IKj#Wv4N)3=2$Z$`X>-FYwB1MNNn^5 z&X#;+sr^VDZem4oW1cmKxwH&cJ4GwXk9$VX7_C+M1@A<0mtXiN^lyBHFwS$_%Zwv} z1Y?s((Wm>-NaHkLTu5XBq$+QP6fORM{)L7Q67!s?BgxT&WKKUwUSo8KIkDpOF$oFJ zJ4w-54Vw$mj_dW+yD*;twpRyDm;#@f$<5?;XalY{#^LtpNoI+`c z;t+IR9pc(yvu8OJaLeOZAh|(71rn7wz%m!6azxw;ZlliFIBFc95|?J|9Z#IVnpfW4 Ef8E5|YXATM literal 0 HcmV?d00001 diff --git a/bin/uebungen1/Frau.class b/bin/uebungen1/Frau.class new file mode 100644 index 0000000000000000000000000000000000000000..f6853de48297fa3ac0bfa0054f01efd189086d4f GIT binary patch literal 283 zcmYL^K~KU!5QX1BX|WVg?j|19gN@;c@j`-^DhCMnZJof9x+P1O|K*9qgFnC@Wt^=f z9A@Xu%bR?&Kfhn!0LBun?k3M1urPfC7|$ZI7Id>~-XL^Iud*6np?56)|gD zT+Qyxykm~f?fVCSD;#;~2#gFxMyI4N!~4>#R^-9q>QZiGm`R<6PtlU%O2C~et*RS= z?)Ypj;M^7o`RJk_pa)lAI8&M)O&(GCBBP814rWCxv$-sl&D)|=E!5g#|NBn3D3hca zLg%VVGewEO@%R_@f%H0FOzZ$|PPW%ys}>jVp9@pQbf@efgU0m2E`?L@3VZ;d!x4|p zuU8*La0K+u->~yq!#=-0(||r41Q>7>G$j6aIRo}EYz?kCvt02bw%)*~7M?WVw~&vF Lea3l#T6p*cTO>|c literal 0 HcmV?d00001 diff --git a/bin/uebungen1/Mann.class b/bin/uebungen1/Mann.class new file mode 100644 index 0000000000000000000000000000000000000000..5fece49e5277fb809d11445bac37d27b42ad366e GIT binary patch literal 283 zcmYk1y>7xl5QJyJ*u0|kiw?5yCBIV0oay{ICk$OGh|BGx7a z#oo@2X7%m;{(b)d7-Qg}M(9|Mt=X~}g>z+$2ZzwxtFsDIWwzlm-g8oTaK*h#vN)TGk9^wc~ yR%&tyBLi1(erZv1s#|7GDkB58dr@gYL8=}|85;uwBLg$gNDyFTUDs@SMX{E%&^{rDT6eZ7bmXPY66+;4}21Xbrd`~*klcJs5pdyZ?dEQc+Lq|i69z_stUyaL43s=xdHs~Py8Sk= zzz{1neYYYWOFa}rr)Oqt7#0Vzoqw&BrwKjvh zn87M$u|eK#*j@D25ke|-f#UnIjz!AFh=!N+moCwMlkCedI+QwS;FhkoLq%$xksg^! Tbm-QJs}D?H16^Dp8Nltotjpf( literal 0 HcmV?d00001 diff --git a/bin/uebungen7/GeomObjekt.class b/bin/uebungen7/GeomObjekt.class new file mode 100644 index 0000000000000000000000000000000000000000..a215e52fbf2d5c7840f0032f2c9aa451f65f7e1c GIT binary patch literal 528 zcmZ`#yH3ME5S)!K4o*xQ^5PL1x)3B%P*4QXAV5eK6hUdI&f#P(BsMZOg3qErNECbk zABEVn5CJI^x3@dHvo~`epKtE~_OMw(fzZrUkVT=2_WP$Qo?QeJb(@wT2(^iPko~EQ z!oESrDS;mOobh=g*ate&=^?@DZjT7!D85!@Sa4k|!Er#Sx+uanSt6fwpg{r-&BAwCO8wu0^bH@gWNB3cFYsRx7T|`rDwfh z*#z&Ip#oMo)|qGsg2x?HP=(7FIOa4o(Bz8H`dPV?*Nn}V*!ghl7m;1%LaE|F^4oMn#2At91mgC literal 0 HcmV?d00001 diff --git a/bin/uebungen7/Rechteck.class b/bin/uebungen7/Rechteck.class new file mode 100644 index 0000000000000000000000000000000000000000..eec4035a30728e9c2fefacc502bc2422ec642a55 GIT binary patch literal 565 zcmZvZxlY4C5QhJaoj7)!JKSfu6jI=VB1I4l0)%7%A}GCWR*4fI$gz=lERX<+f(PKC z5M$?}K-SLg%M zJ~qXd% KLG~z{!u~Hib!eyn literal 0 HcmV?d00001 diff --git a/bin/utilities/Datum.class b/bin/utilities/Datum.class new file mode 100644 index 0000000000000000000000000000000000000000..40ac4449f10b8c734052c55e352ca29bc5fce053 GIT binary patch literal 2095 zcmaJ?ZBrXn6n<_JvXE{HgoKm=wWZqT1xP7 zXlI;Z{OkvHBsenT=vP1ba~#LNtgmE&v_uO;Oea>^kn^glLg`Q1o$I4Z#S~)krx@nhOg`jJd6;wf?qgt<7)Py#zjfO(_u2XZ| zd$dTUm#Ceouh|g<5jD|;h=Fc}K@BI4at|AJx!!QB+Kg4PYim{`g0qOqD`uh(al({s z0Z$dug)S)co9IATq;n<=Pdaa+6Jc^MIyL)Av$|?G7OmBatq?2LOIBscq6hAMWysxd zwiSAd{|Pm(5Ga=vhKv8hk4E8Cp-_<66p5)SpG}2Mx4z&uoEno7Po+HsoiIDRA7kfr zQ$D@II@ed3##ozI|B$RnF}mPdrO)TAEx(A7^+wa)up85Y8Bd+4rH0(8Gqnm2P0V1H zO;oc=8=`n*;$6&&R5bAx*sP(d<taubxO}wY$v>Ih*rSFtjm`sjEWTD<{lntZ>;a|R&s`~EAm3Gp;8{xgH(b4a`m z@1f08KVzW{E&F*l$&br9ep?2#myCDc_aas!nzs|T*giExkc@5^1Gv%do413#C%%w zRhn-Yp=dHGR5|KC)hVB9IFoJRfn=$@AotoZ!$+85A5+O}`8dyfoVef=ULq>%Wdb|S7YXNK!F*3gl;@0gCcuj4mrA;!hBl?kd#@ I*V!un3#8+CI{*Lx literal 0 HcmV?d00001 diff --git a/bin/utilities/FormatierteAusgabe.class b/bin/utilities/FormatierteAusgabe.class new file mode 100644 index 0000000000000000000000000000000000000000..e2e6ead86c54c9c33d5450d85ae2f1e8519c4316 GIT binary patch literal 2748 zcmaKs+fQ6o6vn?jb1pCp6e&~6Z92WtfnI=W(E`%T6j~?+DlOVt#RD8*=rDsbXV5lH ze4#O|vDK#0pzTAA2`|Q=4^v_j{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(@8UKIXYB@s<8A_Q>GBgpNwGysC)v)c@?udXA?7b$Sj-{t8 z9~5{EXs8mXjoFTMDK{6lvRBP`$`WXZr4wfAnwhnwUNNffj6E;V7~7IKLeM$Wb_AM& zH)0zFOuAXyNk(K+-}vo>m2vH~Gq0n8C?zjD9g0q@zj(0=O*;I4G%>j_?^<&Pn$aTQ zkvaV33^LZqmAwWHyBTXB)ms$32 zTpjxan*Z);G-s!#tZX$72oW-^w;V%mez z-Yw1*e0J51kb%QEB2ew7%Y+K-3T_Rd?;wurIJSv_O^p}`%fj@G>@7taRWqBEqM0e}gpQM(>|{EZO<3n`xi~eycX2>6Ms`UqcNXwa z;;Q;gzn^#0$6Mn62vG_f&3cpI>+YE zyRRcB^^_XmM6X1*o*tl!}z)_wr;zJK*cZ5y32mc%wCQiA$mV*iged>oZ+@`GuEI9?FXv6*Z8j` Qg+RsP3$TQ<4DsOHFJB%TzyJUM literal 0 HcmV?d00001 diff --git a/checkstyle.properties b/checkstyle.properties new file mode 100644 index 0000000..e8fb4c6 --- /dev/null +++ b/checkstyle.properties @@ -0,0 +1,2 @@ +LeftCurly=nlow +RightCurly=same \ No newline at end of file diff --git a/src/Main/CommandoZentrale.java b/src/Main/CommandoZentrale.java new file mode 100644 index 0000000..ad67748 --- /dev/null +++ b/src/Main/CommandoZentrale.java @@ -0,0 +1,56 @@ +package Main; + +import java.awt.SystemColor; + +import org.newdawn.slick.AppGameContainer; +import org.newdawn.slick.BasicGame; +import org.newdawn.slick.GameContainer; +import org.newdawn.slick.Graphics; +import org.newdawn.slick.SlickException; + +public class CommandoZentrale extends BasicGame { + + public CommandoZentrale(String title) { + super(title); + // TODO Auto-generated constructor stub + } + + @Override + public void render(GameContainer container, Graphics g) + throws SlickException { + // TODO Auto-generated method stub + g.setDrawMode(org.newdawn.slick.Graphics.MODE_ALPHA_MAP); + + } + + @Override + public void init(GameContainer container) throws SlickException { + // TODO Auto-generated method stub + + } + + @Override + public void update(GameContainer container, int delta) + throws SlickException { + // TODO Auto-generated method stub + + } + + public static void main(String[] args) throws SlickException { + // TODO Auto-generated method stub + + final AppGameContainer app = new AppGameContainer(new CommandoZentrale("DesktopHumunculus")); + app.setDisplayMode(app.getScreenWidth(), app.getScreenHeight(), true);// + app.setTargetFrameRate(60);// Flüssige FPS von 60 + app.setVSync(true);// VSinc um Renderprobleme bei schneller + // Objektbewegung zu verhindern + //app.getTime(); + //app.hasFocus(); + + app.setShowFPS(true); + app.start(); + + + + } +} diff --git a/src/gui/center/CenterFrame.java b/src/gui/center/CenterFrame.java new file mode 100644 index 0000000..ea4af33 --- /dev/null +++ b/src/gui/center/CenterFrame.java @@ -0,0 +1,125 @@ +package gui.center; + +import java.awt.Frame; +import java.awt.Toolkit; +import java.awt.event.WindowEvent; +import java.awt.event.WindowListener; + +import javax.swing.JFrame; + +public class CenterFrame extends JFrame implements WindowListener +{ + + public CenterFrame() + { + super("CenterFrame"); + this.setVisible(true); + // this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); + } + + public void setIntoCenter() + { + this.setLocation(Toolkit.getDefaultToolkit().getScreenSize().width / 2, Toolkit.getDefaultToolkit().getScreenSize().height / 2); + + System.out.println("Bildschirmdimensionen: " + Toolkit.getDefaultToolkit().getScreenSize().height + " x " + Toolkit.getDefaultToolkit().getScreenSize().width); + + } + + public static void setAllIntoCenter() + { + /* + * ablauf vorzähler perfekt um über datenstrukturen drüber zu laufen + * for(Frame currentFrame : Frame.getFrames()) { if(currentFrame + * instanceof CenterFrame) { + * ((CenterFrame)currentFrame).setIntoCenter(); } } + */ + + final Frame[] a = Frame.getFrames(); + for (int i = 0; i < Frame.getFrames().length; i++) + { + if (a[i] instanceof CenterFrame) + { + ((CenterFrame) a[i]).setIntoCenter(); + } + } + + } + + public static void setAllVisible(final boolean visibility) + { + // TODO Auto-generated method stub + + for (final Frame currentFrame : Frame.getFrames()) + { + if (currentFrame instanceof CenterFrame) + { + ((CenterFrame) currentFrame).setVisible(visibility); + } + } + + } + + public static void main(final String args[]) + { + final CenterFrame cf1 = new CenterFrame(); + cf1.setTitle("cf1"); + cf1.addWindowListener(cf1); + + final CenterFrame cf2 = new CenterFrame(); + cf2.setTitle("cf2"); + cf2.addWindowListener(cf2); + + new ControlFrame(); + + } + + @Override + public void windowActivated(final WindowEvent e) + { + // TODO Auto-generated method stub + System.out.println("Activated " + this.getTitle()); + } + + @Override + public void windowClosed(final WindowEvent e) + { + // TODO Auto-generated method stub + System.out.println("Closed " + this.getTitle()); + } + + @Override + public void windowClosing(final WindowEvent e) + { + // TODO Auto-generated method stub + System.out.println("Closing " + this.getTitle()); + } + + @Override + public void windowDeactivated(final WindowEvent e) + { + // TODO Auto-generated method stub + System.out.println("Deactivated " + this.getTitle()); + } + + @Override + public void windowDeiconified(final WindowEvent e) + { + // TODO Auto-generated method stub + System.out.println("Deiconified " + this.getTitle()); + } + + @Override + public void windowIconified(final WindowEvent e) + { + // TODO Auto-generated method stub + System.out.println("Iconified " + this.getTitle()); + } + + @Override + public void windowOpened(final WindowEvent e) + { + // TODO Auto-generated method stub + System.out.println("Opened " + this.getTitle()); + } + +} \ No newline at end of file diff --git a/src/gui/center/ControlFrame.java b/src/gui/center/ControlFrame.java new file mode 100644 index 0000000..319c37f --- /dev/null +++ b/src/gui/center/ControlFrame.java @@ -0,0 +1,75 @@ +package gui.center; + +import java.awt.GridLayout; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; + +import javax.swing.JButton; +import javax.swing.JFrame; + +public class ControlFrame extends JFrame +{ + + ControlFrame() + { + super("ControlFrame"); + this.setLayout(new GridLayout(3, 0)); + this.setVisible(true); + final JButton centerButton = new JButton("Zentrieren"); + centerButton.setName("control"); + this.add(centerButton); + final JButton hideButton = new JButton("Verstecken"); + hideButton.setName("hide"); + this.add(hideButton); + final JButton showButton = new JButton("Zeigen"); + showButton.setName("show"); + this.add(showButton); + + final Listener klick = new Listener(); + final HideListener hider = new HideListener(); + final ShowListener shower = new ShowListener(); + + centerButton.addActionListener(klick); + hideButton.addActionListener(hider); + showButton.addActionListener(shower); + this.pack(); + + } + + class Listener implements ActionListener + { + + @Override + public void actionPerformed(final ActionEvent e) + { + // TODO Auto-generated method stub + CenterFrame.setAllIntoCenter(); + } + + } + + class HideListener implements ActionListener + { + + @Override + public void actionPerformed(final ActionEvent e) + { + // TODO Auto-generated method stub + CenterFrame.setAllVisible(false); + } + + } + + class ShowListener implements ActionListener + { + + @Override + public void actionPerformed(final ActionEvent e) + { + // TODO Auto-generated method stub + CenterFrame.setAllVisible(true); + } + + } + +} diff --git a/src/gui/counter/Decrementer.java b/src/gui/counter/Decrementer.java new file mode 100644 index 0000000..1555b9a --- /dev/null +++ b/src/gui/counter/Decrementer.java @@ -0,0 +1,6 @@ +package gui.counter; + +public class Decrementer +{ + +} diff --git a/src/gui/counter/Incrementer.java b/src/gui/counter/Incrementer.java new file mode 100644 index 0000000..f96cff0 --- /dev/null +++ b/src/gui/counter/Incrementer.java @@ -0,0 +1,6 @@ +package gui.counter; + +public class Incrementer +{ + +} diff --git a/src/gui/counter/zipper.jardesc b/src/gui/counter/zipper.jardesc new file mode 100644 index 0000000..6c6acbe --- /dev/null +++ b/src/gui/counter/zipper.jardesc @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/gui/dialog/Dialogtest.java b/src/gui/dialog/Dialogtest.java new file mode 100644 index 0000000..d47a1c7 --- /dev/null +++ b/src/gui/dialog/Dialogtest.java @@ -0,0 +1,47 @@ +package gui.dialog; + +import java.awt.GridLayout; + +import javax.swing.JButton; +import javax.swing.JFrame; + +public class Dialogtest extends JFrame +{ + Dialogtest() + { + + final JFrame frame = new JFrame(); + frame.setLayout(new GridLayout(4, 0)); + + final JButton diaModAb = new JButton(); + diaModAb.setText("Dialog: Modal und JFrame Abhängig!"); + frame.add(diaModAb); + + final JButton diaNModAb = new JButton(); + diaNModAb.setText("Dialog: Nicht Modal und JFrame Abhängig!"); + frame.add(diaNModAb); + + final JButton diaModNab = new JButton(); + diaModNab.setText("Dialog: Modal und nicht JFrame Abhängig!"); + frame.add(diaModNab); + + final JButton diaNModNab = new JButton(); + diaNModNab.setText("Dialog: Nicht Modal und Nicht JFrame Abhängig!"); + frame.add(diaNModNab); + + // *Sollte JDialog als JFrame ersatz dienen, da ähnliche methoden + // beinhaltet? + frame.pack(); + frame.setVisible(true); + } + + /** + * @param args + */ + public static void main(final String[] args) + { + // TODO Auto-generated method stub + new Dialogtest(); + } + +} diff --git a/src/gui/measuring/AlarmListener.java b/src/gui/measuring/AlarmListener.java new file mode 100644 index 0000000..ff84d23 --- /dev/null +++ b/src/gui/measuring/AlarmListener.java @@ -0,0 +1,25 @@ +package gui.measuring; + +public class AlarmListener implements MeasuringListener +{ + private double unterGrenze; + + private double oberGrenze; + + public AlarmListener(double unterGrenze, double oberGrenze) + { + + unterGrenze = this.unterGrenze; + oberGrenze = this.oberGrenze; + } + + @Override + public void valueMeasured(final double value, final int iD) + { + // TODO Auto-generated method stub + if ((value > this.oberGrenze) || (value < this.unterGrenze)) + { + System.out.println("Warnung: Messgerät " + iD + " Messwert ist außerhalb des Intervalls!"); + } + } +} diff --git a/src/gui/measuring/Main.java b/src/gui/measuring/Main.java new file mode 100644 index 0000000..50f331b --- /dev/null +++ b/src/gui/measuring/Main.java @@ -0,0 +1,24 @@ +package gui.measuring; + +public class Main +{ + + /** + * @param args + */ + public static void main(final String[] args) + { + // TODO Auto-generated method stub + final AlarmListener alarm1 = new AlarmListener(0, 20.0); + final AlarmListener alarm2 = new AlarmListener(10.0, 30.0); + final MeasuringCenter center = new MeasuringCenter(); + + center.addMeasuringListener(alarm1); + center.addMeasuringListener(alarm2); + + final MeasuringDevice device1 = new MeasuringDevice(center, 1); + device1.measure(13.5); + + } + +} diff --git a/src/gui/measuring/MeasuringCenter.java b/src/gui/measuring/MeasuringCenter.java new file mode 100644 index 0000000..f5029a8 --- /dev/null +++ b/src/gui/measuring/MeasuringCenter.java @@ -0,0 +1,27 @@ +package gui.measuring; + +import java.util.ArrayList; + +public class MeasuringCenter +{ + + private ArrayList listenerList = new ArrayList(); + + public MeasuringCenter() + { + + } + + public void addMeasuringListener(final MeasuringListener listener) + { + this.listenerList.add(listener); + } + + public void reportMeasuredValues(final double messWert, final int deviceId) + { + for (final MeasuringListener i : this.listenerList) + { + i.valueMeasured(messWert, deviceId); + } + } +} diff --git a/src/gui/measuring/MeasuringDevice.java b/src/gui/measuring/MeasuringDevice.java new file mode 100644 index 0000000..6795fc4 --- /dev/null +++ b/src/gui/measuring/MeasuringDevice.java @@ -0,0 +1,19 @@ +package gui.measuring; + +public class MeasuringDevice +{ + private MeasuringCenter mc; + + private int deviceId; + + MeasuringDevice(final MeasuringCenter ms, final int deviceId) + { + this.mc = ms; + this.deviceId = deviceId; + } + + public void measure(final double wert) + { + this.mc.reportMeasuredValues(wert, this.deviceId); + } +} diff --git a/src/gui/measuring/MeasuringListener.java b/src/gui/measuring/MeasuringListener.java new file mode 100644 index 0000000..150b922 --- /dev/null +++ b/src/gui/measuring/MeasuringListener.java @@ -0,0 +1,8 @@ +package gui.measuring; + +public interface MeasuringListener +{ + + public void valueMeasured(double value, int newValue); + +} diff --git a/src/gui/plusminus/MinusHandler.java b/src/gui/plusminus/MinusHandler.java new file mode 100644 index 0000000..01b16e6 --- /dev/null +++ b/src/gui/plusminus/MinusHandler.java @@ -0,0 +1,28 @@ +package gui.plusminus; + +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; + + + +public class MinusHandler implements ActionListener +{ + private PlusMinus pM; + + MinusHandler(PlusMinus pM) + { + this.pM = pM; + } + + + + @Override + public void actionPerformed(ActionEvent e) + { + // TODO Auto-generated method stub + pM.decrement(); + } +} + + + diff --git a/src/gui/plusminus/PlusHandler.java b/src/gui/plusminus/PlusHandler.java new file mode 100644 index 0000000..de3e227 --- /dev/null +++ b/src/gui/plusminus/PlusHandler.java @@ -0,0 +1,25 @@ +package gui.plusminus; + +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; + + + +public class PlusHandler implements ActionListener +{ + private PlusMinus pM; + + PlusHandler(PlusMinus pM) + { + this.pM = pM; + } + + + @Override + public void actionPerformed(ActionEvent e) + { + // TODO Auto-generated method stub + pM.increment(); + } + +} diff --git a/src/gui/plusminus/PlusMinus.java b/src/gui/plusminus/PlusMinus.java new file mode 100644 index 0000000..ce377ef --- /dev/null +++ b/src/gui/plusminus/PlusMinus.java @@ -0,0 +1,101 @@ +package gui.plusminus; + +import java.awt.GridLayout; + +import javax.swing.ImageIcon; +import javax.swing.JButton; +import javax.swing.JFrame; +import javax.swing.JLabel; + +public class PlusMinus extends JFrame +{ + + private ImageIcon icon = new ImageIcon("src/gui/plusminus/icon.jpg"); + + /* + * URL plusIconURL = IconPluMinusURLs.class.getResource("icons/up.png) Icon + * plusIcon = new ImageIcon(plusIconURL); + */ + + private JLabel label = new JLabel(); + + private int min, max, positiverWert, value; + + private JButton minus = new JButton("-", this.icon); + + private JButton plus = new JButton("+", this.icon); + + public PlusMinus(final int min, final int max, final int positiverWert) + { + super("PlusMinus"); + + this.min = min; + this.max = max; + this.positiverWert = positiverWert; + this.value = min; + + this.setLayout(new GridLayout(3, 0)); + + this.plus.setName("plus"); + this.plus.setToolTipText("Erhöhen der Zahl"); + this.add(this.plus); + this.plus.addActionListener(new PlusHandler(this)); + + this.label.setName("label"); + this.label.setText("" + this.value); + this.add(this.label); + + this.minus.setName("minus"); + this.minus.setToolTipText("Verringern der Zahl"); + this.add(this.minus); + this.minus.addActionListener(new MinusHandler(this)); + + this.checkButtons(); + this.pack(); + this.setVisible(true); + + } + + public void checkButtons() + { + if ((this.value + this.positiverWert) > this.max) + { + this.plus.setEnabled(false); + } + else + { + this.plus.setEnabled(true); + } + + if ((this.value - this.positiverWert) < this.min) + { + this.minus.setEnabled(false); + } + else + { + this.minus.setEnabled(true); + } + } + + public void decrement() + { + // TODO Auto-generated method stub + this.value = this.value - this.positiverWert; + this.checkButtons(); + this.label.setText("" + this.value); + } + + public void increment() + { + this.value = this.value + this.positiverWert; + this.checkButtons(); + this.label.setText("" + this.value); + } + + public static void main(final String[] args) + { + // TODO Auto-generated method stub + new PlusMinus(-10, 10, 1); + + } +} \ No newline at end of file diff --git a/src/gui/plusminus/icon.jpg b/src/gui/plusminus/icon.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2745362b1dca7cd883c97acac75fcf8179fe78bc GIT binary patch literal 10245 zcmbt(Wm6nXu=QfW65L&u;1Jwh7k67EI0Oq0fyENs7g*fg-7UBTcPChY;O_9|se0?) zA8^lnJl$t{rh2Bks^6C0egm)+WI?h3I5;?f{J#Zwdj$wdX~;-uscHyPSzEAv`D$rR z<-x)BiHgD9)z;CP3Zx)MrJyDwN9DoG$;d+G>~3mr>*h@*LM8AC?QInx^`F%L3IB=w zp9KDMe)|c)Mggb*AP8_Y0C;RT1Z=psegHWD01pq300;OVprF1(MnZ!}K>UxE#R9+~ z!owlJBOoEXLqq>(1ow|YdWVgSfAsQ(%L|4nd^ zaj5|)cr+ZS_!8>0rp|#t&UgYYZb_;Clyl!!0Pp_=4v&q14G;rRejXA6(aIg}TwF>} zh;ek^I~lUoB(65Jy7#=-D->b?QioeOomL!#Y>1Ayz09a&EUg3=(qcI@`aXt^!T9R& zXX5FqDG(eXbMoRsi|0bWA&V#)llBY|5+5qjBm<`vpc*-{p&Mv`Sl7zH$Hzm>D`*Uh zW_l#mdVJ4^M=oG3$6EE_WA*d!?|?p36?$k2tK6^nWj*p)e=$Q1_UNG?;qN=vCbLsX zABDqWTS*jE%~%E5mh@ocr6A;ubGh#aOj`$5wjUj zB`Sj+vk5g$D)pt%ltTVM#F$q@4Gx|%k#Nw-xHgROyPI9&j3>^na8V)0$w-Sx={E2T zDL??_&r$+ze616MJg3ZI6k5%%Q7QipTe;3+zPh6MXQ9o2f;Rx#$g7KXHHCcR90gg~ zs^C~*NSN7juF2yqZ0uK9(l9~}la4Hq#i=5{`IuzvI&0uy{ znn7OC>gznjojNIa>Fuse54WXc;Nj`@>%jdz|3?w<8^Bu1QRtMKbIovoi4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T* zNXzYM)3xo*Pq;a=aHX|p-6k0G5j%xo^mg=KZe@+PG8aMSYD|1vJD|@(S*=qMJ ziX&pOb-h(BJ4wrG?M02`iBhEg_Sz_7@nOsb#r~EHzxOyi9%Gi8)Op7Rr-=x_yTj){ M6tHu4^tSx}0La0V-2eap literal 0 HcmV?d00001 diff --git a/src/package1/Patient.java b/src/package1/Patient.java new file mode 100644 index 0000000..460fcd7 --- /dev/null +++ b/src/package1/Patient.java @@ -0,0 +1,71 @@ +package package1; + +public class Patient +{ + private String name; + + private int alter; + + private Patient vorgaenger = null; + + static private int folgeNummer = 1; + + private int warteNummer; + + Patient(final String name, final int alter) + { + this.name = name; + this.alter = alter; + this.warteNummer = Patient.folgeNummer; + Patient.folgeNummer++; + + } + + Patient(final String name, final int alter, final Patient vorgaenger) + { + this.name = name; + this.alter = alter; + this.warteNummer = Patient.folgeNummer; + Patient.folgeNummer++; + } + + public boolean istErster() + { + if (this.vorgaenger == null) + { + return true; + } + else + { + return false; + } + } + + public int altersDifferenz(final Patient t) + { + if (this.alter > t.alter) + { + return this.alter - t.alter; + } + else + { + return t.alter - this.alter; + // return static int Math.abs(this.alter-t.alter); + } + } + + @Override + public String toString() + { + String s = new String("name: " + this.name + " warteNr: " + this.warteNummer + "\n "); + + if (this.vorgaenger != null) + { + s += new String(" Vorgaenger: "); + s += this.vorgaenger.toString(); + } + return s; + + } + +} diff --git a/src/uebungen1/DemoKlasse.java b/src/uebungen1/DemoKlasse.java new file mode 100644 index 0000000..f627feb --- /dev/null +++ b/src/uebungen1/DemoKlasse.java @@ -0,0 +1,47 @@ +package uebungen1; + +public class DemoKlasse +{ + + private int wert; + + DemoKlasse() + { + this.wert = 0; + } + + public int getWert() + { + return this.wert; + } + + public void setWert(final int wert) + { + this.wert = wert; + } + + public DemoKlasse addieren(final DemoKlasse obj) + { + final DemoKlasse neuesObjekt = new DemoKlasse(); + + neuesObjekt.wert = this.wert + obj.wert; + return neuesObjekt; + } + + /** + * @param args + */ + public static void main(final String[] args) + { + // TODO Auto-generated method stub + DemoKlasse a1 = new DemoKlasse(); + final DemoKlasse a2 = new DemoKlasse(); + + a1.setWert(5); + a2.setWert(6); + + a1 = a1.addieren(a2); + System.out.println("" + a1.getWert()); + + } +} diff --git a/src/uebungen1/Gruppe.java b/src/uebungen1/Gruppe.java new file mode 100644 index 0000000..5ad5c93 --- /dev/null +++ b/src/uebungen1/Gruppe.java @@ -0,0 +1,32 @@ +package uebungen1; + +import java.util.ArrayList; + +class Gruppe +{ + + + public Gruppe() + { + ArrayList mensch; + } + void addGruppenmitglied (Mensch member) + { + + } +} + +interface Mensch +{ + +} + +class Mann implements Mensch +{ + +} + +class Frau implements Mensch +{ + +} \ No newline at end of file diff --git a/src/uebungen1/binarstellen.java b/src/uebungen1/binarstellen.java new file mode 100644 index 0000000..9cb9dde --- /dev/null +++ b/src/uebungen1/binarstellen.java @@ -0,0 +1,42 @@ +package uebungen1; + +import utilities.TastaturEingabe; + +public class binarstellen +{ + + /** + * @param args + */ + + public static void main(final String[] args) + { + // TODO Auto-generated method stub + int n; + + for (int i = 0; i <= 10; i++) + { + n = TastaturEingabe.readInt("Geben Sie die nächste Zahl ein: "); + + if (n == 6) + { + break; + } + + if ((n % 3) == 0) + { + continue; + } + + if (n < 8) + { + System.out.println("" + (n * n)); + } + else + { + System.out.println("" + n); + } + } + } + +} diff --git a/src/uebungen7/GeomObjekt.java b/src/uebungen7/GeomObjekt.java new file mode 100644 index 0000000..430adc6 --- /dev/null +++ b/src/uebungen7/GeomObjekt.java @@ -0,0 +1,29 @@ +package uebungen7; + +public abstract class GeomObjekt +{ + + protected int x, y; + + GeomObjekt() + { + this.x = 0; + this.y = 0; + } + + /** + * @param args + */ + + public void print() + { + + } + + public static void main(final String[] args) + { + // TODO Auto-generated method stub + + } + +} diff --git a/src/uebungen7/Kreis.java b/src/uebungen7/Kreis.java new file mode 100644 index 0000000..0867dff --- /dev/null +++ b/src/uebungen7/Kreis.java @@ -0,0 +1,23 @@ +package uebungen7; + +public class Kreis extends GeomObjekt +{ + + private int d; + + public Kreis() + { + // TODO Auto-generated constructor stub + this.d = 0; + } + + /** + * @param args + */ + @Override + public void print() + { + System.out.println("Kreis"); + } + +} diff --git a/src/uebungen7/Rechteck.java b/src/uebungen7/Rechteck.java new file mode 100644 index 0000000..6abfd0f --- /dev/null +++ b/src/uebungen7/Rechteck.java @@ -0,0 +1,18 @@ +package uebungen7; + +public class Rechteck extends GeomObjekt +{ + private int l, b; + + Rechteck() + { + this.l = 0; + this.b = 0; + } + + @Override + public void print() + { + System.out.println("Rechteck"); + } +} diff --git a/src/utilities/Datum.java b/src/utilities/Datum.java new file mode 100644 index 0000000..ee9a722 --- /dev/null +++ b/src/utilities/Datum.java @@ -0,0 +1,80 @@ +package utilities; + +import java.util.GregorianCalendar; + +public class Datum +{ + private int tag, monat, jahr; + + // aktuelles Datum (d.h., heute) erzeugen + public Datum() + { + GregorianCalendar gc = new GregorianCalendar(); + tag = gc.get(GregorianCalendar.DAY_OF_MONTH); + // In der Klasse GregorianCalendar werden die Monate von 0 bis 11 + // durchnummeriert; daher muessen wir den Wert 1 addieren. + monat = gc.get(GregorianCalendar.MONTH) + 1; + jahr = gc.get(GregorianCalendar.YEAR); + } + + public Datum(int t, int m, int j) + { + tag = t; + monat = m; + jahr = j; + } + + public String toString() + { + return tag + "." + monat + "." + jahr; + } + + public boolean equals(Object obj) + { + if (obj instanceof Datum) + { + Datum d = (Datum)obj; + + return jahr == d.jahr + && monat == d.monat + && tag == d.tag; + } + else + return false; + } + + public boolean frueherAls(Datum d) + { + if(jahr < d.jahr) + return true; + if(jahr == d.jahr) + { + if(monat < d.monat) + return true; + if(monat == d.monat) + return tag < d.tag; + } + return false; + } + + public boolean vor(Datum d) + { + return frueherAls(d); + } + + public boolean nach(Datum d) + { + return !vor(d) && !equals(d); + } + + + public static void main(String[] args) + { + Datum d = new Datum(); + System.out.println(d); + Datum e = new Datum(6, 4, 2002); + System.out.println(e); + System.out.println(d.vor(e)); + System.out.println(d.nach(e)); + } +} diff --git a/src/utilities/FormatierteAusgabe.java b/src/utilities/FormatierteAusgabe.java new file mode 100644 index 0000000..8e281e4 --- /dev/null +++ b/src/utilities/FormatierteAusgabe.java @@ -0,0 +1,154 @@ +package utilities; + +/** + * Klasse zur formatierten Ausgabe einfacher Datentypen + */ + +public class FormatierteAusgabe +{ + private static int zehn_hoch(int potenz) + { int erg=1; + for (int i=0;i=zehn_hoch(lbreite)) + { erg="|"+zahl; + return erg; + } + for (int i=lbreite-1;i>0;i--) + if (zahl=zehn_hoch(lbreite)) + { erg="|"+zahl; + return erg; + } + for (int i=lbreite-1;i>0;i--) + if (zahlbreite) + return s.substring(s.length()-breite); + for (i=0;i=0; i--) + { if ((zahl & (EINS< + * @param b true: Meldung "Weiter ..." wird ausgegeben + */ + public static void warte(boolean b) + { + String s; + if (b) + { + System.out.print("....... Weiter mit "); + System.out.flush(); + } + s = readString(""); + } + + /** + * wartet auf + * Meldung "....... Weiter mit " wird immer ausgegeben + */ + public static void warte() + { + warte(true); + } + + public static Datum readDatum (String prompt) + { + while (true) + { + System.out.print(prompt); + try + { + String zeile = eing.readLine(); + if (zeile.length()!=10) throw new NumberFormatException(); + int tag = Integer.parseInt(zeile.substring(0,2)); + char trenn = zeile.charAt(2); + if (trenn!='.' & trenn!='/') throw new NumberFormatException(); + int monat = Integer.parseInt(zeile.substring(3,5)); + trenn = zeile.charAt(5); + if (trenn!='.' & trenn!='/') throw new NumberFormatException(); + int jahr = Integer.parseInt(zeile.substring(6,10)); + Datum einDatum = new Datum (tag, monat, jahr); + return einDatum; + } + catch (NumberFormatException e) + { + System.out.println ("Bitte eine Datum in der Form tt.mm.jjjj eingeben."); + } + catch (IllegalArgumentException e) + { + System.out.println ("Fehler in Datum: " + e.getMessage()); + } + catch (IOException e) + { + e.printStackTrace(); + System.exit(1); + } + } + } + +} diff --git a/src/utilities/Uhrzeit.java b/src/utilities/Uhrzeit.java new file mode 100644 index 0000000..107505f --- /dev/null +++ b/src/utilities/Uhrzeit.java @@ -0,0 +1,139 @@ +package utilities; + +class Uhrzeit implements Comparable +{ + private int std; // 0 bis 23 + private int min, sek; // 0 bis 59 + private int zone; // Zeitzone in Werten von -11 bis +12 + + private static int stdNormal; + private static int minNormal; + + static void setzeNormalzeit (int std, int min) + { + stdNormal = std; + minNormal = min; + } + + Uhrzeit () + { + std = stdNormal; + min = minNormal; + // weitere Angaben nicht nötig (Standardvorbelegung) + } + + Uhrzeit (int std, int min) + { + setzeStdMin (std, min); + } + + Uhrzeit (int std, int min, int sek) + { + setzeUhrzeit (std, min, sek); + } + + Uhrzeit (int std, int min, int sek, int zone) + { + setzeUhrzeit (std, min, sek, zone); + } + + private void setzeStdMin (int std, int min) + { + if (min<0) + throw new IllegalArgumentException + ("Minuten müssen >= 0 sein."); + else + while (min>=60) + min = min - 60; + this.min = min; + if (std<0) + throw new IllegalArgumentException + ("Stunden müssen >= 0 sein."); + else + while (std>=24) + std = std - 24; + this.std = std; + } + + void setzeUhrzeit (int std, int min) + { + setzeStdMin (std, min); + this.sek = 0; + } + + void setzeUhrzeit (int std, int min, int sek) + { + setzeStdMin (std, min); + if (sek<0 | sek>59) + throw new IllegalArgumentException + ("Sekunden müssen zwischen 0 und 59 liegen."); + this.sek = sek; + zone = 1; + } + + void setzeUhrzeit (int std, int min, int sek, int zone) + { + setzeStdMin (std, min); + if (sek<0 | sek>59) + throw new IllegalArgumentException + ("Sekunden müssen zwischen 0 und 59 liegen."); + this.sek = sek; + if (zone<-11 | zone>12) + throw new IllegalArgumentException + ("Zeitzone muss zwischen -11 und +12 liegen."); + this.zone = zone; + } + + String differenz(Uhrzeit bis) + { + int dStd = bis.std + bis.zone - std - zone; + int dMin = bis.min - min; + if (dMin < 0) + { + dMin = dMin + 60; + dStd--; + } + int dSek = bis.sek - sek; + if (dSek < 0) + { + dSek = dSek + 60; + dMin--; + } + return dStd + " Std " + dMin + " Min " + dSek + " Sek"; + } + + public String toString () + { + String zeit = ((std<10)?"0"+std:""+std) + ":"; + zeit = zeit + ((min<10)?"0"+min:""+min) + ":"; + zeit = zeit + ((sek<10)?"0"+sek:""+sek) + " GMT"; + zeit = zeit + ((zone<0)?"-":"+") + Math.abs(zone); + return zeit; + } + + public boolean equals(Object einObject) + { + Uhrzeit eineZeit = (Uhrzeit)einObject; + return this.std - this.zone == eineZeit.std - eineZeit.zone + & this.min == eineZeit.min; + } + + public int compareTo(Object einObject) + { + Uhrzeit z = (Uhrzeit)einObject; + return + (((this.std-this.zone)*60)+this.min)*60+this.sek + -((((z.std-z.zone)*60)+z.min)*60+z.sek); + } + + int gibStunde () + { + return std; + } + + int gibMinute() + { + return min; + } + +} diff --git a/src/Ãœbungen/Aufgaben.java b/src/Ãœbungen/Aufgaben.java new file mode 100644 index 0000000..e1b4c3c --- /dev/null +++ b/src/Ãœbungen/Aufgaben.java @@ -0,0 +1,48 @@ +package Übungen; + +import java.io.IOException; + +public class Aufgaben { + + /** + * @param args + * @throws IOException + */ + public static void main(String[] args) throws IOException { + // TODO Auto-generated method stub + int n , complexity; + + n = System.in.read(); + int count=0; + for (int i=0; i < n; i++) + for (int j=0; j < n; j++) + count++; + + //complexity = count; + System.out.println("Count: "+count); + count=0; + for (int i=n; i > 0; i--) + for (int j=i; j < n; j++) + count++; + + System.out.println("Count: "+count); + count=0; + + for (int i=1; i <= n/2; i++) + for (int j=1; j < n * n; j++) + count++; + + System.out.println("Count: "+count); + count=0; + int i = n; + do + { count++; + i= i/3; + } + while (i > 0); + + System.out.println("Count: "+count); + + } + +}