% @file
% @brief   Referat DesignPatterns `Composite'
% @author  dimitar dimitrov
% @since   2007-06-18


\documentclass{beamer}


  \usepackage[T1]{fontenc}
  \usepackage[latin1]{inputenc}
  \usepackage{ngerman}
  \usepackage{graphicx}
  \usepackage[automark]{scrpage2}
  \usepackage{listings}
  \input{Style01}



\begin{document}


\title{Design Patterns ``Composite''}
\date{\today}

\author{Dimitar Dimitrov}

%\titlegraphic{\includegraphics[width=3cm]{Pics/Maka-Logo.png}}

\frame{
  \titlepage
}





\section[Outline]{}
\frame{ \frametitle{Outline}
  \tableofcontents
}




\section{Definition}

\frame{ \frametitle{Definition}

  \begin{block}{}
  \end{block}

}


\section{Motivation}

\frame{ \frametitle{Motivation}

  \begin{block}{}
  \end{block}

}


\section{Wann verwenden?}
\frame{ \frametitle{Wann verwenden?}

  \begin{block}{}
  \end{block}

}



\section{Struktur}

\frame{ \frametitle{UML-Diagramm des Composite-Pattern}
  \centerline{ \includegraphics[width=20em]{pics/composite_big.png} }
}





\section{Java-Beispiel}
\subsection{main, IComponent}
\frame{ \frametitle{class Main, interface IComponent}

  {\tiny
    \lstinputlisting[language=java]{code/composite-main.java}
    \lstinputlisting[language=java]{code/composite-icomponent.java}
  }

}


\subsection{Composite}
\frame{ \frametitle{class Composite}

  {\tiny
    \lstinputlisting[language=java]{code/composite-composite.java}
  }

}


\subsection{Leaf}
\frame{ \frametitle{class Leaf}

  {\tiny
    \lstinputlisting[language=java]{code/composite-leaf.java}
  }

}




\section{Zusammenfassung}
\frame{ %\frametitle{Zusammenfassend}
  \begin{block}{Zusammenfassung}
  \begin{itemize}
    \item 
    \item 
    \item 
  \end{itemize}
  \end{block}
}



\end{document}
