docs/DesignPatterns
diff 04_composite.tex @ 12:a7bdc1211d3a
renamed files; some restructuring
author | meillo@marmaro.de |
---|---|
date | Thu, 21 Jun 2007 10:46:57 +0200 |
parents | composite.tex@c9e5dcd79aae |
children | eff2ffb701fe |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/04_composite.tex Thu Jun 21 10:46:57 2007 +0200 1.3 @@ -0,0 +1,133 @@ 1.4 +% @file 1.5 +% @brief Referat DesignPatterns `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 Patterns ``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{ \frametitle{Outline} 1.43 + \tableofcontents 1.44 +} 1.45 + 1.46 + 1.47 + 1.48 + 1.49 +\section{Definition} 1.50 + 1.51 +\frame{ \frametitle{Definition} 1.52 + 1.53 + \begin{block}{} 1.54 + \end{block} 1.55 + 1.56 +} 1.57 + 1.58 + 1.59 +\section{Motivation} 1.60 + 1.61 +\frame{ \frametitle{Motivation} 1.62 + 1.63 + \begin{block}{} 1.64 + \end{block} 1.65 + 1.66 +} 1.67 + 1.68 + 1.69 +\section{Wann verwenden?} 1.70 +\frame{ \frametitle{Wann verwenden?} 1.71 + 1.72 + \begin{block}{} 1.73 + \end{block} 1.74 + 1.75 +} 1.76 + 1.77 + 1.78 + 1.79 +\section{Struktur} 1.80 + 1.81 +\frame{ \frametitle{UML-Diagramm des Composite-Pattern} 1.82 + \centerline{ \includegraphics[width=20em]{pics/composite_big.png} } 1.83 +} 1.84 + 1.85 + 1.86 + 1.87 + 1.88 + 1.89 +\section{Java-Beispiel} 1.90 +\subsection{main, IComponent} 1.91 +\frame{ \frametitle{class Main, interface IComponent} 1.92 + 1.93 + {\tiny 1.94 + \lstinputlisting[language=java]{code/composite-main.java} 1.95 + \lstinputlisting[language=java]{code/composite-icomponent.java} 1.96 + } 1.97 + 1.98 +} 1.99 + 1.100 + 1.101 +\subsection{Composite} 1.102 +\frame{ \frametitle{class Composite} 1.103 + 1.104 + {\tiny 1.105 + \lstinputlisting[language=java]{code/composite-composite.java} 1.106 + } 1.107 + 1.108 +} 1.109 + 1.110 + 1.111 +\subsection{Leaf} 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 + 1.134 + 1.135 + 1.136 +\end{document}