docs/DesignPatterns

view composite.tex @ 8:c9e5dcd79aae

rename; cleanups
author meillo@marmaro.de
date Mon, 18 Jun 2007 12:38:48 +0200
parents 20c0116dcb97
children
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{ \frametitle{Outline}
40 \tableofcontents
41 }
46 \section{Definition}
48 \frame{ \frametitle{Definition}
50 \begin{block}{}
51 \end{block}
53 }
56 \section{Motivation}
58 \frame{ \frametitle{Motivation}
60 \begin{block}{}
61 \end{block}
63 }
66 \section{Wann verwenden?}
67 \frame{ \frametitle{Wann verwenden?}
69 \begin{block}{}
70 \end{block}
72 }
76 \section{Struktur}
78 \frame{ \frametitle{UML-Diagramm des Composite-Pattern}
79 \centerline{ \includegraphics[width=20em]{pics/composite_big.png} }
80 }
86 \section{Java-Beispiel}
87 \subsection{main, IComponent}
88 \frame{ \frametitle{class Main, interface IComponent}
90 {\tiny
91 \lstinputlisting[language=java]{code/composite-main.java}
92 \lstinputlisting[language=java]{code/composite-icomponent.java}
93 }
95 }
98 \subsection{Composite}
99 \frame{ \frametitle{class Composite}
101 {\tiny
102 \lstinputlisting[language=java]{code/composite-composite.java}
103 }
105 }
108 \subsection{Leaf}
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}
129 }
133 \end{document}