docs/DesignPatterns
view composite.tex @ 7:20c0116dcb97
added files (forgot for last commit
author | meillo@marmaro.de |
---|---|
date | Mon, 18 Jun 2007 12:10:45 +0200 |
parents | |
children | c9e5dcd79aae |
line source
1 % @file
2 % @brief Referat DesignPattern `Composite'
3 % @author dimitar dimitrov
4 % @since 2007-06-18
7 \documentclass{beamer}
10 \usepackage[T1]{fontenc}
11 \usepackage[latin1]{inputenc}
12 \usepackage{ngerman}
13 \usepackage{graphicx}
14 \usepackage[automark]{scrpage2}
15 \usepackage{listings}
16 \input{Style01}
20 \begin{document}
23 \title{Design Pattern ``Composite''}
24 \date{\today}
26 \author{Dimitar Dimitrov}
28 %\titlegraphic{\includegraphics[width=3cm]{Pics/Maka-Logo.png}}
30 \frame{
31 \titlepage
32 }
38 \section[Outline]{}
39 \frame{
40 Dauer der Präsentation: etwa 10 Minuten
41 \vspace{2ex}
43 \tableofcontents
44 }
49 \section{Definition}
51 \frame{ \frametitle{Definition}
53 \begin{block}{}
54 \end{block}
56 }
59 \section{Motivation}
61 \frame{ \frametitle{Motivation}
63 \begin{block}{}
64 \end{block}
66 }
69 \section{Wann verwenden?}
70 \frame{ \frametitle{Wann verwenden?}
72 \begin{block}{}
73 \end{block}
75 }
79 \section{Struktur}
81 \frame{ \frametitle{UML-Diagramm des Composite-Pattern}
82 \centerline{ \includegraphics[width=20em]{pics/composite_big.png} }
83 }
89 \section{Java-Beispiel}
90 \frame{ \frametitle{class Main, interface IComponent}
92 {\tiny
93 \lstinputlisting[language=java]{code/composite-main.java}
94 \lstinputlisting[language=java]{code/composite-icomponent.java}
95 }
97 }
100 \frame{ \frametitle{class Composite}
102 {\tiny
103 \lstinputlisting[language=java]{code/composite-composite.java}
104 }
106 }
109 \frame{ \frametitle{class Leaf}
111 {\tiny
112 \lstinputlisting[language=java]{code/composite-leaf.java}
113 }
115 }
120 \section{Zusammenfassung}
121 \frame{ %\frametitle{Zusammenfassend}
122 \begin{block}{Zusammenfassung}
123 \begin{itemize}
124 \item
125 \item
126 \item
127 \end{itemize}
128 \end{block}
130 \pause
132 \begin{block}{Fazit}
133 \begin{itemize}
134 \item
135 \item
136 \item
137 \end{itemize}
138 \end{block}
139 }
143 \end{document}