docs/DesignPatterns

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/composite.tex	Mon Jun 18 12:10:45 2007 +0200
     1.3 @@ -0,0 +1,143 @@
     1.4 +% @file
     1.5 +% @brief   Referat DesignPattern `Composite'
     1.6 +% @author  dimitar dimitrov
     1.7 +% @since   2007-06-18
     1.8 +
     1.9 +
    1.10 +\documentclass{beamer}
    1.11 +
    1.12 +
    1.13 +  \usepackage[T1]{fontenc}
    1.14 +  \usepackage[latin1]{inputenc}
    1.15 +  \usepackage{ngerman}
    1.16 +  \usepackage{graphicx}
    1.17 +  \usepackage[automark]{scrpage2}
    1.18 +  \usepackage{listings}
    1.19 +  \input{Style01}
    1.20 +
    1.21 +
    1.22 +
    1.23 +\begin{document}
    1.24 +
    1.25 +
    1.26 +\title{Design Pattern ``Composite''}
    1.27 +\date{\today}
    1.28 +
    1.29 +\author{Dimitar Dimitrov}
    1.30 +
    1.31 +%\titlegraphic{\includegraphics[width=3cm]{Pics/Maka-Logo.png}}
    1.32 +
    1.33 +\frame{
    1.34 +  \titlepage
    1.35 +}
    1.36 +
    1.37 +
    1.38 +
    1.39 +
    1.40 +
    1.41 +\section[Outline]{}
    1.42 +\frame{
    1.43 +  Dauer der Präsentation: etwa 10 Minuten
    1.44 +  \vspace{2ex}
    1.45 +
    1.46 +  \tableofcontents
    1.47 +}
    1.48 +
    1.49 +
    1.50 +
    1.51 +
    1.52 +\section{Definition}
    1.53 +
    1.54 +\frame{ \frametitle{Definition}
    1.55 +
    1.56 +  \begin{block}{}
    1.57 +  \end{block}
    1.58 +
    1.59 +}
    1.60 +
    1.61 +
    1.62 +\section{Motivation}
    1.63 +
    1.64 +\frame{ \frametitle{Motivation}
    1.65 +
    1.66 +  \begin{block}{}
    1.67 +  \end{block}
    1.68 +
    1.69 +}
    1.70 +
    1.71 +
    1.72 +\section{Wann verwenden?}
    1.73 +\frame{ \frametitle{Wann verwenden?}
    1.74 +
    1.75 +  \begin{block}{}
    1.76 +  \end{block}
    1.77 +
    1.78 +}
    1.79 +
    1.80 +
    1.81 +
    1.82 +\section{Struktur}
    1.83 +
    1.84 +\frame{ \frametitle{UML-Diagramm des Composite-Pattern}
    1.85 +  \centerline{ \includegraphics[width=20em]{pics/composite_big.png} }
    1.86 +}
    1.87 +
    1.88 +
    1.89 +
    1.90 +
    1.91 +
    1.92 +\section{Java-Beispiel}
    1.93 +\frame{ \frametitle{class Main, interface IComponent}
    1.94 +
    1.95 +  {\tiny
    1.96 +    \lstinputlisting[language=java]{code/composite-main.java}
    1.97 +    \lstinputlisting[language=java]{code/composite-icomponent.java}
    1.98 +  }
    1.99 +
   1.100 +}
   1.101 +
   1.102 +
   1.103 +\frame{ \frametitle{class Composite}
   1.104 +
   1.105 +  {\tiny
   1.106 +    \lstinputlisting[language=java]{code/composite-composite.java}
   1.107 +  }
   1.108 +
   1.109 +}
   1.110 +
   1.111 +
   1.112 +\frame{ \frametitle{class Leaf}
   1.113 +
   1.114 +  {\tiny
   1.115 +    \lstinputlisting[language=java]{code/composite-leaf.java}
   1.116 +  }
   1.117 +
   1.118 +}
   1.119 +
   1.120 +
   1.121 +
   1.122 +
   1.123 +\section{Zusammenfassung}
   1.124 +\frame{ %\frametitle{Zusammenfassend}
   1.125 +  \begin{block}{Zusammenfassung}
   1.126 +  \begin{itemize}
   1.127 +    \item 
   1.128 +    \item 
   1.129 +    \item 
   1.130 +  \end{itemize}
   1.131 +  \end{block}
   1.132 +
   1.133 +  \pause
   1.134 +
   1.135 +  \begin{block}{Fazit}
   1.136 +    \begin{itemize}
   1.137 +      \item 
   1.138 +      \item 
   1.139 +      \item 
   1.140 +    \end{itemize}
   1.141 +  \end{block}
   1.142 +}
   1.143 +
   1.144 +
   1.145 +
   1.146 +\end{document}