docs/DesignPatterns

view 04_composite.tex @ 14:dc88dad3b5af

changes to vorstellung; modified Makefile
author meillo@marmaro.de
date Thu, 21 Jun 2007 17:53:50 +0200
parents a7bdc1211d3a
children 19e867456aff
line source
1 % @file
2 % @brief Referat DesignPatterns `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{Composite-Pattern}
24 \author{Dimitar Dimitrov}
25 \date{}
27 %\titlegraphic{\includegraphics[width=3cm]{Pics/Maka-Logo.png}}
29 \frame{
30 \titlepage
31 }
37 \section[Outline]{}
38 \frame{ \frametitle{Outline}
39 \tableofcontents
40 }
45 \section{Definition}
47 \frame{ \frametitle{Definition}
49 \begin{block}{}
50 \end{block}
52 }
55 \section{Motivation}
57 \frame{ \frametitle{Motivation}
59 \begin{block}{}
60 \end{block}
62 }
65 \section{Wann verwenden?}
66 \frame{ \frametitle{Wann verwenden?}
68 \begin{block}{}
69 \end{block}
71 }
75 \section{Struktur}
77 \frame{ \frametitle{UML-Diagramm des Composite-Pattern}
78 \centerline{ \includegraphics[width=20em]{pics/composite_big.png} }
79 }
85 \section{Java-Beispiel}
86 \subsection{main, IComponent}
87 \frame{ \frametitle{class Main, interface IComponent}
89 {\tiny
90 \lstinputlisting[language=java]{code/composite-main.java}
91 \lstinputlisting[language=java]{code/composite-icomponent.java}
92 }
94 }
97 \subsection{Composite}
98 \frame{ \frametitle{class Composite}
100 {\tiny
101 \lstinputlisting[language=java]{code/composite-composite.java}
102 }
104 }
107 \subsection{Leaf}
108 \frame{ \frametitle{class Leaf}
110 {\tiny
111 \lstinputlisting[language=java]{code/composite-leaf.java}
112 }
114 }
119 \section{Zusammenfassung}
120 \frame{ %\frametitle{Zusammenfassend}
121 \begin{block}{Zusammenfassung}
122 \begin{itemize}
123 \item
124 \item
125 \item
126 \end{itemize}
127 \end{block}
128 }
132 \end{document}