changeset 8:c9e5dcd79aae

rename; cleanups
author meillo@marmaro.de
date Mon, 18 Jun 2007 12:38:48 +0200 (2007-06-18)
parents 20c0116dcb97
children d7c3983a367a
files code/composite-component.java code/composite-composite.java composite.tex
diffstat 3 files changed, 38 insertions(+), 48 deletions(-) [+]
line wrap: on
line diff
--- a/code/composite-component.java	Mon Jun 18 12:10:45 2007 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-    class Composite implements IComponent {
-            private String id;
-            private List<IComponent> list = new ArrayList<IComponent> ();
-
-            public Composite(String id) {
-                    this.id = id;
-            }
-
-            public String toString() {
-                    StringBuilder buf = new StringBuilder();
-                    buf.append(String.format("(%s:", id));
-
-                    for (IComponent child : list) {
-                          buf.append(" " + child.toString());
-                    }
-                    buf.append(")");
-
-                    return buf.toString();
-            }
-
-            //public List<IComponent> getChildren()
-
-            public Collection getChildren(){
-                    return list;
-            }
-
-            public boolean addComponent(IComponent c){
-                    return list.add(c);
-            }
-
-            public boolean removeComponent(IComponent c){
-                    return list.remove(c);
-            }
-    }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/code/composite-composite.java	Mon Jun 18 12:38:48 2007 +0200
@@ -0,0 +1,34 @@
+    class Composite implements IComponent {
+            private String id;
+            private List<IComponent> list = new ArrayList<IComponent> ();
+
+            public Composite(String id) {
+                    this.id = id;
+            }
+
+            public String toString() {
+                    StringBuilder buf = new StringBuilder();
+                    buf.append(String.format("(%s:", id));
+
+                    for (IComponent child : list) {
+                          buf.append(" " + child.toString());
+                    }
+                    buf.append(")");
+
+                    return buf.toString();
+            }
+
+            //public List<IComponent> getChildren()
+
+            public Collection getChildren(){
+                    return list;
+            }
+
+            public boolean addComponent(IComponent c){
+                    return list.add(c);
+            }
+
+            public boolean removeComponent(IComponent c){
+                    return list.remove(c);
+            }
+    }
--- a/composite.tex	Mon Jun 18 12:10:45 2007 +0200
+++ b/composite.tex	Mon Jun 18 12:38:48 2007 +0200
@@ -36,10 +36,7 @@
 
 
 \section[Outline]{}
-\frame{
-  Dauer der Pr�sentation: etwa 10 Minuten
-  \vspace{2ex}
-
+\frame{ \frametitle{Outline}
   \tableofcontents
 }
 
@@ -87,6 +84,7 @@
 
 
 \section{Java-Beispiel}
+\subsection{main, IComponent}
 \frame{ \frametitle{class Main, interface IComponent}
 
   {\tiny
@@ -97,6 +95,7 @@
 }
 
 
+\subsection{Composite}
 \frame{ \frametitle{class Composite}
 
   {\tiny
@@ -106,6 +105,7 @@
 }
 
 
+\subsection{Leaf}
 \frame{ \frametitle{class Leaf}
 
   {\tiny
@@ -126,16 +126,6 @@
     \item 
   \end{itemize}
   \end{block}
-
-  \pause
-
-  \begin{block}{Fazit}
-    \begin{itemize}
-      \item 
-      \item 
-      \item 
-    \end{itemize}
-  \end{block}
 }