Browse Source

Added documentation

Thomas Buck 12 years ago
parent
commit
14d537b820

+ 97
- 0
Cube Control/AFrame.java View File

@@ -0,0 +1,97 @@
1
+/*
2
+ * AFrame.java
3
+ *
4
+ * Copyright 2011 Thomas Buck <xythobuz@me.com>
5
+ * Copyright 2011 Max Nuding <max.nuding@gmail.com>
6
+ * Copyright 2011 Felix Bäder <baeder.felix@gmail.com>
7
+ *
8
+ * This file is part of LED-Cube.
9
+ *
10
+ * LED-Cube is free software: you can redistribute it and/or modify
11
+ * it under the terms of the GNU General Public License as published by
12
+ * the Free Software Foundation, either version 3 of the License, or
13
+ * (at your option) any later version.
14
+ *
15
+ * LED-Cube is distributed in the hope that it will be useful,
16
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+ * GNU General Public License for more details.
19
+ *
20
+ * You should have received a copy of the GNU General Public License
21
+ * along with LED-Cube.  If not, see <http://www.gnu.org/licenses/>.
22
+ */
23
+
24
+import java.util.ArrayList;
25
+import java.util.Arrays;
26
+
27
+/**
28
+ * The representation of a single frame. Contains the data of all 512 LEDs in a given time.
29
+ * @author Thomas Buck
30
+ * @author Max Nuding
31
+ * @author Felix Bäder
32
+ * @version 1.0
33
+ */
34
+
35
+public class AFrame {
36
+  private short[] data = new short[64];
37
+  private short duration = 1;
38
+  private String name = "Frame";
39
+
40
+  /**
41
+   * Gets the Name of this Frame
42
+   * @return Name of the Frame
43
+   */
44
+  public String getName() {
45
+    return name;
46
+  }
47
+
48
+  /**
49
+   * Sets the Name of this Frame
50
+   * @param s New Name
51
+   */
52
+  public void setName(String s) {
53
+    name = s;
54
+  }
55
+
56
+  /**
57
+   * Sets the Data of this Frame
58
+   * @param d 64 bytes that contain data (8 bit per byte, so 8 LEDs)
59
+   */
60
+  public void setData(short[] d) {
61
+    data = d;
62
+  }
63
+
64
+  /**
65
+   * Gets tha Data of this Frame
66
+   * @return 64 bytes that contain data (8 bits / LEDs per byte)
67
+   */
68
+  public short[] getData() {
69
+    return data;
70
+  }
71
+
72
+  /**
73
+   * Sets the Duration of this Frame
74
+   * @param t Duration of frame in (( t * (1/24) ) + (1/24)) seconds
75
+   */
76
+  public void setTime(short t) {
77
+    duration = t;
78
+  }
79
+
80
+  /**
81
+   * Gets the Duration of this Frame
82
+   * @return Duration of frame.
83
+   * @see AFrame#setTime(short) setTime()
84
+   */
85
+  public short getTime() {
86
+    return duration;
87
+  }
88
+
89
+  /**
90
+   * Gets the Data of the Layer you want
91
+   * @param i Number of Layer you want
92
+   * @return 8 byte array with data of selected layer
93
+   */
94
+  public short[] getLayer(int i) {
95
+    return Arrays.copyOfRange(data, (i * 8), (i * 8) + 8);
96
+  }
97
+}

+ 131
- 0
Cube Control/Animation.java View File

@@ -0,0 +1,131 @@
1
+/*
2
+ * Animation.java
3
+ *
4
+ * Copyright 2011 Thomas Buck <xythobuz@me.com>
5
+ * Copyright 2011 Max Nuding <max.nuding@gmail.com>
6
+ * Copyright 2011 Felix Bäder <baeder.felix@gmail.com>
7
+ *
8
+ * This file is part of LED-Cube.
9
+ *
10
+ * LED-Cube is free software: you can redistribute it and/or modify
11
+ * it under the terms of the GNU General Public License as published by
12
+ * the Free Software Foundation, either version 3 of the License, or
13
+ * (at your option) any later version.
14
+ *
15
+ * LED-Cube is distributed in the hope that it will be useful,
16
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+ * GNU General Public License for more details.
19
+ *
20
+ * You should have received a copy of the GNU General Public License
21
+ * along with LED-Cube.  If not, see <http://www.gnu.org/licenses/>.
22
+ */
23
+
24
+import java.util.ArrayList;
25
+
26
+/**
27
+ * A collection of frames that represent an entire animation.
28
+ * @author Thomas Buck
29
+ * @author Max Nuding
30
+ * @author Felix Bäder
31
+ * @version 1.0
32
+ */
33
+
34
+public class Animation {
35
+  ArrayList<AFrame> frames = new ArrayList<AFrame>();
36
+  private int lastFrameIndex = 0;
37
+  private String name = "Animation";
38
+
39
+  /**
40
+   * Gets the name of this animation
41
+   * @return name of this animation
42
+   */
43
+  public String getName() {
44
+    return name;
45
+  }
46
+
47
+  /**
48
+   * Sets the name of this animation
49
+   * @param s new name
50
+   */
51
+  public void setName(String s) {
52
+    name = s;
53
+  }
54
+
55
+  /**
56
+   * Gets the specified frame in this animation
57
+   * @param i Index of frame you want
58
+   * @return The selected frame
59
+   */
60
+  public AFrame get(int i) {
61
+    try {
62
+      return frames.get(i);
63
+    } catch (IndexOutOfBoundsException e) {
64
+      System.out.println(e.toString());
65
+      return null;
66
+    }
67
+  }
68
+
69
+  /**
70
+   * Sets the selected Frame
71
+   * @param f the frame you want to place in this animation
72
+   * @param i Index of the frame you want to override
73
+   */
74
+  public void set(AFrame f, int i) {
75
+    if (lastFrameIndex <= i) {
76
+      try {
77
+        frames.set(i, f);
78
+      } catch (IndexOutOfBoundsException e) {
79
+        System.out.println(e.toString());
80
+      }
81
+    }
82
+  }
83
+
84
+  /**
85
+   * Removes a frame. Subsequent frames shift to the left.
86
+   * @param i Index of frame you want to remove
87
+   */
88
+  public void remove(int i) {
89
+    try {
90
+      frames.remove(i);
91
+    } catch (IndexOutOfBoundsException e) {
92
+      System.out.println(e.toString());
93
+    }
94
+  }
95
+
96
+  /**
97
+   * Add a new (empty) frame at the specified position
98
+   * @param i Index you want to place the new frame in
99
+   * @see Animation#size size()
100
+   */
101
+  public void add(int i) {
102
+    try {
103
+      frames.add(i, new AFrame());
104
+      lastFrameIndex++;
105
+    } catch (IndexOutOfBoundsException e)  {
106
+      System.out.println(e.toString());
107
+    }
108
+  }
109
+
110
+  /**
111
+   * Add a specified frame at the specified position
112
+   * @param i Index for new frame
113
+   * @param f data for new frame
114
+   */
115
+  public void add(int i, AFrame f) {
116
+    try {
117
+      frames.add(i, f);
118
+      lastFrameIndex++;
119
+    } catch (IndexOutOfBoundsException e)  {
120
+      System.out.println(e.toString());
121
+    }
122
+  }
123
+
124
+  /**
125
+   * Return size of this animation, in number of frames
126
+   * @return number of frames
127
+   */
128
+  public int size() {
129
+    return frames.size();
130
+  }
131
+}

+ 203
- 0
Cube Control/AnimationUtility.java View File

@@ -0,0 +1,203 @@
1
+/*
2
+ * AnimationUtility.java
3
+ *
4
+ * Copyright 2011 Thomas Buck <xythobuz@me.com>
5
+ * Copyright 2011 Max Nuding <max.nuding@gmail.com>
6
+ * Copyright 2011 Felix Bäder <baeder.felix@gmail.com>
7
+ *
8
+ * This file is part of LED-Cube.
9
+ *
10
+ * LED-Cube is free software: you can redistribute it and/or modify
11
+ * it under the terms of the GNU General Public License as published by
12
+ * the Free Software Foundation, either version 3 of the License, or
13
+ * (at your option) any later version.
14
+ *
15
+ * LED-Cube is distributed in the hope that it will be useful,
16
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+ * GNU General Public License for more details.
19
+ *
20
+ * You should have received a copy of the GNU General Public License
21
+ * along with LED-Cube.  If not, see <http://www.gnu.org/licenses/>.
22
+ */
23
+
24
+import java.io.FileWriter;
25
+import java.io.File;
26
+import java.util.Scanner;
27
+import java.io.IOException;
28
+import java.util.ArrayList;
29
+
30
+/**
31
+ * A helper class that loads animations from a file or saves them to one.
32
+ * @author Thomas Buck
33
+ * @author Max Nuding
34
+ * @author Felix Bäder
35
+ * @version 1.0
36
+ */
37
+
38
+public class AnimationUtility {
39
+  private static String lastError = null;
40
+
41
+  /**
42
+   * Read a file, return ArrayList with all animations in the file.
43
+   * @param path Path of file
44
+   * @return Populated ArrayList
45
+   * @throws Excpetion When something goes wrong with the Scanner...
46
+   */
47
+  public static ArrayList<Animation> readFile(String path) throws Exception {
48
+    Scanner sc = new Scanner(new File(path));
49
+  ArrayList<Animation> animations = new ArrayList<Animation>();
50
+
51
+  do {
52
+  Animation tmp = readAnimation(sc);
53
+  if (tmp == null) {
54
+    return animations;
55
+  }
56
+  if (sc.hasNextLine()) {
57
+    sc.nextLine();
58
+  }
59
+    animations.add(tmp);
60
+  } while (sc.hasNextLine());
61
+
62
+  return animations;
63
+  }
64
+
65
+  /**
66
+   * Write a file with all Animations of an ArrayList
67
+   * @param path Path to write to
68
+   * @param animations ArrayList with all animations to be saved
69
+   * @see AnimationUtility#getLastError() getLastError()
70
+   */
71
+  public static void writeFile(String path, ArrayList<Animation> animations) {
72
+    File f = new File(path);
73
+    if (f.exists()) {
74
+      try {
75
+        f.delete();
76
+      } catch (Exception e) {
77
+        lastError = e.toString();
78
+        return;
79
+      }
80
+    }
81
+    FileWriter output = null;
82
+    try {
83
+      output = new FileWriter(f);
84
+      for (int i = 0; i < animations.size(); i++) {
85
+        writeAnimation(animations.get(i), output, (i == (animations.size() - 1)));
86
+      }
87
+    } catch (Exception e) {
88
+      lastError = e.toString();
89
+      return;
90
+    } finally {
91
+      if (output != null) {
92
+        try {
93
+          output.close();
94
+        } catch (Exception e) {
95
+          lastError = e.toString();
96
+        }
97
+      }
98
+    }
99
+
100
+  }
101
+
102
+  /**
103
+   * Get the last error that occured while writing
104
+   * @return Text of the exception that occured
105
+   * @see AnimationUtility#writeFile(String, ArrayList) writeFile()
106
+   */
107
+  public static String getLastError() {
108
+    String tmp = lastError;
109
+    lastError = null;
110
+    return tmp;
111
+  }
112
+
113
+  private static Animation readAnimation(Scanner sc) {
114
+  Animation anim = new Animation();
115
+  AFrame f = null;
116
+  int index = 0;
117
+  String tmpSize = sc.nextLine().replaceAll("\\n", "");
118
+  if (tmpSize.equals("")) {
119
+    return null;
120
+  }
121
+  Integer tmpSizeAgain = new Integer(tmpSize);
122
+  int size = tmpSizeAgain.intValue();
123
+  anim.setName(sc.nextLine());
124
+  while (size > 0) {
125
+    f = readFrame(sc, index);
126
+    anim.add(index, f);
127
+    index++;
128
+    size--;
129
+  }
130
+  return anim;
131
+  }
132
+
133
+  private static AFrame readFrame(Scanner sc, int index) {
134
+  AFrame frame = new AFrame();
135
+  frame.setName(sc.nextLine());
136
+  short[] d = {};
137
+  for (int i = 0; i < 8; i++) {
138
+    short[] data = hexConvert(sc.nextLine());
139
+    d = concat(data, d);
140
+  }
141
+  frame.setData(d);
142
+  d = hexConvert(sc.nextLine());
143
+  frame.setTime(d[0]);
144
+  return frame;
145
+  }
146
+
147
+  private static short[] concat(short[] a, short[] b) {
148
+  short[] c = new short[a.length + b.length];
149
+  System.arraycopy(a, 0, c, 0, a.length);
150
+  System.arraycopy(b, 0, c, a.length, b.length);
151
+  return c;
152
+  }
153
+
154
+  private static short[] hexConvert(String hex) {
155
+    hex = hex.replaceAll("\\n", "");
156
+
157
+      short[] tmp = new short[hex.length()/2];
158
+      for (int i = 0; i < hex.length(); i=i+2){
159
+        char[] tmpString = new char[2];
160
+        tmpString[0] = hex.charAt(i);
161
+        tmpString[1] = hex.charAt(i+1);
162
+        String tmpS = String.copyValueOf(tmpString);
163
+        if(i == 0){
164
+          tmp[0] = Short.parseShort(tmpS, 16);
165
+        } else {
166
+          tmp[i/2] = Short.parseShort(tmpS, 16);
167
+        }
168
+
169
+      }
170
+      return tmp;
171
+
172
+
173
+  }
174
+
175
+  private static void writeAnimation(Animation anim, FileWriter f, boolean last) throws IOException {
176
+    f.write(anim.size() + "\n");
177
+  f.write(anim.getName() + "\n");
178
+    for (int i = 0; i < anim.size(); i++) {
179
+      writeFrame(anim.get(i), f);
180
+    }
181
+    if (!last) {
182
+    f.write("\n");
183
+  }
184
+  }
185
+
186
+  private static void writeFrame(AFrame fr, FileWriter f) throws IOException {
187
+    f.write(fr.getName() + "\n");
188
+  for (int i = 0; i < 8; i++) {
189
+      writeLayer(fr.getLayer(i), f);
190
+    }
191
+    f.write(Integer.toString( (fr.getTime() & 0xff) + 0x100, 16).substring(1) + "\n");
192
+  }
193
+
194
+  private static void writeLayer(short[] l, FileWriter f) throws IOException {
195
+    String hex = "";
196
+    for (int i = 0; i < l.length; i++) {
197
+      hex += Integer.toString( (l[i] & 0xff) + 0x100, 16).substring(1);
198
+    }
199
+    hex += "\n";
200
+
201
+    f.write(hex);
202
+  }
203
+}

+ 225
- 0
Cube Control/HelperUtility.java View File

@@ -0,0 +1,225 @@
1
+/*
2
+ * HelperUtility.java
3
+ *
4
+ * Copyright 2011 Thomas Buck <xythobuz@me.com>
5
+ * Copyright 2011 Max Nuding <max.nuding@gmail.com>
6
+ * Copyright 2011 Felix Bäder <baeder.felix@gmail.com>
7
+ *
8
+ * This file is part of LED-Cube.
9
+ *
10
+ * LED-Cube is free software: you can redistribute it and/or modify
11
+ * it under the terms of the GNU General Public License as published by
12
+ * the Free Software Foundation, either version 3 of the License, or
13
+ * (at your option) any later version.
14
+ *
15
+ * LED-Cube is distributed in the hope that it will be useful,
16
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+ * GNU General Public License for more details.
19
+ *
20
+ * You should have received a copy of the GNU General Public License
21
+ * along with LED-Cube.  If not, see <http://www.gnu.org/licenses/>.
22
+ */
23
+
24
+import java.io.File;
25
+import java.io.Closeable;
26
+import java.io.FileNotFoundException;
27
+import java.io.FileOutputStream;
28
+import java.io.IOException;
29
+import java.io.InputStream;
30
+import java.io.InputStreamReader;
31
+import java.io.OutputStream;
32
+import java.io.BufferedReader;
33
+import java.net.URI;
34
+import java.net.URISyntaxException;
35
+import java.net.URL;
36
+import java.security.CodeSource;
37
+import java.security.ProtectionDomain;
38
+import java.util.zip.ZipEntry;
39
+import java.util.zip.ZipException;
40
+import java.util.zip.ZipFile;
41
+import java.lang.Process;
42
+
43
+/**
44
+ * This helper class extracts the serialHelper from the JAR file, makes it executable and executes it with the given Command line arguments.
45
+ * @author Thomas Buck
46
+ * @author Max Nuding
47
+ * @author Felix Bäder
48
+ * @version 1.0
49
+ */
50
+
51
+public class HelperUtility {
52
+
53
+	/**
54
+	 * Run the serialHelper with the given arguments
55
+	 * @param args Command line arguments for serialHelper
56
+	 * @return Output of helper
57
+	 */
58
+	public static String runHelper(String[] args) {
59
+		String[] helperName = new String[args.length + 1];
60
+		boolean windows = false;
61
+		if ((System.getProperty("os.name").toLowerCase()).indexOf("win") >= 0) {
62
+			helperName[0] = "serialHelper.exe";
63
+			windows = true;
64
+		} else {
65
+			helperName[0] = "serialHelper";
66
+		}
67
+		for (int i = 0; i < args.length; i++) {
68
+			helperName[i + 1] = args[i];
69
+		}
70
+		String ret = "";
71
+		try {
72
+			File helper = new File(getFile(getJarURI(), helperName[0]));
73
+			helperName[0] = helper.getAbsolutePath();
74
+			if (!windows) {
75
+				Process execute = Runtime.getRuntime().exec("chmod a+x " + helper.getAbsolutePath());
76
+				execute.waitFor();
77
+				if (execute.exitValue() != 0) {
78
+					System.out.println("Could not set helper as executeable (" + execute.exitValue()+ ")");
79
+					return null;
80
+				}
81
+			}
82
+			Process p = Runtime.getRuntime().exec(helperName);
83
+			BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
84
+			String line;
85
+			boolean fin = false;
86
+			
87
+			do { // Wait for process to finish... Doesn't work...?
88
+				fin = false;
89
+				try {
90
+					p.waitFor();
91
+				} catch (Exception e) {
92
+					fin = true;
93
+				}
94
+
95
+				// Read output in same loop... Should work...!
96
+				line = br.readLine();
97
+				if (line != null) {
98
+					ret = ret + line + "\n";
99
+					fin = true;
100
+				}
101
+			} while (fin);
102
+
103
+			br.close();
104
+			if (ret.length() == 0) {
105
+				ret = "g"; // We have added a last \n... We will remove it, so add garbage to be removed...
106
+			}
107
+			ret = ret.substring(0, ret.length() - 1);
108
+			return ret;
109
+		} catch(Exception e) {
110
+			e.printStackTrace();
111
+		}
112
+
113
+		return null;
114
+	}
115
+
116
+	// From http://stackoverflow.com/questions/600146/run-exe-which-is-packaged-inside-jar
117
+	private static URI getJarURI()
118
+        throws URISyntaxException
119
+    {
120
+        final ProtectionDomain domain;
121
+        final CodeSource       source;
122
+        final URL              url;
123
+        final URI              uri;
124
+
125
+        domain = cubeWorker.class.getProtectionDomain();
126
+        source = domain.getCodeSource();
127
+        url    = source.getLocation();
128
+        uri    = url.toURI();
129
+
130
+        return (uri);
131
+    }
132
+
133
+    private static URI getFile(final URI    where,
134
+                               final String fileName)
135
+        throws ZipException,
136
+               IOException
137
+    {
138
+        final File location;
139
+        final URI  fileURI;
140
+
141
+        location = new File(where);
142
+
143
+        // not in a JAR, just return the path on disk
144
+        if(location.isDirectory())
145
+        {
146
+            fileURI = URI.create(where.toString() + fileName);
147
+        }
148
+        else
149
+        {
150
+            final ZipFile zipFile;
151
+
152
+            zipFile = new ZipFile(location);
153
+
154
+            try
155
+            {
156
+                fileURI = extract(zipFile, fileName);
157
+            }
158
+            finally
159
+            {
160
+                zipFile.close();
161
+            }
162
+        }
163
+
164
+        return (fileURI);
165
+    }
166
+
167
+    private static URI extract(final ZipFile zipFile,
168
+                               final String  fileName)
169
+        throws IOException
170
+    {
171
+        final File         tempFile;
172
+        final ZipEntry     entry;
173
+        final InputStream  zipStream;
174
+        OutputStream       fileStream;
175
+
176
+        tempFile = File.createTempFile(fileName, Long.toString(System.currentTimeMillis()));
177
+        tempFile.deleteOnExit();
178
+        entry    = zipFile.getEntry(fileName);
179
+
180
+        if(entry == null)
181
+        {
182
+            throw new FileNotFoundException("cannot find file: " + fileName + " in archive: " + zipFile.getName());
183
+        }
184
+
185
+        zipStream  = zipFile.getInputStream(entry);
186
+        fileStream = null;
187
+
188
+        try
189
+        {
190
+            final byte[] buf;
191
+            int          i;
192
+
193
+            fileStream = new FileOutputStream(tempFile);
194
+            buf        = new byte[1024];
195
+            i          = 0;
196
+
197
+            while((i = zipStream.read(buf)) != -1)
198
+            {
199
+                fileStream.write(buf, 0, i);
200
+            }
201
+        }
202
+        finally
203
+        {
204
+            close(zipStream);
205
+            close(fileStream);
206
+        }
207
+
208
+        return (tempFile.toURI());
209
+    }
210
+
211
+    private static void close(final Closeable stream)
212
+    {
213
+        if(stream != null)
214
+        {
215
+            try
216
+            {
217
+                stream.close();
218
+            }
219
+            catch(final IOException ex)
220
+            {
221
+                ex.printStackTrace();
222
+            }
223
+        }
224
+    }
225
+}

+ 192
- 0
Cube Control/Led3D.java View File

@@ -0,0 +1,192 @@
1
+/*
2
+* Led3D.java
3
+*
4
+*
5
+* Copyright 2011 Thomas Buck <xythobuz@me.com>
6
+* Copyright 2011 Max Nuding <max.nuding@gmail.com>
7
+* Copyright 2011 Felix Bäder <baeder.felix@gmail.com>
8
+*
9
+* This file is part of LED-Cube.
10
+*
11
+* LED-Cube is free software: you can redistribute it and/or modify
12
+* it under the terms of the GNU General Public License as published by
13
+* the Free Software Foundation, either version 3 of the License, or
14
+* (at your option) any later version.
15
+*
16
+* LED-Cube is distributed in the hope that it will be useful,
17
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+* GNU General Public License for more details.
20
+*
21
+* You should have received a copy of the GNU General Public License
22
+* along with LED-Cube. If not, see <http://www.gnu.org/licenses/>.
23
+*/
24
+
25
+import com.sun.j3d.utils.universe.*;
26
+import com.sun.j3d.utils.geometry.*;
27
+import javax.media.j3d.*;
28
+import javax.vecmath.*;
29
+import com.sun.j3d.utils.behaviors.mouse.*;
30
+
31
+/**
32
+ * This class is responsible for displaying the 3D View of our Cube.
33
+ * @author Thomas Buck
34
+ * @author Max Nuding
35
+ * @author Felix Bäder
36
+ * @version 1.0
37
+ */
38
+
39
+public class Led3D {
40
+	private Canvas3D canvas = null;
41
+	private SimpleUniverse universe = null;
42
+	private BranchGroup group = null;
43
+	private Transform3D trans3D = null;
44
+	private BranchGroup inBetween = null;
45
+	private TransformGroup transGroup = null;
46
+
47
+	private Sphere[][][] leds = new Sphere[8][8][8];
48
+	private static ColoringAttributes redColor = new ColoringAttributes(new Color3f(1.0f, 0.0f, 0.0f), ColoringAttributes.FASTEST);
49
+	private static ColoringAttributes whiteColor = new ColoringAttributes(new Color3f(1.0f, 1.0f, 1.0f), ColoringAttributes.FASTEST);
50
+	private static Material whiteMat = new Material(new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), 64.0f);
51
+	private static Material redMat = new Material(new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), 64.0f);
52
+
53
+	private Point3d eye = new Point3d(3.5, 3.5, -13.0);
54
+	private Point3d look = new Point3d(3.5, 3.5, 0.0);
55
+	private Vector3d lookVect = new Vector3d(1.0, 1.0, 1.0);
56
+
57
+  /**
58
+   * @param canv The Canvas3D we render our cube in
59
+   */
60
+  public Led3D(Canvas3D canv) {
61
+
62
+    canvas = canv;
63
+    group = new BranchGroup();
64
+    // Position viewer, so we are looking at object
65
+    trans3D = new Transform3D();
66
+    trans3D.lookAt(eye, look, lookVect);
67
+	trans3D.invert();
68
+	transGroup = new TransformGroup(trans3D);
69
+    transGroup = new TransformGroup();
70
+    ViewingPlatform viewingPlatform = new ViewingPlatform();
71
+    transGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
72
+    transGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
73
+    transGroup.setCapability(TransformGroup.ALLOW_CHILDREN_EXTEND);
74
+	transGroup.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
75
+	transGroup.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
76
+    Viewer viewer = new Viewer(canvas);
77
+    universe = new SimpleUniverse(viewingPlatform, viewer);
78
+    group.addChild(transGroup);
79
+    universe.getViewingPlatform().getViewPlatformTransform().setTransform(trans3D);
80
+    // universe.getViewingPlatform().setNominalViewingTransform();
81
+	universe.addBranchGraph(group); // Add group to universe
82
+
83
+    BoundingBox boundBox = new BoundingBox(new Point3d(-5.0, -5.0, -5.0), new Point3d(13.0, 13.0, 13.0));
84
+    // roration with left mouse button
85
+    MouseRotate behaviour = new MouseRotate(transGroup);
86
+    BranchGroup inBetween = new BranchGroup();
87
+    inBetween.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
88
+	inBetween.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
89
+	inBetween.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
90
+    inBetween.addChild(behaviour);
91
+    transGroup.addChild(inBetween);
92
+    behaviour.setSchedulingBounds(boundBox);
93
+
94
+    // zoom with middle mouse button
95
+    MouseZoom beh2 = new MouseZoom(transGroup);
96
+    BranchGroup brM2 = new BranchGroup();
97
+    brM2.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
98
+	brM2.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
99
+	brM2.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
100
+    brM2.addChild(beh2);
101
+    inBetween.addChild(brM2);
102
+    beh2.setSchedulingBounds(boundBox);
103
+
104
+    // move with right mouse button
105
+    MouseTranslate beh3 = new MouseTranslate(transGroup);
106
+    BranchGroup brM3 = new BranchGroup();
107
+    brM3.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
108
+	brM3.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
109
+	brM3.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
110
+    brM3.addChild(beh3);
111
+    inBetween.addChild(brM3);
112
+    beh3.setSchedulingBounds(boundBox);
113
+
114
+    // Add all our led sphares to the universe
115
+    for (int x = 0; x < 8; x++) {
116
+      for (int y = 0; y < 8; y++) {
117
+        for (int z = 0; z < 8; z++) {
118
+          leds[x][y][z] = new Sphere(0.05f);
119
+
120
+          Appearance a = new Appearance();
121
+          a.setMaterial(whiteMat);
122
+		  a.setColoringAttributes(whiteColor);
123
+          leds[x][y][z].setAppearance(a);
124
+		  leds[x][y][z].getShape().setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
125
+
126
+          TransformGroup tg = new TransformGroup();
127
+          tg.setCapability(TransformGroup.ALLOW_CHILDREN_EXTEND);
128
+		  tg.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
129
+		  tg.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
130
+          Transform3D transform = new Transform3D();
131
+          Vector3f vector = new Vector3f(x, y, z);
132
+          transform.setTranslation(vector);
133
+          tg.setTransform(transform);
134
+          tg.addChild(leds[x][y][z]);
135
+
136
+          BranchGroup allTheseGroupsScareMe = new BranchGroup();
137
+		  allTheseGroupsScareMe.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
138
+		  allTheseGroupsScareMe.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
139
+		  allTheseGroupsScareMe.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
140
+          allTheseGroupsScareMe.addChild(tg);
141
+          inBetween.addChild(allTheseGroupsScareMe);
142
+        }
143
+      }
144
+    }
145
+
146
+    // Add an ambient light
147
+    Color3f light2Color = new Color3f(1.0f, 1.0f, 1.0f);
148
+    AmbientLight light2 = new AmbientLight(light2Color);
149
+    BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0), 100.0);
150
+    light2.setInfluencingBounds(bounds);
151
+    BranchGroup fffuuuuu = new BranchGroup();
152
+    light2.setEnable(true);
153
+    fffuuuuu.addChild(light2);
154
+    inBetween.addChild(fffuuuuu);
155
+  }
156
+
157
+	/**
158
+	 * Prints the translation matrix that is changed by moving/rotating the 3D Cube with your mouse.
159
+	 */
160
+  	public void printTranslationData() {
161
+		Matrix4d mat = new Matrix4d();
162
+		Transform3D t = new Transform3D();
163
+		transGroup.getTransform(t);
164
+		t.get(mat);
165
+		String s = mat.toString();
166
+		System.out.println(s.replaceAll(", ", "\t"));
167
+	}
168
+
169
+	/**
170
+	 * Sets the data that is displayed by the LEDs
171
+	 * @param data 64 byte array with the data (8 bits/LEDs per byte)
172
+	 */
173
+	public void setData(short[] data) {
174
+		for (int y = 0; y < 8; y++) {
175
+			for (int z = 0; z < 8; z++) {
176
+				for (int x = 0; x < 8; x++) {
177
+					Appearance a = new Appearance();
178
+					if ((data[y + (z * 8)] & (1 << x)) != 0) {
179
+						// Activate led
180
+						a.setColoringAttributes(redColor);
181
+						a.setMaterial(redMat);
182
+					} else {
183
+						// Deactivate led
184
+						a.setColoringAttributes(whiteColor);
185
+						a.setMaterial(whiteMat);
186
+					}
187
+					leds[x][y][z].setAppearance(a);
188
+				}
189
+			}
190
+		}
191
+	}
192
+}

+ 1
- 441
Cube Control/cubeWorker.java View File

@@ -26,31 +26,9 @@
26 26
  * many animations, but has to be only 1Mbit in size (128*1024 Byte).
27 27
  */
28 28
 
29
+
29 30
 import java.util.ArrayList;
30
-import java.util.Arrays;
31
-import java.util.Scanner;
32 31
 import java.util.Collections;
33
-import java.io.FileWriter;
34
-import java.io.File;
35
-import java.io.IOException;
36
-import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
37
-import java.io.Closeable;
38
-import java.io.FileNotFoundException;
39
-import java.io.FileOutputStream;
40
-import java.io.IOException;
41
-import java.io.InputStream;
42
-import java.io.InputStreamReader;
43
-import java.io.OutputStream;
44
-import java.io.BufferedReader;
45
-import java.net.URI;
46
-import java.net.URISyntaxException;
47
-import java.net.URL;
48
-import java.security.CodeSource;
49
-import java.security.ProtectionDomain;
50
-import java.util.zip.ZipEntry;
51
-import java.util.zip.ZipException;
52
-import java.util.zip.ZipFile;
53
-import java.lang.Process;
54 32
 import java.util.StringTokenizer;
55 33
 
56 34
 public class cubeWorker {
@@ -306,421 +284,3 @@ public class cubeWorker {
306 284
 // --------------------
307 285
 
308 286
 }
309
-
310
-class HelperUtility {
311
-
312
-	public static String runHelper(String[] args) {
313
-		String[] helperName = new String[args.length + 1];
314
-		boolean windows = false;
315
-		if ((System.getProperty("os.name").toLowerCase()).indexOf("win") >= 0) {
316
-			helperName[0] = "serialHelper.exe";
317
-			windows = true;
318
-		} else {
319
-			helperName[0] = "serialHelper";
320
-		}
321
-		for (int i = 0; i < args.length; i++) {
322
-			helperName[i + 1] = args[i];
323
-		}
324
-		String ret = "";
325
-		try {
326
-			File helper = new File(getFile(getJarURI(), helperName[0]));
327
-			helperName[0] = helper.getAbsolutePath();
328
-			if (!windows) {
329
-				Process execute = Runtime.getRuntime().exec("chmod a+x " + helper.getAbsolutePath());
330
-				execute.waitFor();
331
-				if (execute.exitValue() != 0) {
332
-					System.out.println("Could not set helper as executeable (" + execute.exitValue()+ ")");
333
-					return null;
334
-				}
335
-			}
336
-			Process p = Runtime.getRuntime().exec(helperName);
337
-			BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
338
-			String line;
339
-			boolean fin = false;
340
-			
341
-			do { // Wait for process to finish... Doesn't work...?
342
-				fin = false;
343
-				try {
344
-					p.waitFor();
345
-				} catch (Exception e) {
346
-					fin = true;
347
-				}
348
-
349
-				// Read output in same loop... Should work...!
350
-				line = br.readLine();
351
-				if (line != null) {
352
-					ret = ret + line + "\n";
353
-					fin = true;
354
-				}
355
-			} while (fin);
356
-
357
-			br.close();
358
-			if (ret.length() == 0) {
359
-				ret = "g"; // We have added a last \n... We will remove it, so add garbage to be removed...
360
-			}
361
-			ret = ret.substring(0, ret.length() - 1);
362
-			return ret;
363
-		} catch(Exception e) {
364
-			e.printStackTrace();
365
-		}
366
-
367
-		return null;
368
-	}
369
-
370
-	// From http://stackoverflow.com/questions/600146/run-exe-which-is-packaged-inside-jar
371
-	private static URI getJarURI()
372
-        throws URISyntaxException
373
-    {
374
-        final ProtectionDomain domain;
375
-        final CodeSource       source;
376
-        final URL              url;
377
-        final URI              uri;
378
-
379
-        domain = cubeWorker.class.getProtectionDomain();
380
-        source = domain.getCodeSource();
381
-        url    = source.getLocation();
382
-        uri    = url.toURI();
383
-
384
-        return (uri);
385
-    }
386
-
387
-    private static URI getFile(final URI    where,
388
-                               final String fileName)
389
-        throws ZipException,
390
-               IOException
391
-    {
392
-        final File location;
393
-        final URI  fileURI;
394
-
395
-        location = new File(where);
396
-
397
-        // not in a JAR, just return the path on disk
398
-        if(location.isDirectory())
399
-        {
400
-            fileURI = URI.create(where.toString() + fileName);
401
-        }
402
-        else
403
-        {
404
-            final ZipFile zipFile;
405
-
406
-            zipFile = new ZipFile(location);
407
-
408
-            try
409
-            {
410
-                fileURI = extract(zipFile, fileName);
411
-            }
412
-            finally
413
-            {
414
-                zipFile.close();
415
-            }
416
-        }
417
-
418
-        return (fileURI);
419
-    }
420
-
421
-    private static URI extract(final ZipFile zipFile,
422
-                               final String  fileName)
423
-        throws IOException
424
-    {
425
-        final File         tempFile;
426
-        final ZipEntry     entry;
427
-        final InputStream  zipStream;
428
-        OutputStream       fileStream;
429
-
430
-        tempFile = File.createTempFile(fileName, Long.toString(System.currentTimeMillis()));
431
-        tempFile.deleteOnExit();
432
-        entry    = zipFile.getEntry(fileName);
433
-
434
-        if(entry == null)
435
-        {
436
-            throw new FileNotFoundException("cannot find file: " + fileName + " in archive: " + zipFile.getName());
437
-        }
438
-
439
-        zipStream  = zipFile.getInputStream(entry);
440
-        fileStream = null;
441
-
442
-        try
443
-        {
444
-            final byte[] buf;
445
-            int          i;
446
-
447
-            fileStream = new FileOutputStream(tempFile);
448
-            buf        = new byte[1024];
449
-            i          = 0;
450
-
451
-            while((i = zipStream.read(buf)) != -1)
452
-            {
453
-                fileStream.write(buf, 0, i);
454
-            }
455
-        }
456
-        finally
457
-        {
458
-            close(zipStream);
459
-            close(fileStream);
460
-        }
461
-
462
-        return (tempFile.toURI());
463
-    }
464
-
465
-    private static void close(final Closeable stream)
466
-    {
467
-        if(stream != null)
468
-        {
469
-            try
470
-            {
471
-                stream.close();
472
-            }
473
-            catch(final IOException ex)
474
-            {
475
-                ex.printStackTrace();
476
-            }
477
-        }
478
-    }
479
-}
480
-
481
-class AnimationUtility {
482
-  private static String lastError = null;
483
-
484
-  public static ArrayList<Animation> readFile(String path) throws Exception {
485
-    Scanner sc = new Scanner(new File(path));
486
-  ArrayList<Animation> animations = new ArrayList<Animation>();
487
-
488
-  do {
489
-  Animation tmp = readAnimation(sc);
490
-  if (tmp == null) {
491
-    return animations;
492
-  }
493
-  if (sc.hasNextLine()) {
494
-    sc.nextLine();
495
-  }
496
-    animations.add(tmp);
497
-  } while (sc.hasNextLine());
498
-
499
-  return animations;
500
-  }
501
-
502
-  public static void writeFile(String path, ArrayList<Animation> animations) {
503
-    File f = new File(path);
504
-    if (f.exists()) {
505
-      try {
506
-        f.delete();
507
-      } catch (Exception e) {
508
-        lastError = e.toString();
509
-        return;
510
-      }
511
-    }
512
-    FileWriter output = null;
513
-    try {
514
-      output = new FileWriter(f);
515
-      for (int i = 0; i < animations.size(); i++) {
516
-        writeAnimation(animations.get(i), output, (i == (animations.size() - 1)));
517
-      }
518
-    } catch (Exception e) {
519
-      lastError = e.toString();
520
-      return;
521
-    } finally {
522
-      if (output != null) {
523
-        try {
524
-          output.close();
525
-        } catch (Exception e) {
526
-          lastError = e.toString();
527
-        }
528
-      }
529
-    }
530
-
531
-  }
532
-
533
-  public static String getLastError() {
534
-    String tmp = lastError;
535
-    lastError = null;
536
-    return tmp;
537
-  }
538
-
539
-  private static Animation readAnimation(Scanner sc) {
540
-  Animation anim = new Animation();
541
-  AFrame f = null;
542
-  int index = 0;
543
-  String tmpSize = sc.nextLine().replaceAll("\\n", "");
544
-  if (tmpSize.equals("")) {
545
-    return null;
546
-  }
547
-  Integer tmpSizeAgain = new Integer(tmpSize);
548
-  int size = tmpSizeAgain.intValue();
549
-  anim.setName(sc.nextLine());
550
-  while (size > 0) {
551
-    f = readFrame(sc, index);
552
-    anim.add(index, f);
553
-    index++;
554
-    size--;
555
-  }
556
-  return anim;
557
-  }
558
-
559
-  private static AFrame readFrame(Scanner sc, int index) {
560
-  AFrame frame = new AFrame();
561
-  frame.setName(sc.nextLine());
562
-  short[] d = {};
563
-  for (int i = 0; i < 8; i++) {
564
-    short[] data = hexConvert(sc.nextLine());
565
-    d = concat(data, d);
566
-  }
567
-  frame.setData(d);
568
-  d = hexConvert(sc.nextLine());
569
-  frame.setTime(d[0]);
570
-  return frame;
571
-  }
572
-
573
-  private static short[] concat(short[] a, short[] b) {
574
-  short[] c = new short[a.length + b.length];
575
-  System.arraycopy(a, 0, c, 0, a.length);
576
-  System.arraycopy(b, 0, c, a.length, b.length);
577
-  return c;
578
-  }
579
-
580
-  private static short[] hexConvert(String hex) {
581
-    hex = hex.replaceAll("\\n", "");
582
-
583
-      short[] tmp = new short[hex.length()/2];
584
-      for (int i = 0; i < hex.length(); i=i+2){
585
-        char[] tmpString = new char[2];
586
-        tmpString[0] = hex.charAt(i);
587
-        tmpString[1] = hex.charAt(i+1);
588
-        String tmpS = String.copyValueOf(tmpString);
589
-        if(i == 0){
590
-          tmp[0] = Short.parseShort(tmpS, 16);
591
-        } else {
592
-          tmp[i/2] = Short.parseShort(tmpS, 16);
593
-        }
594
-
595
-      }
596
-      return tmp;
597
-
598
-
599
-  }
600
-
601
-  private static void writeAnimation(Animation anim, FileWriter f, boolean last) throws IOException {
602
-    f.write(anim.size() + "\n");
603
-  f.write(anim.getName() + "\n");
604
-    for (int i = 0; i < anim.size(); i++) {
605
-      writeFrame(anim.get(i), f);
606
-    }
607
-    if (!last) {
608
-    f.write("\n");
609
-  }
610
-  }
611
-
612
-  private static void writeFrame(AFrame fr, FileWriter f) throws IOException {
613
-    f.write(fr.getName() + "\n");
614
-  for (int i = 0; i < 8; i++) {
615
-      writeLayer(fr.getLayer(i), f);
616
-    }
617
-    f.write(Integer.toString( (fr.getTime() & 0xff) + 0x100, 16).substring(1) + "\n");
618
-  }
619
-
620
-  private static void writeLayer(short[] l, FileWriter f) throws IOException {
621
-    String hex = "";
622
-    for (int i = 0; i < l.length; i++) {
623
-      hex += Integer.toString( (l[i] & 0xff) + 0x100, 16).substring(1);
624
-    }
625
-    hex += "\n";
626
-
627
-    f.write(hex);
628
-  }
629
-}
630
-
631
-class AFrame {
632
-  private short[] data = new short[64];
633
-  private short duration = 1;
634
-  private String name = "Frame";
635
-
636
-  String getName() {
637
-    return name;
638
-  }
639
-
640
-  void setName(String s) {
641
-    name = s;
642
-  }
643
-
644
-  void setData(short[] d) {
645
-    data = d;
646
-  }
647
-
648
-  short[] getData() {
649
-    return data;
650
-  }
651
-
652
-  void setTime(short t) {
653
-    duration = t;
654
-  }
655
-
656
-  short getTime() {
657
-    return duration;
658
-  }
659
-
660
-  short[] getLayer(int i) {
661
-    return Arrays.copyOfRange(data, (i * 8), (i * 8) + 8);
662
-  }
663
-}
664
-
665
-class Animation {
666
-  ArrayList<AFrame> frames = new ArrayList<AFrame>();
667
-  private int lastFrameIndex = 0;
668
-  private String name = "Animation";
669
-
670
-  String getName() {
671
-    return name;
672
-  }
673
-
674
-  void setName(String s) {
675
-    name = s;
676
-  }
677
-
678
-  AFrame get(int i) {
679
-    try {
680
-      return frames.get(i);
681
-    } catch (IndexOutOfBoundsException e) {
682
-      System.out.println(e.toString());
683
-      return null;
684
-    }
685
-  }
686
-
687
-  void set(AFrame f, int i) {
688
-    if (lastFrameIndex <= i) {
689
-      try {
690
-        frames.set(i, f);
691
-      } catch (IndexOutOfBoundsException e) {
692
-        System.out.println(e.toString());
693
-      }
694
-    }
695
-  }
696
-
697
-  void remove(int i) {
698
-    try {
699
-      frames.remove(i);
700
-    } catch (IndexOutOfBoundsException e) {
701
-      System.out.println(e.toString());
702
-    }
703
-  }
704
-
705
-  void add(int i) {
706
-    try {
707
-      frames.add(i, new AFrame());
708
-      lastFrameIndex++;
709
-    } catch (IndexOutOfBoundsException e)  {
710
-      System.out.println(e.toString());
711
-    }
712
-  }
713
-
714
-  void add(int i, AFrame f) {
715
-    try {
716
-      frames.add(i, f);
717
-      lastFrameIndex++;
718
-    } catch (IndexOutOfBoundsException e)  {
719
-      System.out.println(e.toString());
720
-    }
721
-  }
722
-
723
-  int size() {
724
-    return frames.size();
725
-  }
726
-}

+ 381
- 0
Cube Control/doc/AFrame.html View File

@@ -0,0 +1,381 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:10 CET 2011 -->
6
+<TITLE>
7
+AFrame
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="AFrame";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;PREV CLASS&nbsp;
57
+&nbsp;<A HREF="Animation.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?AFrame.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="AFrame.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+<TR>
76
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80
+</TR>
81
+</TABLE>
82
+<A NAME="skip-navbar_top"></A>
83
+<!-- ========= END OF TOP NAVBAR ========= -->
84
+
85
+<HR>
86
+<!-- ======== START OF CLASS DATA ======== -->
87
+<H2>
88
+Class AFrame</H2>
89
+<PRE>
90
+java.lang.Object
91
+  <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>AFrame</B>
92
+</PRE>
93
+<HR>
94
+<DL>
95
+<DT><PRE>public class <B>AFrame</B><DT>extends java.lang.Object</DL>
96
+</PRE>
97
+
98
+<P>
99
+The representation of a single frame. Contains the data of all 512 LEDs in a given time.
100
+<P>
101
+
102
+<P>
103
+<HR>
104
+
105
+<P>
106
+
107
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
108
+
109
+<A NAME="constructor_summary"><!-- --></A>
110
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113
+<B>Constructor Summary</B></FONT></TH>
114
+</TR>
115
+<TR BGCOLOR="white" CLASS="TableRowColor">
116
+<TD><CODE><B><A HREF="AFrame.html#AFrame()">AFrame</A></B>()</CODE>
117
+
118
+<BR>
119
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
120
+</TR>
121
+</TABLE>
122
+&nbsp;
123
+<!-- ========== METHOD SUMMARY =========== -->
124
+
125
+<A NAME="method_summary"><!-- --></A>
126
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129
+<B>Method Summary</B></FONT></TH>
130
+</TR>
131
+<TR BGCOLOR="white" CLASS="TableRowColor">
132
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133
+<CODE>&nbsp;short[]</CODE></FONT></TD>
134
+<TD><CODE><B><A HREF="AFrame.html#getData()">getData</A></B>()</CODE>
135
+
136
+<BR>
137
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets tha Data of this Frame</TD>
138
+</TR>
139
+<TR BGCOLOR="white" CLASS="TableRowColor">
140
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141
+<CODE>&nbsp;short[]</CODE></FONT></TD>
142
+<TD><CODE><B><A HREF="AFrame.html#getLayer(int)">getLayer</A></B>(int&nbsp;i)</CODE>
143
+
144
+<BR>
145
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the Data of the Layer you want</TD>
146
+</TR>
147
+<TR BGCOLOR="white" CLASS="TableRowColor">
148
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
150
+<TD><CODE><B><A HREF="AFrame.html#getName()">getName</A></B>()</CODE>
151
+
152
+<BR>
153
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the Name of this Frame</TD>
154
+</TR>
155
+<TR BGCOLOR="white" CLASS="TableRowColor">
156
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
+<CODE>&nbsp;short</CODE></FONT></TD>
158
+<TD><CODE><B><A HREF="AFrame.html#getTime()">getTime</A></B>()</CODE>
159
+
160
+<BR>
161
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the Duration of this Frame</TD>
162
+</TR>
163
+<TR BGCOLOR="white" CLASS="TableRowColor">
164
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165
+<CODE>&nbsp;void</CODE></FONT></TD>
166
+<TD><CODE><B><A HREF="AFrame.html#setData(short[])">setData</A></B>(short[]&nbsp;d)</CODE>
167
+
168
+<BR>
169
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the Data of this Frame</TD>
170
+</TR>
171
+<TR BGCOLOR="white" CLASS="TableRowColor">
172
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173
+<CODE>&nbsp;void</CODE></FONT></TD>
174
+<TD><CODE><B><A HREF="AFrame.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;s)</CODE>
175
+
176
+<BR>
177
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the Name of this Frame</TD>
178
+</TR>
179
+<TR BGCOLOR="white" CLASS="TableRowColor">
180
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181
+<CODE>&nbsp;void</CODE></FONT></TD>
182
+<TD><CODE><B><A HREF="AFrame.html#setTime(short)">setTime</A></B>(short&nbsp;t)</CODE>
183
+
184
+<BR>
185
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the Duration of this Frame</TD>
186
+</TR>
187
+</TABLE>
188
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
189
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
190
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
191
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
192
+</TR>
193
+<TR BGCOLOR="white" CLASS="TableRowColor">
194
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
195
+</TR>
196
+</TABLE>
197
+&nbsp;
198
+<P>
199
+
200
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
201
+
202
+<A NAME="constructor_detail"><!-- --></A>
203
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
204
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
205
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
206
+<B>Constructor Detail</B></FONT></TH>
207
+</TR>
208
+</TABLE>
209
+
210
+<A NAME="AFrame()"><!-- --></A><H3>
211
+AFrame</H3>
212
+<PRE>
213
+public <B>AFrame</B>()</PRE>
214
+<DL>
215
+</DL>
216
+
217
+<!-- ============ METHOD DETAIL ========== -->
218
+
219
+<A NAME="method_detail"><!-- --></A>
220
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
221
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
222
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
223
+<B>Method Detail</B></FONT></TH>
224
+</TR>
225
+</TABLE>
226
+
227
+<A NAME="getName()"><!-- --></A><H3>
228
+getName</H3>
229
+<PRE>
230
+public java.lang.String <B>getName</B>()</PRE>
231
+<DL>
232
+<DD>Gets the Name of this Frame
233
+<P>
234
+<DD><DL>
235
+
236
+<DT><B>Returns:</B><DD>Name of the Frame</DL>
237
+</DD>
238
+</DL>
239
+<HR>
240
+
241
+<A NAME="setName(java.lang.String)"><!-- --></A><H3>
242
+setName</H3>
243
+<PRE>
244
+public void <B>setName</B>(java.lang.String&nbsp;s)</PRE>
245
+<DL>
246
+<DD>Sets the Name of this Frame
247
+<P>
248
+<DD><DL>
249
+<DT><B>Parameters:</B><DD><CODE>s</CODE> - New Name</DL>
250
+</DD>
251
+</DL>
252
+<HR>
253
+
254
+<A NAME="setData(short[])"><!-- --></A><H3>
255
+setData</H3>
256
+<PRE>
257
+public void <B>setData</B>(short[]&nbsp;d)</PRE>
258
+<DL>
259
+<DD>Sets the Data of this Frame
260
+<P>
261
+<DD><DL>
262
+<DT><B>Parameters:</B><DD><CODE>d</CODE> - 64 bytes that contain data (8 bit per byte, so 8 LEDs)</DL>
263
+</DD>
264
+</DL>
265
+<HR>
266
+
267
+<A NAME="getData()"><!-- --></A><H3>
268
+getData</H3>
269
+<PRE>
270
+public short[] <B>getData</B>()</PRE>
271
+<DL>
272
+<DD>Gets tha Data of this Frame
273
+<P>
274
+<DD><DL>
275
+
276
+<DT><B>Returns:</B><DD>64 bytes that contain data (8 bits / LEDs per byte)</DL>
277
+</DD>
278
+</DL>
279
+<HR>
280
+
281
+<A NAME="setTime(short)"><!-- --></A><H3>
282
+setTime</H3>
283
+<PRE>
284
+public void <B>setTime</B>(short&nbsp;t)</PRE>
285
+<DL>
286
+<DD>Sets the Duration of this Frame
287
+<P>
288
+<DD><DL>
289
+<DT><B>Parameters:</B><DD><CODE>t</CODE> - Duration of frame in (( t * (1/24) ) + (1/24)) seconds</DL>
290
+</DD>
291
+</DL>
292
+<HR>
293
+
294
+<A NAME="getTime()"><!-- --></A><H3>
295
+getTime</H3>
296
+<PRE>
297
+public short <B>getTime</B>()</PRE>
298
+<DL>
299
+<DD>Gets the Duration of this Frame
300
+<P>
301
+<DD><DL>
302
+
303
+<DT><B>Returns:</B><DD>Duration of frame.<DT><B>See Also:</B><DD><A HREF="AFrame.html#setTime(short)"><CODE>setTime()</CODE></A></DL>
304
+</DD>
305
+</DL>
306
+<HR>
307
+
308
+<A NAME="getLayer(int)"><!-- --></A><H3>
309
+getLayer</H3>
310
+<PRE>
311
+public short[] <B>getLayer</B>(int&nbsp;i)</PRE>
312
+<DL>
313
+<DD>Gets the Data of the Layer you want
314
+<P>
315
+<DD><DL>
316
+<DT><B>Parameters:</B><DD><CODE>i</CODE> - Number of Layer you want
317
+<DT><B>Returns:</B><DD>8 byte array with data of selected layer</DL>
318
+</DD>
319
+</DL>
320
+<!-- ========= END OF CLASS DATA ========= -->
321
+<HR>
322
+
323
+
324
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
325
+<A NAME="navbar_bottom"><!-- --></A>
326
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
327
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
328
+<TR>
329
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
330
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
331
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
332
+  <TR ALIGN="center" VALIGN="top">
333
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
334
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
335
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
336
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
337
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
338
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
339
+  </TR>
340
+</TABLE>
341
+</TD>
342
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
343
+</EM>
344
+</TD>
345
+</TR>
346
+
347
+<TR>
348
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
349
+&nbsp;PREV CLASS&nbsp;
350
+&nbsp;<A HREF="Animation.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
351
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
352
+  <A HREF="index.html?AFrame.html" target="_top"><B>FRAMES</B></A>  &nbsp;
353
+&nbsp;<A HREF="AFrame.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
354
+&nbsp;<SCRIPT type="text/javascript">
355
+  <!--
356
+  if(window==top) {
357
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
358
+  }
359
+  //-->
360
+</SCRIPT>
361
+<NOSCRIPT>
362
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
363
+</NOSCRIPT>
364
+
365
+
366
+</FONT></TD>
367
+</TR>
368
+<TR>
369
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
370
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
371
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
372
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
373
+</TR>
374
+</TABLE>
375
+<A NAME="skip-navbar_bottom"></A>
376
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
377
+
378
+<HR>
379
+
380
+</BODY>
381
+</HTML>

+ 405
- 0
Cube Control/doc/Animation.html View File

@@ -0,0 +1,405 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:10 CET 2011 -->
6
+<TITLE>
7
+Animation
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="Animation";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;<A HREF="AFrame.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
57
+&nbsp;<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?Animation.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="Animation.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+<TR>
76
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80
+</TR>
81
+</TABLE>
82
+<A NAME="skip-navbar_top"></A>
83
+<!-- ========= END OF TOP NAVBAR ========= -->
84
+
85
+<HR>
86
+<!-- ======== START OF CLASS DATA ======== -->
87
+<H2>
88
+Class Animation</H2>
89
+<PRE>
90
+java.lang.Object
91
+  <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>Animation</B>
92
+</PRE>
93
+<HR>
94
+<DL>
95
+<DT><PRE>public class <B>Animation</B><DT>extends java.lang.Object</DL>
96
+</PRE>
97
+
98
+<P>
99
+A collection of frames that represent an entire animation.
100
+<P>
101
+
102
+<P>
103
+<HR>
104
+
105
+<P>
106
+
107
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
108
+
109
+<A NAME="constructor_summary"><!-- --></A>
110
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113
+<B>Constructor Summary</B></FONT></TH>
114
+</TR>
115
+<TR BGCOLOR="white" CLASS="TableRowColor">
116
+<TD><CODE><B><A HREF="Animation.html#Animation()">Animation</A></B>()</CODE>
117
+
118
+<BR>
119
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
120
+</TR>
121
+</TABLE>
122
+&nbsp;
123
+<!-- ========== METHOD SUMMARY =========== -->
124
+
125
+<A NAME="method_summary"><!-- --></A>
126
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129
+<B>Method Summary</B></FONT></TH>
130
+</TR>
131
+<TR BGCOLOR="white" CLASS="TableRowColor">
132
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133
+<CODE>&nbsp;void</CODE></FONT></TD>
134
+<TD><CODE><B><A HREF="Animation.html#add(int)">add</A></B>(int&nbsp;i)</CODE>
135
+
136
+<BR>
137
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a new (empty) frame at the specified position</TD>
138
+</TR>
139
+<TR BGCOLOR="white" CLASS="TableRowColor">
140
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141
+<CODE>&nbsp;void</CODE></FONT></TD>
142
+<TD><CODE><B><A HREF="Animation.html#add(int, AFrame)">add</A></B>(int&nbsp;i,
143
+    <A HREF="AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>&nbsp;f)</CODE>
144
+
145
+<BR>
146
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a specified frame at the specified position</TD>
147
+</TR>
148
+<TR BGCOLOR="white" CLASS="TableRowColor">
149
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150
+<CODE>&nbsp;<A HREF="AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A></CODE></FONT></TD>
151
+<TD><CODE><B><A HREF="Animation.html#get(int)">get</A></B>(int&nbsp;i)</CODE>
152
+
153
+<BR>
154
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the specified frame in this animation</TD>
155
+</TR>
156
+<TR BGCOLOR="white" CLASS="TableRowColor">
157
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
159
+<TD><CODE><B><A HREF="Animation.html#getName()">getName</A></B>()</CODE>
160
+
161
+<BR>
162
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the name of this animation</TD>
163
+</TR>
164
+<TR BGCOLOR="white" CLASS="TableRowColor">
165
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166
+<CODE>&nbsp;void</CODE></FONT></TD>
167
+<TD><CODE><B><A HREF="Animation.html#remove(int)">remove</A></B>(int&nbsp;i)</CODE>
168
+
169
+<BR>
170
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a frame.</TD>
171
+</TR>
172
+<TR BGCOLOR="white" CLASS="TableRowColor">
173
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174
+<CODE>&nbsp;void</CODE></FONT></TD>
175
+<TD><CODE><B><A HREF="Animation.html#set(AFrame, int)">set</A></B>(<A HREF="AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>&nbsp;f,
176
+    int&nbsp;i)</CODE>
177
+
178
+<BR>
179
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the selected Frame</TD>
180
+</TR>
181
+<TR BGCOLOR="white" CLASS="TableRowColor">
182
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183
+<CODE>&nbsp;void</CODE></FONT></TD>
184
+<TD><CODE><B><A HREF="Animation.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;s)</CODE>
185
+
186
+<BR>
187
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of this animation</TD>
188
+</TR>
189
+<TR BGCOLOR="white" CLASS="TableRowColor">
190
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191
+<CODE>&nbsp;int</CODE></FONT></TD>
192
+<TD><CODE><B><A HREF="Animation.html#size()">size</A></B>()</CODE>
193
+
194
+<BR>
195
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return size of this animation, in number of frames</TD>
196
+</TR>
197
+</TABLE>
198
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
199
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
200
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
201
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
202
+</TR>
203
+<TR BGCOLOR="white" CLASS="TableRowColor">
204
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
205
+</TR>
206
+</TABLE>
207
+&nbsp;
208
+<P>
209
+
210
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
211
+
212
+<A NAME="constructor_detail"><!-- --></A>
213
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
214
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
215
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
216
+<B>Constructor Detail</B></FONT></TH>
217
+</TR>
218
+</TABLE>
219
+
220
+<A NAME="Animation()"><!-- --></A><H3>
221
+Animation</H3>
222
+<PRE>
223
+public <B>Animation</B>()</PRE>
224
+<DL>
225
+</DL>
226
+
227
+<!-- ============ METHOD DETAIL ========== -->
228
+
229
+<A NAME="method_detail"><!-- --></A>
230
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
231
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
232
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
233
+<B>Method Detail</B></FONT></TH>
234
+</TR>
235
+</TABLE>
236
+
237
+<A NAME="getName()"><!-- --></A><H3>
238
+getName</H3>
239
+<PRE>
240
+public java.lang.String <B>getName</B>()</PRE>
241
+<DL>
242
+<DD>Gets the name of this animation
243
+<P>
244
+<DD><DL>
245
+
246
+<DT><B>Returns:</B><DD>name of this animation</DL>
247
+</DD>
248
+</DL>
249
+<HR>
250
+
251
+<A NAME="setName(java.lang.String)"><!-- --></A><H3>
252
+setName</H3>
253
+<PRE>
254
+public void <B>setName</B>(java.lang.String&nbsp;s)</PRE>
255
+<DL>
256
+<DD>Sets the name of this animation
257
+<P>
258
+<DD><DL>
259
+<DT><B>Parameters:</B><DD><CODE>s</CODE> - new name</DL>
260
+</DD>
261
+</DL>
262
+<HR>
263
+
264
+<A NAME="get(int)"><!-- --></A><H3>
265
+get</H3>
266
+<PRE>
267
+public <A HREF="AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A> <B>get</B>(int&nbsp;i)</PRE>
268
+<DL>
269
+<DD>Gets the specified frame in this animation
270
+<P>
271
+<DD><DL>
272
+<DT><B>Parameters:</B><DD><CODE>i</CODE> - Index of frame you want
273
+<DT><B>Returns:</B><DD>The selected frame</DL>
274
+</DD>
275
+</DL>
276
+<HR>
277
+
278
+<A NAME="set(AFrame, int)"><!-- --></A><H3>
279
+set</H3>
280
+<PRE>
281
+public void <B>set</B>(<A HREF="AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>&nbsp;f,
282
+                int&nbsp;i)</PRE>
283
+<DL>
284
+<DD>Sets the selected Frame
285
+<P>
286
+<DD><DL>
287
+<DT><B>Parameters:</B><DD><CODE>f</CODE> - the frame you want to place in this animation<DD><CODE>i</CODE> - Index of the frame you want to override</DL>
288
+</DD>
289
+</DL>
290
+<HR>
291
+
292
+<A NAME="remove(int)"><!-- --></A><H3>
293
+remove</H3>
294
+<PRE>
295
+public void <B>remove</B>(int&nbsp;i)</PRE>
296
+<DL>
297
+<DD>Removes a frame. Subsequent frames shift to the left.
298
+<P>
299
+<DD><DL>
300
+<DT><B>Parameters:</B><DD><CODE>i</CODE> - Index of frame you want to remove</DL>
301
+</DD>
302
+</DL>
303
+<HR>
304
+
305
+<A NAME="add(int)"><!-- --></A><H3>
306
+add</H3>
307
+<PRE>
308
+public void <B>add</B>(int&nbsp;i)</PRE>
309
+<DL>
310
+<DD>Add a new (empty) frame at the specified position
311
+<P>
312
+<DD><DL>
313
+<DT><B>Parameters:</B><DD><CODE>i</CODE> - Index you want to place the new frame in<DT><B>See Also:</B><DD><A HREF="Animation.html#size()"><CODE>size()</CODE></A></DL>
314
+</DD>
315
+</DL>
316
+<HR>
317
+
318
+<A NAME="add(int, AFrame)"><!-- --></A><H3>
319
+add</H3>
320
+<PRE>
321
+public void <B>add</B>(int&nbsp;i,
322
+                <A HREF="AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>&nbsp;f)</PRE>
323
+<DL>
324
+<DD>Add a specified frame at the specified position
325
+<P>
326
+<DD><DL>
327
+<DT><B>Parameters:</B><DD><CODE>i</CODE> - Index for new frame<DD><CODE>f</CODE> - data for new frame</DL>
328
+</DD>
329
+</DL>
330
+<HR>
331
+
332
+<A NAME="size()"><!-- --></A><H3>
333
+size</H3>
334
+<PRE>
335
+public int <B>size</B>()</PRE>
336
+<DL>
337
+<DD>Return size of this animation, in number of frames
338
+<P>
339
+<DD><DL>
340
+
341
+<DT><B>Returns:</B><DD>number of frames</DL>
342
+</DD>
343
+</DL>
344
+<!-- ========= END OF CLASS DATA ========= -->
345
+<HR>
346
+
347
+
348
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
349
+<A NAME="navbar_bottom"><!-- --></A>
350
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
351
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
352
+<TR>
353
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
354
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
355
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
356
+  <TR ALIGN="center" VALIGN="top">
357
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
358
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
359
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
360
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
361
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
362
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
363
+  </TR>
364
+</TABLE>
365
+</TD>
366
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
367
+</EM>
368
+</TD>
369
+</TR>
370
+
371
+<TR>
372
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
373
+&nbsp;<A HREF="AFrame.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
374
+&nbsp;<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
375
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
376
+  <A HREF="index.html?Animation.html" target="_top"><B>FRAMES</B></A>  &nbsp;
377
+&nbsp;<A HREF="Animation.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
378
+&nbsp;<SCRIPT type="text/javascript">
379
+  <!--
380
+  if(window==top) {
381
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
382
+  }
383
+  //-->
384
+</SCRIPT>
385
+<NOSCRIPT>
386
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
387
+</NOSCRIPT>
388
+
389
+
390
+</FONT></TD>
391
+</TR>
392
+<TR>
393
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
394
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
395
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
396
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
397
+</TR>
398
+</TABLE>
399
+<A NAME="skip-navbar_bottom"></A>
400
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
401
+
402
+<HR>
403
+
404
+</BODY>
405
+</HTML>

+ 301
- 0
Cube Control/doc/AnimationUtility.html View File

@@ -0,0 +1,301 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:10 CET 2011 -->
6
+<TITLE>
7
+AnimationUtility
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="AnimationUtility";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;<A HREF="Animation.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
57
+&nbsp;<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?AnimationUtility.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="AnimationUtility.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+<TR>
76
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80
+</TR>
81
+</TABLE>
82
+<A NAME="skip-navbar_top"></A>
83
+<!-- ========= END OF TOP NAVBAR ========= -->
84
+
85
+<HR>
86
+<!-- ======== START OF CLASS DATA ======== -->
87
+<H2>
88
+Class AnimationUtility</H2>
89
+<PRE>
90
+java.lang.Object
91
+  <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>AnimationUtility</B>
92
+</PRE>
93
+<HR>
94
+<DL>
95
+<DT><PRE>public class <B>AnimationUtility</B><DT>extends java.lang.Object</DL>
96
+</PRE>
97
+
98
+<P>
99
+A helper class that loads animations from a file or saves them to one.
100
+<P>
101
+
102
+<P>
103
+<HR>
104
+
105
+<P>
106
+
107
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
108
+
109
+<A NAME="constructor_summary"><!-- --></A>
110
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113
+<B>Constructor Summary</B></FONT></TH>
114
+</TR>
115
+<TR BGCOLOR="white" CLASS="TableRowColor">
116
+<TD><CODE><B><A HREF="AnimationUtility.html#AnimationUtility()">AnimationUtility</A></B>()</CODE>
117
+
118
+<BR>
119
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
120
+</TR>
121
+</TABLE>
122
+&nbsp;
123
+<!-- ========== METHOD SUMMARY =========== -->
124
+
125
+<A NAME="method_summary"><!-- --></A>
126
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129
+<B>Method Summary</B></FONT></TH>
130
+</TR>
131
+<TR BGCOLOR="white" CLASS="TableRowColor">
132
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
134
+<TD><CODE><B><A HREF="AnimationUtility.html#getLastError()">getLastError</A></B>()</CODE>
135
+
136
+<BR>
137
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the last error that occured while writing</TD>
138
+</TR>
139
+<TR BGCOLOR="white" CLASS="TableRowColor">
140
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141
+<CODE>static&nbsp;java.util.ArrayList&lt;<A HREF="Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>&gt;</CODE></FONT></TD>
142
+<TD><CODE><B><A HREF="AnimationUtility.html#readFile(java.lang.String)">readFile</A></B>(java.lang.String&nbsp;path)</CODE>
143
+
144
+<BR>
145
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read a file, return ArrayList with all animations in the file.</TD>
146
+</TR>
147
+<TR BGCOLOR="white" CLASS="TableRowColor">
148
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149
+<CODE>static&nbsp;void</CODE></FONT></TD>
150
+<TD><CODE><B><A HREF="AnimationUtility.html#writeFile(java.lang.String, java.util.ArrayList)">writeFile</A></B>(java.lang.String&nbsp;path,
151
+          java.util.ArrayList&lt;<A HREF="Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>&gt;&nbsp;animations)</CODE>
152
+
153
+<BR>
154
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write a file with all Animations of an ArrayList</TD>
155
+</TR>
156
+</TABLE>
157
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
158
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
159
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
160
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
161
+</TR>
162
+<TR BGCOLOR="white" CLASS="TableRowColor">
163
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
164
+</TR>
165
+</TABLE>
166
+&nbsp;
167
+<P>
168
+
169
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
170
+
171
+<A NAME="constructor_detail"><!-- --></A>
172
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
173
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
174
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
175
+<B>Constructor Detail</B></FONT></TH>
176
+</TR>
177
+</TABLE>
178
+
179
+<A NAME="AnimationUtility()"><!-- --></A><H3>
180
+AnimationUtility</H3>
181
+<PRE>
182
+public <B>AnimationUtility</B>()</PRE>
183
+<DL>
184
+</DL>
185
+
186
+<!-- ============ METHOD DETAIL ========== -->
187
+
188
+<A NAME="method_detail"><!-- --></A>
189
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
190
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
191
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
192
+<B>Method Detail</B></FONT></TH>
193
+</TR>
194
+</TABLE>
195
+
196
+<A NAME="readFile(java.lang.String)"><!-- --></A><H3>
197
+readFile</H3>
198
+<PRE>
199
+public static java.util.ArrayList&lt;<A HREF="Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>&gt; <B>readFile</B>(java.lang.String&nbsp;path)
200
+                                               throws java.lang.Exception</PRE>
201
+<DL>
202
+<DD>Read a file, return ArrayList with all animations in the file.
203
+<P>
204
+<DD><DL>
205
+<DT><B>Parameters:</B><DD><CODE>path</CODE> - Path of file
206
+<DT><B>Returns:</B><DD>Populated ArrayList
207
+<DT><B>Throws:</B>
208
+<DD><CODE>Excpetion</CODE> - When something goes wrong with the Scanner...
209
+<DD><CODE>java.lang.Exception</CODE></DL>
210
+</DD>
211
+</DL>
212
+<HR>
213
+
214
+<A NAME="writeFile(java.lang.String, java.util.ArrayList)"><!-- --></A><H3>
215
+writeFile</H3>
216
+<PRE>
217
+public static void <B>writeFile</B>(java.lang.String&nbsp;path,
218
+                             java.util.ArrayList&lt;<A HREF="Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>&gt;&nbsp;animations)</PRE>
219
+<DL>
220
+<DD>Write a file with all Animations of an ArrayList
221
+<P>
222
+<DD><DL>
223
+<DT><B>Parameters:</B><DD><CODE>path</CODE> - Path to write to<DD><CODE>animations</CODE> - ArrayList with all animations to be saved<DT><B>See Also:</B><DD><A HREF="AnimationUtility.html#getLastError()"><CODE>getLastError()</CODE></A></DL>
224
+</DD>
225
+</DL>
226
+<HR>
227
+
228
+<A NAME="getLastError()"><!-- --></A><H3>
229
+getLastError</H3>
230
+<PRE>
231
+public static java.lang.String <B>getLastError</B>()</PRE>
232
+<DL>
233
+<DD>Get the last error that occured while writing
234
+<P>
235
+<DD><DL>
236
+
237
+<DT><B>Returns:</B><DD>Text of the exception that occured<DT><B>See Also:</B><DD><A HREF="AnimationUtility.html#writeFile(java.lang.String, java.util.ArrayList)"><CODE>writeFile()</CODE></A></DL>
238
+</DD>
239
+</DL>
240
+<!-- ========= END OF CLASS DATA ========= -->
241
+<HR>
242
+
243
+
244
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
245
+<A NAME="navbar_bottom"><!-- --></A>
246
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
247
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
248
+<TR>
249
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
250
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
251
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
252
+  <TR ALIGN="center" VALIGN="top">
253
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
254
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
255
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
256
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
257
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
258
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
259
+  </TR>
260
+</TABLE>
261
+</TD>
262
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
263
+</EM>
264
+</TD>
265
+</TR>
266
+
267
+<TR>
268
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
269
+&nbsp;<A HREF="Animation.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
270
+&nbsp;<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
271
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
272
+  <A HREF="index.html?AnimationUtility.html" target="_top"><B>FRAMES</B></A>  &nbsp;
273
+&nbsp;<A HREF="AnimationUtility.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
274
+&nbsp;<SCRIPT type="text/javascript">
275
+  <!--
276
+  if(window==top) {
277
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
278
+  }
279
+  //-->
280
+</SCRIPT>
281
+<NOSCRIPT>
282
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
283
+</NOSCRIPT>
284
+
285
+
286
+</FONT></TD>
287
+</TR>
288
+<TR>
289
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
290
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
291
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
292
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
293
+</TR>
294
+</TABLE>
295
+<A NAME="skip-navbar_bottom"></A>
296
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
297
+
298
+<HR>
299
+
300
+</BODY>
301
+</HTML>

+ 252
- 0
Cube Control/doc/HelperUtility.html View File

@@ -0,0 +1,252 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+HelperUtility
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="HelperUtility";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;<A HREF="frame.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
57
+&nbsp;<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?HelperUtility.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="HelperUtility.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+<TR>
76
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80
+</TR>
81
+</TABLE>
82
+<A NAME="skip-navbar_top"></A>
83
+<!-- ========= END OF TOP NAVBAR ========= -->
84
+
85
+<HR>
86
+<!-- ======== START OF CLASS DATA ======== -->
87
+<H2>
88
+Class HelperUtility</H2>
89
+<PRE>
90
+java.lang.Object
91
+  <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>HelperUtility</B>
92
+</PRE>
93
+<HR>
94
+<DL>
95
+<DT><PRE>public class <B>HelperUtility</B><DT>extends java.lang.Object</DL>
96
+</PRE>
97
+
98
+<P>
99
+This helper class extracts the serialHelper from the JAR file, makes it executable and executes it with the given Command line arguments.
100
+<P>
101
+
102
+<P>
103
+<HR>
104
+
105
+<P>
106
+
107
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
108
+
109
+<A NAME="constructor_summary"><!-- --></A>
110
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113
+<B>Constructor Summary</B></FONT></TH>
114
+</TR>
115
+<TR BGCOLOR="white" CLASS="TableRowColor">
116
+<TD><CODE><B><A HREF="HelperUtility.html#HelperUtility()">HelperUtility</A></B>()</CODE>
117
+
118
+<BR>
119
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
120
+</TR>
121
+</TABLE>
122
+&nbsp;
123
+<!-- ========== METHOD SUMMARY =========== -->
124
+
125
+<A NAME="method_summary"><!-- --></A>
126
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129
+<B>Method Summary</B></FONT></TH>
130
+</TR>
131
+<TR BGCOLOR="white" CLASS="TableRowColor">
132
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
134
+<TD><CODE><B><A HREF="HelperUtility.html#runHelper(java.lang.String[])">runHelper</A></B>(java.lang.String[]&nbsp;args)</CODE>
135
+
136
+<BR>
137
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run the serialHelper with the given arguments</TD>
138
+</TR>
139
+</TABLE>
140
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
141
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
143
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
144
+</TR>
145
+<TR BGCOLOR="white" CLASS="TableRowColor">
146
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
147
+</TR>
148
+</TABLE>
149
+&nbsp;
150
+<P>
151
+
152
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
153
+
154
+<A NAME="constructor_detail"><!-- --></A>
155
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
157
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
158
+<B>Constructor Detail</B></FONT></TH>
159
+</TR>
160
+</TABLE>
161
+
162
+<A NAME="HelperUtility()"><!-- --></A><H3>
163
+HelperUtility</H3>
164
+<PRE>
165
+public <B>HelperUtility</B>()</PRE>
166
+<DL>
167
+</DL>
168
+
169
+<!-- ============ METHOD DETAIL ========== -->
170
+
171
+<A NAME="method_detail"><!-- --></A>
172
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
173
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
174
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
175
+<B>Method Detail</B></FONT></TH>
176
+</TR>
177
+</TABLE>
178
+
179
+<A NAME="runHelper(java.lang.String[])"><!-- --></A><H3>
180
+runHelper</H3>
181
+<PRE>
182
+public static java.lang.String <B>runHelper</B>(java.lang.String[]&nbsp;args)</PRE>
183
+<DL>
184
+<DD>Run the serialHelper with the given arguments
185
+<P>
186
+<DD><DL>
187
+<DT><B>Parameters:</B><DD><CODE>args</CODE> - Command line arguments for serialHelper
188
+<DT><B>Returns:</B><DD>Output of helper</DL>
189
+</DD>
190
+</DL>
191
+<!-- ========= END OF CLASS DATA ========= -->
192
+<HR>
193
+
194
+
195
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
196
+<A NAME="navbar_bottom"><!-- --></A>
197
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
198
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
199
+<TR>
200
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
201
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
202
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
203
+  <TR ALIGN="center" VALIGN="top">
204
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
205
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
206
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
207
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
208
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
209
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
210
+  </TR>
211
+</TABLE>
212
+</TD>
213
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
214
+</EM>
215
+</TD>
216
+</TR>
217
+
218
+<TR>
219
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
220
+&nbsp;<A HREF="frame.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
221
+&nbsp;<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
222
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
223
+  <A HREF="index.html?HelperUtility.html" target="_top"><B>FRAMES</B></A>  &nbsp;
224
+&nbsp;<A HREF="HelperUtility.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
225
+&nbsp;<SCRIPT type="text/javascript">
226
+  <!--
227
+  if(window==top) {
228
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
229
+  }
230
+  //-->
231
+</SCRIPT>
232
+<NOSCRIPT>
233
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
234
+</NOSCRIPT>
235
+
236
+
237
+</FONT></TD>
238
+</TR>
239
+<TR>
240
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
241
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
242
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
243
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
244
+</TR>
245
+</TABLE>
246
+<A NAME="skip-navbar_bottom"></A>
247
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
248
+
249
+<HR>
250
+
251
+</BODY>
252
+</HTML>

+ 274
- 0
Cube Control/doc/Led3D.html View File

@@ -0,0 +1,274 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+Led3D
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="Led3D";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
57
+&nbsp;NEXT CLASS</FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?Led3D.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="Led3D.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+<TR>
76
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80
+</TR>
81
+</TABLE>
82
+<A NAME="skip-navbar_top"></A>
83
+<!-- ========= END OF TOP NAVBAR ========= -->
84
+
85
+<HR>
86
+<!-- ======== START OF CLASS DATA ======== -->
87
+<H2>
88
+Class Led3D</H2>
89
+<PRE>
90
+java.lang.Object
91
+  <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>Led3D</B>
92
+</PRE>
93
+<HR>
94
+<DL>
95
+<DT><PRE>public class <B>Led3D</B><DT>extends java.lang.Object</DL>
96
+</PRE>
97
+
98
+<P>
99
+This class is responsible for displaying the 3D View of our Cube.
100
+<P>
101
+
102
+<P>
103
+<HR>
104
+
105
+<P>
106
+
107
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
108
+
109
+<A NAME="constructor_summary"><!-- --></A>
110
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113
+<B>Constructor Summary</B></FONT></TH>
114
+</TR>
115
+<TR BGCOLOR="white" CLASS="TableRowColor">
116
+<TD><CODE><B><A HREF="Led3D.html#Led3D(javax.media.j3d.Canvas3D)">Led3D</A></B>(javax.media.j3d.Canvas3D&nbsp;canv)</CODE>
117
+
118
+<BR>
119
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
120
+</TR>
121
+</TABLE>
122
+&nbsp;
123
+<!-- ========== METHOD SUMMARY =========== -->
124
+
125
+<A NAME="method_summary"><!-- --></A>
126
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129
+<B>Method Summary</B></FONT></TH>
130
+</TR>
131
+<TR BGCOLOR="white" CLASS="TableRowColor">
132
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133
+<CODE>&nbsp;void</CODE></FONT></TD>
134
+<TD><CODE><B><A HREF="Led3D.html#printTranslationData()">printTranslationData</A></B>()</CODE>
135
+
136
+<BR>
137
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the translation matrix that is changed by moving/rotating the 3D Cube with your mouse.</TD>
138
+</TR>
139
+<TR BGCOLOR="white" CLASS="TableRowColor">
140
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141
+<CODE>&nbsp;void</CODE></FONT></TD>
142
+<TD><CODE><B><A HREF="Led3D.html#setData(short[])">setData</A></B>(short[]&nbsp;data)</CODE>
143
+
144
+<BR>
145
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the data that is displayed by the LEDs</TD>
146
+</TR>
147
+</TABLE>
148
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
149
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
150
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
151
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
152
+</TR>
153
+<TR BGCOLOR="white" CLASS="TableRowColor">
154
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
155
+</TR>
156
+</TABLE>
157
+&nbsp;
158
+<P>
159
+
160
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
161
+
162
+<A NAME="constructor_detail"><!-- --></A>
163
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
164
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
165
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
166
+<B>Constructor Detail</B></FONT></TH>
167
+</TR>
168
+</TABLE>
169
+
170
+<A NAME="Led3D(javax.media.j3d.Canvas3D)"><!-- --></A><H3>
171
+Led3D</H3>
172
+<PRE>
173
+public <B>Led3D</B>(javax.media.j3d.Canvas3D&nbsp;canv)</PRE>
174
+<DL>
175
+<DL>
176
+<DT><B>Parameters:</B><DD><CODE>canv</CODE> - The Canvas3D we render our cube in</DL>
177
+</DL>
178
+
179
+<!-- ============ METHOD DETAIL ========== -->
180
+
181
+<A NAME="method_detail"><!-- --></A>
182
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
183
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
184
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
185
+<B>Method Detail</B></FONT></TH>
186
+</TR>
187
+</TABLE>
188
+
189
+<A NAME="printTranslationData()"><!-- --></A><H3>
190
+printTranslationData</H3>
191
+<PRE>
192
+public void <B>printTranslationData</B>()</PRE>
193
+<DL>
194
+<DD>Prints the translation matrix that is changed by moving/rotating the 3D Cube with your mouse.
195
+<P>
196
+<DD><DL>
197
+</DL>
198
+</DD>
199
+</DL>
200
+<HR>
201
+
202
+<A NAME="setData(short[])"><!-- --></A><H3>
203
+setData</H3>
204
+<PRE>
205
+public void <B>setData</B>(short[]&nbsp;data)</PRE>
206
+<DL>
207
+<DD>Sets the data that is displayed by the LEDs
208
+<P>
209
+<DD><DL>
210
+<DT><B>Parameters:</B><DD><CODE>data</CODE> - 64 byte array with the data (8 bits/LEDs per byte)</DL>
211
+</DD>
212
+</DL>
213
+<!-- ========= END OF CLASS DATA ========= -->
214
+<HR>
215
+
216
+
217
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
218
+<A NAME="navbar_bottom"><!-- --></A>
219
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
220
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
221
+<TR>
222
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
223
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
224
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
225
+  <TR ALIGN="center" VALIGN="top">
226
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
227
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
228
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
229
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
230
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
231
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
232
+  </TR>
233
+</TABLE>
234
+</TD>
235
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
236
+</EM>
237
+</TD>
238
+</TR>
239
+
240
+<TR>
241
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
242
+&nbsp;<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
243
+&nbsp;NEXT CLASS</FONT></TD>
244
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
245
+  <A HREF="index.html?Led3D.html" target="_top"><B>FRAMES</B></A>  &nbsp;
246
+&nbsp;<A HREF="Led3D.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
247
+&nbsp;<SCRIPT type="text/javascript">
248
+  <!--
249
+  if(window==top) {
250
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
251
+  }
252
+  //-->
253
+</SCRIPT>
254
+<NOSCRIPT>
255
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
256
+</NOSCRIPT>
257
+
258
+
259
+</FONT></TD>
260
+</TR>
261
+<TR>
262
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
263
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
264
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
265
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
266
+</TR>
267
+</TABLE>
268
+<A NAME="skip-navbar_bottom"></A>
269
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
270
+
271
+<HR>
272
+
273
+</BODY>
274
+</HTML>

+ 45
- 0
Cube Control/doc/allclasses-frame.html View File

@@ -0,0 +1,45 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+All Classes
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+
15
+</HEAD>
16
+
17
+<BODY BGCOLOR="white">
18
+<FONT size="+1" CLASS="FrameHeadingFont">
19
+<B>All Classes</B></FONT>
20
+<BR>
21
+
22
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
23
+<TR>
24
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="AFrame.html" title="class in &lt;Unnamed&gt;" target="classFrame">AFrame</A>
25
+<BR>
26
+<A HREF="Animation.html" title="class in &lt;Unnamed&gt;" target="classFrame">Animation</A>
27
+<BR>
28
+<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;" target="classFrame">AnimationUtility</A>
29
+<BR>
30
+<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;" target="classFrame">cubeWorker</A>
31
+<BR>
32
+<A HREF="frame.html" title="class in &lt;Unnamed&gt;" target="classFrame">frame</A>
33
+<BR>
34
+<A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;" target="classFrame">HelperUtility</A>
35
+<BR>
36
+<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;" target="classFrame">layerEditFrame</A>
37
+<BR>
38
+<A HREF="Led3D.html" title="class in &lt;Unnamed&gt;" target="classFrame">Led3D</A>
39
+<BR>
40
+</FONT></TD>
41
+</TR>
42
+</TABLE>
43
+
44
+</BODY>
45
+</HTML>

+ 45
- 0
Cube Control/doc/allclasses-noframe.html View File

@@ -0,0 +1,45 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+All Classes
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+
15
+</HEAD>
16
+
17
+<BODY BGCOLOR="white">
18
+<FONT size="+1" CLASS="FrameHeadingFont">
19
+<B>All Classes</B></FONT>
20
+<BR>
21
+
22
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
23
+<TR>
24
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
25
+<BR>
26
+<A HREF="Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
27
+<BR>
28
+<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;">AnimationUtility</A>
29
+<BR>
30
+<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
31
+<BR>
32
+<A HREF="frame.html" title="class in &lt;Unnamed&gt;">frame</A>
33
+<BR>
34
+<A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;">HelperUtility</A>
35
+<BR>
36
+<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A>
37
+<BR>
38
+<A HREF="Led3D.html" title="class in &lt;Unnamed&gt;">Led3D</A>
39
+<BR>
40
+</FONT></TD>
41
+</TR>
42
+</TABLE>
43
+
44
+</BODY>
45
+</HTML>

+ 142
- 0
Cube Control/doc/constant-values.html View File

@@ -0,0 +1,142 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+Constant Field Values
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="Constant Field Values";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;PREV&nbsp;
57
+&nbsp;NEXT</FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+</TABLE>
76
+<A NAME="skip-navbar_top"></A>
77
+<!-- ========= END OF TOP NAVBAR ========= -->
78
+
79
+<HR>
80
+<CENTER>
81
+<H1>
82
+Constant Field Values</H1>
83
+</CENTER>
84
+<HR SIZE="4" NOSHADE>
85
+<B>Contents</B><UL>
86
+</UL>
87
+
88
+<HR>
89
+
90
+
91
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
92
+<A NAME="navbar_bottom"><!-- --></A>
93
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
94
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
95
+<TR>
96
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
97
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
98
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
99
+  <TR ALIGN="center" VALIGN="top">
100
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
101
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
102
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
103
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
104
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
105
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
106
+  </TR>
107
+</TABLE>
108
+</TD>
109
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
110
+</EM>
111
+</TD>
112
+</TR>
113
+
114
+<TR>
115
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
116
+&nbsp;PREV&nbsp;
117
+&nbsp;NEXT</FONT></TD>
118
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
119
+  <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>  &nbsp;
120
+&nbsp;<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
121
+&nbsp;<SCRIPT type="text/javascript">
122
+  <!--
123
+  if(window==top) {
124
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
125
+  }
126
+  //-->
127
+</SCRIPT>
128
+<NOSCRIPT>
129
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
130
+</NOSCRIPT>
131
+
132
+
133
+</FONT></TD>
134
+</TR>
135
+</TABLE>
136
+<A NAME="skip-navbar_bottom"></A>
137
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
138
+
139
+<HR>
140
+
141
+</BODY>
142
+</HTML>

+ 658
- 0
Cube Control/doc/cubeWorker.html View File

@@ -0,0 +1,658 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:11 CET 2011 -->
6
+<TITLE>
7
+cubeWorker
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="cubeWorker";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
57
+&nbsp;<A HREF="frame.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?cubeWorker.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="cubeWorker.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+<TR>
76
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80
+</TR>
81
+</TABLE>
82
+<A NAME="skip-navbar_top"></A>
83
+<!-- ========= END OF TOP NAVBAR ========= -->
84
+
85
+<HR>
86
+<!-- ======== START OF CLASS DATA ======== -->
87
+<H2>
88
+Class cubeWorker</H2>
89
+<PRE>
90
+java.lang.Object
91
+  <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>cubeWorker</B>
92
+</PRE>
93
+<HR>
94
+<DL>
95
+<DT><PRE>public class <B>cubeWorker</B><DT>extends java.lang.Object</DL>
96
+</PRE>
97
+
98
+<P>
99
+<HR>
100
+
101
+<P>
102
+
103
+<!-- ========== METHOD SUMMARY =========== -->
104
+
105
+<A NAME="method_summary"><!-- --></A>
106
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
107
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
108
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
109
+<B>Method Summary</B></FONT></TH>
110
+</TR>
111
+<TR BGCOLOR="white" CLASS="TableRowColor">
112
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
113
+<CODE>&nbsp;int</CODE></FONT></TD>
114
+<TD><CODE><B><A HREF="cubeWorker.html#addAnimation()">addAnimation</A></B>()</CODE>
115
+
116
+<BR>
117
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
118
+</TR>
119
+<TR BGCOLOR="white" CLASS="TableRowColor">
120
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121
+<CODE>&nbsp;int</CODE></FONT></TD>
122
+<TD><CODE><B><A HREF="cubeWorker.html#addFrame(int)">addFrame</A></B>(int&nbsp;anim)</CODE>
123
+
124
+<BR>
125
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
126
+</TR>
127
+<TR BGCOLOR="white" CLASS="TableRowColor">
128
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129
+<CODE>&nbsp;boolean</CODE></FONT></TD>
130
+<TD><CODE><B><A HREF="cubeWorker.html#changedStateSinceSave()">changedStateSinceSave</A></B>()</CODE>
131
+
132
+<BR>
133
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
134
+</TR>
135
+<TR BGCOLOR="white" CLASS="TableRowColor">
136
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137
+<CODE>&nbsp;int</CODE></FONT></TD>
138
+<TD><CODE><B><A HREF="cubeWorker.html#downloadState(java.lang.String)">downloadState</A></B>(java.lang.String&nbsp;port)</CODE>
139
+
140
+<BR>
141
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
142
+</TR>
143
+<TR BGCOLOR="white" CLASS="TableRowColor">
144
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145
+<CODE>&nbsp;int</CODE></FONT></TD>
146
+<TD><CODE><B><A HREF="cubeWorker.html#framesRemaining()">framesRemaining</A></B>()</CODE>
147
+
148
+<BR>
149
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
150
+</TR>
151
+<TR BGCOLOR="white" CLASS="TableRowColor">
152
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
154
+<TD><CODE><B><A HREF="cubeWorker.html#getAnimationName(int)">getAnimationName</A></B>(int&nbsp;selectedAnimation)</CODE>
155
+
156
+<BR>
157
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
158
+</TR>
159
+<TR BGCOLOR="white" CLASS="TableRowColor">
160
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161
+<CODE>&nbsp;short[]</CODE></FONT></TD>
162
+<TD><CODE><B><A HREF="cubeWorker.html#getFrame(int, int)">getFrame</A></B>(int&nbsp;anim,
163
+         int&nbsp;frame)</CODE>
164
+
165
+<BR>
166
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
167
+</TR>
168
+<TR BGCOLOR="white" CLASS="TableRowColor">
169
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
171
+<TD><CODE><B><A HREF="cubeWorker.html#getFrameName(int, int)">getFrameName</A></B>(int&nbsp;anim,
172
+             int&nbsp;frame)</CODE>
173
+
174
+<BR>
175
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
176
+</TR>
177
+<TR BGCOLOR="white" CLASS="TableRowColor">
178
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179
+<CODE>&nbsp;short</CODE></FONT></TD>
180
+<TD><CODE><B><A HREF="cubeWorker.html#getFrameTime(int, int)">getFrameTime</A></B>(int&nbsp;anim,
181
+             int&nbsp;frame)</CODE>
182
+
183
+<BR>
184
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
185
+</TR>
186
+<TR BGCOLOR="white" CLASS="TableRowColor">
187
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188
+<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
189
+<TD><CODE><B><A HREF="cubeWorker.html#getSerialPorts()">getSerialPorts</A></B>()</CODE>
190
+
191
+<BR>
192
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
193
+</TR>
194
+<TR BGCOLOR="white" CLASS="TableRowColor">
195
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196
+<CODE>&nbsp;int</CODE></FONT></TD>
197
+<TD><CODE><B><A HREF="cubeWorker.html#loadState(java.lang.String)">loadState</A></B>(java.lang.String&nbsp;path)</CODE>
198
+
199
+<BR>
200
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
201
+</TR>
202
+<TR BGCOLOR="white" CLASS="TableRowColor">
203
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204
+<CODE>&nbsp;void</CODE></FONT></TD>
205
+<TD><CODE><B><A HREF="cubeWorker.html#moveAnimation(int, int)">moveAnimation</A></B>(int&nbsp;dir,
206
+              int&nbsp;selectedAnimation)</CODE>
207
+
208
+<BR>
209
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
210
+</TR>
211
+<TR BGCOLOR="white" CLASS="TableRowColor">
212
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213
+<CODE>&nbsp;void</CODE></FONT></TD>
214
+<TD><CODE><B><A HREF="cubeWorker.html#moveFrame(int, int, int)">moveFrame</A></B>(int&nbsp;dir,
215
+          int&nbsp;anim,
216
+          int&nbsp;frame)</CODE>
217
+
218
+<BR>
219
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
220
+</TR>
221
+<TR BGCOLOR="white" CLASS="TableRowColor">
222
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223
+<CODE>&nbsp;int</CODE></FONT></TD>
224
+<TD><CODE><B><A HREF="cubeWorker.html#numOfAnimations()">numOfAnimations</A></B>()</CODE>
225
+
226
+<BR>
227
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
228
+</TR>
229
+<TR BGCOLOR="white" CLASS="TableRowColor">
230
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231
+<CODE>&nbsp;int</CODE></FONT></TD>
232
+<TD><CODE><B><A HREF="cubeWorker.html#numOfFrames(int)">numOfFrames</A></B>(int&nbsp;selectedAnimation)</CODE>
233
+
234
+<BR>
235
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
236
+</TR>
237
+<TR BGCOLOR="white" CLASS="TableRowColor">
238
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239
+<CODE>&nbsp;void</CODE></FONT></TD>
240
+<TD><CODE><B><A HREF="cubeWorker.html#removeAnimation(int)">removeAnimation</A></B>(int&nbsp;selectedAnimation)</CODE>
241
+
242
+<BR>
243
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
244
+</TR>
245
+<TR BGCOLOR="white" CLASS="TableRowColor">
246
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247
+<CODE>&nbsp;void</CODE></FONT></TD>
248
+<TD><CODE><B><A HREF="cubeWorker.html#removeFrame(int, int)">removeFrame</A></B>(int&nbsp;anim,
249
+            int&nbsp;frame)</CODE>
250
+
251
+<BR>
252
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
253
+</TR>
254
+<TR BGCOLOR="white" CLASS="TableRowColor">
255
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256
+<CODE>&nbsp;int</CODE></FONT></TD>
257
+<TD><CODE><B><A HREF="cubeWorker.html#saveState(java.lang.String)">saveState</A></B>(java.lang.String&nbsp;path)</CODE>
258
+
259
+<BR>
260
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
261
+</TR>
262
+<TR BGCOLOR="white" CLASS="TableRowColor">
263
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264
+<CODE>&nbsp;void</CODE></FONT></TD>
265
+<TD><CODE><B><A HREF="cubeWorker.html#setAnimationName(java.lang.String, int)">setAnimationName</A></B>(java.lang.String&nbsp;s,
266
+                 int&nbsp;selectedAnimation)</CODE>
267
+
268
+<BR>
269
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
270
+</TR>
271
+<TR BGCOLOR="white" CLASS="TableRowColor">
272
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273
+<CODE>&nbsp;void</CODE></FONT></TD>
274
+<TD><CODE><B><A HREF="cubeWorker.html#setFrame(short[], int, int)">setFrame</A></B>(short[]&nbsp;data,
275
+         int&nbsp;anim,
276
+         int&nbsp;frame)</CODE>
277
+
278
+<BR>
279
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
280
+</TR>
281
+<TR BGCOLOR="white" CLASS="TableRowColor">
282
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
283
+<CODE>&nbsp;void</CODE></FONT></TD>
284
+<TD><CODE><B><A HREF="cubeWorker.html#setFrameName(java.lang.String, int, int)">setFrameName</A></B>(java.lang.String&nbsp;s,
285
+             int&nbsp;anim,
286
+             int&nbsp;frame)</CODE>
287
+
288
+<BR>
289
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
290
+</TR>
291
+<TR BGCOLOR="white" CLASS="TableRowColor">
292
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
293
+<CODE>&nbsp;void</CODE></FONT></TD>
294
+<TD><CODE><B><A HREF="cubeWorker.html#setFrameTime(short, int, int)">setFrameTime</A></B>(short&nbsp;time,
295
+             int&nbsp;anim,
296
+             int&nbsp;frame)</CODE>
297
+
298
+<BR>
299
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
300
+</TR>
301
+<TR BGCOLOR="white" CLASS="TableRowColor">
302
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303
+<CODE>&nbsp;int</CODE></FONT></TD>
304
+<TD><CODE><B><A HREF="cubeWorker.html#uploadState(java.lang.String)">uploadState</A></B>(java.lang.String&nbsp;port)</CODE>
305
+
306
+<BR>
307
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
308
+</TR>
309
+</TABLE>
310
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
311
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
312
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
313
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
314
+</TR>
315
+<TR BGCOLOR="white" CLASS="TableRowColor">
316
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
317
+</TR>
318
+</TABLE>
319
+&nbsp;
320
+<P>
321
+
322
+<!-- ============ METHOD DETAIL ========== -->
323
+
324
+<A NAME="method_detail"><!-- --></A>
325
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
326
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
327
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
328
+<B>Method Detail</B></FONT></TH>
329
+</TR>
330
+</TABLE>
331
+
332
+<A NAME="numOfAnimations()"><!-- --></A><H3>
333
+numOfAnimations</H3>
334
+<PRE>
335
+public int <B>numOfAnimations</B>()</PRE>
336
+<DL>
337
+<DD><DL>
338
+</DL>
339
+</DD>
340
+</DL>
341
+<HR>
342
+
343
+<A NAME="numOfFrames(int)"><!-- --></A><H3>
344
+numOfFrames</H3>
345
+<PRE>
346
+public int <B>numOfFrames</B>(int&nbsp;selectedAnimation)</PRE>
347
+<DL>
348
+<DD><DL>
349
+</DL>
350
+</DD>
351
+</DL>
352
+<HR>
353
+
354
+<A NAME="framesRemaining()"><!-- --></A><H3>
355
+framesRemaining</H3>
356
+<PRE>
357
+public int <B>framesRemaining</B>()</PRE>
358
+<DL>
359
+<DD><DL>
360
+</DL>
361
+</DD>
362
+</DL>
363
+<HR>
364
+
365
+<A NAME="addAnimation()"><!-- --></A><H3>
366
+addAnimation</H3>
367
+<PRE>
368
+public int <B>addAnimation</B>()</PRE>
369
+<DL>
370
+<DD><DL>
371
+</DL>
372
+</DD>
373
+</DL>
374
+<HR>
375
+
376
+<A NAME="removeAnimation(int)"><!-- --></A><H3>
377
+removeAnimation</H3>
378
+<PRE>
379
+public void <B>removeAnimation</B>(int&nbsp;selectedAnimation)</PRE>
380
+<DL>
381
+<DD><DL>
382
+</DL>
383
+</DD>
384
+</DL>
385
+<HR>
386
+
387
+<A NAME="getAnimationName(int)"><!-- --></A><H3>
388
+getAnimationName</H3>
389
+<PRE>
390
+public java.lang.String <B>getAnimationName</B>(int&nbsp;selectedAnimation)</PRE>
391
+<DL>
392
+<DD><DL>
393
+</DL>
394
+</DD>
395
+</DL>
396
+<HR>
397
+
398
+<A NAME="setAnimationName(java.lang.String, int)"><!-- --></A><H3>
399
+setAnimationName</H3>
400
+<PRE>
401
+public void <B>setAnimationName</B>(java.lang.String&nbsp;s,
402
+                             int&nbsp;selectedAnimation)</PRE>
403
+<DL>
404
+<DD><DL>
405
+</DL>
406
+</DD>
407
+</DL>
408
+<HR>
409
+
410
+<A NAME="moveAnimation(int, int)"><!-- --></A><H3>
411
+moveAnimation</H3>
412
+<PRE>
413
+public void <B>moveAnimation</B>(int&nbsp;dir,
414
+                          int&nbsp;selectedAnimation)</PRE>
415
+<DL>
416
+<DD><DL>
417
+</DL>
418
+</DD>
419
+</DL>
420
+<HR>
421
+
422
+<A NAME="getFrameName(int, int)"><!-- --></A><H3>
423
+getFrameName</H3>
424
+<PRE>
425
+public java.lang.String <B>getFrameName</B>(int&nbsp;anim,
426
+                                     int&nbsp;frame)</PRE>
427
+<DL>
428
+<DD><DL>
429
+</DL>
430
+</DD>
431
+</DL>
432
+<HR>
433
+
434
+<A NAME="setFrameName(java.lang.String, int, int)"><!-- --></A><H3>
435
+setFrameName</H3>
436
+<PRE>
437
+public void <B>setFrameName</B>(java.lang.String&nbsp;s,
438
+                         int&nbsp;anim,
439
+                         int&nbsp;frame)</PRE>
440
+<DL>
441
+<DD><DL>
442
+</DL>
443
+</DD>
444
+</DL>
445
+<HR>
446
+
447
+<A NAME="addFrame(int)"><!-- --></A><H3>
448
+addFrame</H3>
449
+<PRE>
450
+public int <B>addFrame</B>(int&nbsp;anim)</PRE>
451
+<DL>
452
+<DD><DL>
453
+</DL>
454
+</DD>
455
+</DL>
456
+<HR>
457
+
458
+<A NAME="removeFrame(int, int)"><!-- --></A><H3>
459
+removeFrame</H3>
460
+<PRE>
461
+public void <B>removeFrame</B>(int&nbsp;anim,
462
+                        int&nbsp;frame)</PRE>
463
+<DL>
464
+<DD><DL>
465
+</DL>
466
+</DD>
467
+</DL>
468
+<HR>
469
+
470
+<A NAME="getFrame(int, int)"><!-- --></A><H3>
471
+getFrame</H3>
472
+<PRE>
473
+public short[] <B>getFrame</B>(int&nbsp;anim,
474
+                        int&nbsp;frame)</PRE>
475
+<DL>
476
+<DD><DL>
477
+</DL>
478
+</DD>
479
+</DL>
480
+<HR>
481
+
482
+<A NAME="setFrame(short[], int, int)"><!-- --></A><H3>
483
+setFrame</H3>
484
+<PRE>
485
+public void <B>setFrame</B>(short[]&nbsp;data,
486
+                     int&nbsp;anim,
487
+                     int&nbsp;frame)</PRE>
488
+<DL>
489
+<DD><DL>
490
+</DL>
491
+</DD>
492
+</DL>
493
+<HR>
494
+
495
+<A NAME="getFrameTime(int, int)"><!-- --></A><H3>
496
+getFrameTime</H3>
497
+<PRE>
498
+public short <B>getFrameTime</B>(int&nbsp;anim,
499
+                          int&nbsp;frame)</PRE>
500
+<DL>
501
+<DD><DL>
502
+</DL>
503
+</DD>
504
+</DL>
505
+<HR>
506
+
507
+<A NAME="setFrameTime(short, int, int)"><!-- --></A><H3>
508
+setFrameTime</H3>
509
+<PRE>
510
+public void <B>setFrameTime</B>(short&nbsp;time,
511
+                         int&nbsp;anim,
512
+                         int&nbsp;frame)</PRE>
513
+<DL>
514
+<DD><DL>
515
+</DL>
516
+</DD>
517
+</DL>
518
+<HR>
519
+
520
+<A NAME="moveFrame(int, int, int)"><!-- --></A><H3>
521
+moveFrame</H3>
522
+<PRE>
523
+public void <B>moveFrame</B>(int&nbsp;dir,
524
+                      int&nbsp;anim,
525
+                      int&nbsp;frame)</PRE>
526
+<DL>
527
+<DD><DL>
528
+</DL>
529
+</DD>
530
+</DL>
531
+<HR>
532
+
533
+<A NAME="loadState(java.lang.String)"><!-- --></A><H3>
534
+loadState</H3>
535
+<PRE>
536
+public int <B>loadState</B>(java.lang.String&nbsp;path)</PRE>
537
+<DL>
538
+<DD><DL>
539
+</DL>
540
+</DD>
541
+</DL>
542
+<HR>
543
+
544
+<A NAME="saveState(java.lang.String)"><!-- --></A><H3>
545
+saveState</H3>
546
+<PRE>
547
+public int <B>saveState</B>(java.lang.String&nbsp;path)</PRE>
548
+<DL>
549
+<DD><DL>
550
+</DL>
551
+</DD>
552
+</DL>
553
+<HR>
554
+
555
+<A NAME="changedStateSinceSave()"><!-- --></A><H3>
556
+changedStateSinceSave</H3>
557
+<PRE>
558
+public boolean <B>changedStateSinceSave</B>()</PRE>
559
+<DL>
560
+<DD><DL>
561
+</DL>
562
+</DD>
563
+</DL>
564
+<HR>
565
+
566
+<A NAME="uploadState(java.lang.String)"><!-- --></A><H3>
567
+uploadState</H3>
568
+<PRE>
569
+public int <B>uploadState</B>(java.lang.String&nbsp;port)</PRE>
570
+<DL>
571
+<DD><DL>
572
+</DL>
573
+</DD>
574
+</DL>
575
+<HR>
576
+
577
+<A NAME="downloadState(java.lang.String)"><!-- --></A><H3>
578
+downloadState</H3>
579
+<PRE>
580
+public int <B>downloadState</B>(java.lang.String&nbsp;port)</PRE>
581
+<DL>
582
+<DD><DL>
583
+</DL>
584
+</DD>
585
+</DL>
586
+<HR>
587
+
588
+<A NAME="getSerialPorts()"><!-- --></A><H3>
589
+getSerialPorts</H3>
590
+<PRE>
591
+public java.lang.String[] <B>getSerialPorts</B>()</PRE>
592
+<DL>
593
+<DD><DL>
594
+</DL>
595
+</DD>
596
+</DL>
597
+<!-- ========= END OF CLASS DATA ========= -->
598
+<HR>
599
+
600
+
601
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
602
+<A NAME="navbar_bottom"><!-- --></A>
603
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
604
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
605
+<TR>
606
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
607
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
608
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
609
+  <TR ALIGN="center" VALIGN="top">
610
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
611
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
612
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
613
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
614
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
615
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
616
+  </TR>
617
+</TABLE>
618
+</TD>
619
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
620
+</EM>
621
+</TD>
622
+</TR>
623
+
624
+<TR>
625
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
626
+&nbsp;<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
627
+&nbsp;<A HREF="frame.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
628
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
629
+  <A HREF="index.html?cubeWorker.html" target="_top"><B>FRAMES</B></A>  &nbsp;
630
+&nbsp;<A HREF="cubeWorker.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
631
+&nbsp;<SCRIPT type="text/javascript">
632
+  <!--
633
+  if(window==top) {
634
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
635
+  }
636
+  //-->
637
+</SCRIPT>
638
+<NOSCRIPT>
639
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
640
+</NOSCRIPT>
641
+
642
+
643
+</FONT></TD>
644
+</TR>
645
+<TR>
646
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
647
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
648
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
649
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
650
+</TR>
651
+</TABLE>
652
+<A NAME="skip-navbar_bottom"></A>
653
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
654
+
655
+<HR>
656
+
657
+</BODY>
658
+</HTML>

+ 142
- 0
Cube Control/doc/deprecated-list.html View File

@@ -0,0 +1,142 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+Deprecated List
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="Deprecated List";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;PREV&nbsp;
57
+&nbsp;NEXT</FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+</TABLE>
76
+<A NAME="skip-navbar_top"></A>
77
+<!-- ========= END OF TOP NAVBAR ========= -->
78
+
79
+<HR>
80
+<CENTER>
81
+<H2>
82
+<B>Deprecated API</B></H2>
83
+</CENTER>
84
+<HR SIZE="4" NOSHADE>
85
+<B>Contents</B><UL>
86
+</UL>
87
+
88
+<HR>
89
+
90
+
91
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
92
+<A NAME="navbar_bottom"><!-- --></A>
93
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
94
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
95
+<TR>
96
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
97
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
98
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
99
+  <TR ALIGN="center" VALIGN="top">
100
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
101
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
102
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
103
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
104
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
105
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
106
+  </TR>
107
+</TABLE>
108
+</TD>
109
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
110
+</EM>
111
+</TD>
112
+</TR>
113
+
114
+<TR>
115
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
116
+&nbsp;PREV&nbsp;
117
+&nbsp;NEXT</FONT></TD>
118
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
119
+  <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A>  &nbsp;
120
+&nbsp;<A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
121
+&nbsp;<SCRIPT type="text/javascript">
122
+  <!--
123
+  if(window==top) {
124
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
125
+  }
126
+  //-->
127
+</SCRIPT>
128
+<NOSCRIPT>
129
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
130
+</NOSCRIPT>
131
+
132
+
133
+</FONT></TD>
134
+</TR>
135
+</TABLE>
136
+<A NAME="skip-navbar_bottom"></A>
137
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
138
+
139
+<HR>
140
+
141
+</BODY>
142
+</HTML>

+ 931
- 0
Cube Control/doc/frame.html View File

@@ -0,0 +1,931 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:11 CET 2011 -->
6
+<TITLE>
7
+frame
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="frame";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
57
+&nbsp;<A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?frame.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="frame.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+<TR>
76
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
+  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.swing.JFrame">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JFrame">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80
+</TR>
81
+</TABLE>
82
+<A NAME="skip-navbar_top"></A>
83
+<!-- ========= END OF TOP NAVBAR ========= -->
84
+
85
+<HR>
86
+<!-- ======== START OF CLASS DATA ======== -->
87
+<H2>
88
+Class frame</H2>
89
+<PRE>
90
+java.lang.Object
91
+  <IMG SRC="./resources/inherit.gif" ALT="extended by ">java.awt.Component
92
+      <IMG SRC="./resources/inherit.gif" ALT="extended by ">java.awt.Container
93
+          <IMG SRC="./resources/inherit.gif" ALT="extended by ">java.awt.Window
94
+              <IMG SRC="./resources/inherit.gif" ALT="extended by ">java.awt.Frame
95
+                  <IMG SRC="./resources/inherit.gif" ALT="extended by ">javax.swing.JFrame
96
+                      <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>frame</B>
97
+</PRE>
98
+<DL>
99
+<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.ListSelectionListener, javax.swing.RootPaneContainer, javax.swing.WindowConstants</DD>
100
+</DL>
101
+<HR>
102
+<DL>
103
+<DT><PRE>public class <B>frame</B><DT>extends javax.swing.JFrame<DT>implements javax.swing.event.ListSelectionListener</DL>
104
+</PRE>
105
+
106
+<P>
107
+<DL>
108
+<DT><B>See Also:</B><DD><A HREF="serialized-form.html#frame">Serialized Form</A></DL>
109
+<HR>
110
+
111
+<P>
112
+<!-- ======== NESTED CLASS SUMMARY ======== -->
113
+
114
+<A NAME="nested_class_summary"><!-- --></A>
115
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118
+<B>Nested Class Summary</B></FONT></TH>
119
+</TR>
120
+</TABLE>
121
+&nbsp;<A NAME="nested_classes_inherited_from_class_javax.swing.JFrame"><!-- --></A>
122
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
124
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JFrame</B></TH>
125
+</TR>
126
+<TR BGCOLOR="white" CLASS="TableRowColor">
127
+<TD><CODE>javax.swing.JFrame.AccessibleJFrame</CODE></TD>
128
+</TR>
129
+</TABLE>
130
+&nbsp;
131
+<A NAME="nested_classes_inherited_from_class_java.awt.Frame"><!-- --></A>
132
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
134
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Frame</B></TH>
135
+</TR>
136
+<TR BGCOLOR="white" CLASS="TableRowColor">
137
+<TD><CODE>java.awt.Frame.AccessibleAWTFrame</CODE></TD>
138
+</TR>
139
+</TABLE>
140
+&nbsp;
141
+<A NAME="nested_classes_inherited_from_class_java.awt.Window"><!-- --></A>
142
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
144
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Window</B></TH>
145
+</TR>
146
+<TR BGCOLOR="white" CLASS="TableRowColor">
147
+<TD><CODE>java.awt.Window.AccessibleAWTWindow</CODE></TD>
148
+</TR>
149
+</TABLE>
150
+&nbsp;
151
+<A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A>
152
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
154
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH>
155
+</TR>
156
+<TR BGCOLOR="white" CLASS="TableRowColor">
157
+<TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD>
158
+</TR>
159
+</TABLE>
160
+&nbsp;
161
+<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
162
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
164
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
165
+</TR>
166
+<TR BGCOLOR="white" CLASS="TableRowColor">
167
+<TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD>
168
+</TR>
169
+</TABLE>
170
+&nbsp;
171
+<!-- =========== FIELD SUMMARY =========== -->
172
+
173
+<A NAME="field_summary"><!-- --></A>
174
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
175
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
176
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
177
+<B>Field Summary</B></FONT></TH>
178
+</TR>
179
+</TABLE>
180
+&nbsp;<A NAME="fields_inherited_from_class_javax.swing.JFrame"><!-- --></A>
181
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
183
+<TH ALIGN="left"><B>Fields inherited from class javax.swing.JFrame</B></TH>
184
+</TR>
185
+<TR BGCOLOR="white" CLASS="TableRowColor">
186
+<TD><CODE>accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled</CODE></TD>
187
+</TR>
188
+</TABLE>
189
+&nbsp;<A NAME="fields_inherited_from_class_java.awt.Frame"><!-- --></A>
190
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
191
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
192
+<TH ALIGN="left"><B>Fields inherited from class java.awt.Frame</B></TH>
193
+</TR>
194
+<TR BGCOLOR="white" CLASS="TableRowColor">
195
+<TD><CODE>CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR</CODE></TD>
196
+</TR>
197
+</TABLE>
198
+&nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
199
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
200
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
201
+<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
202
+</TR>
203
+<TR BGCOLOR="white" CLASS="TableRowColor">
204
+<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
205
+</TR>
206
+</TABLE>
207
+&nbsp;<A NAME="fields_inherited_from_class_javax.swing.WindowConstants"><!-- --></A>
208
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
210
+<TH ALIGN="left"><B>Fields inherited from interface javax.swing.WindowConstants</B></TH>
211
+</TR>
212
+<TR BGCOLOR="white" CLASS="TableRowColor">
213
+<TD><CODE>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE</CODE></TD>
214
+</TR>
215
+</TABLE>
216
+&nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
217
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
218
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
219
+<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
220
+</TR>
221
+<TR BGCOLOR="white" CLASS="TableRowColor">
222
+<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
223
+</TR>
224
+</TABLE>
225
+&nbsp;
226
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
227
+
228
+<A NAME="constructor_summary"><!-- --></A>
229
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
230
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
231
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
232
+<B>Constructor Summary</B></FONT></TH>
233
+</TR>
234
+<TR BGCOLOR="white" CLASS="TableRowColor">
235
+<TD><CODE><B><A HREF="frame.html#frame(java.lang.String)">frame</A></B>(java.lang.String&nbsp;title)</CODE>
236
+
237
+<BR>
238
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
239
+</TR>
240
+</TABLE>
241
+&nbsp;
242
+<!-- ========== METHOD SUMMARY =========== -->
243
+
244
+<A NAME="method_summary"><!-- --></A>
245
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
246
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
247
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
248
+<B>Method Summary</B></FONT></TH>
249
+</TR>
250
+<TR BGCOLOR="white" CLASS="TableRowColor">
251
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252
+<CODE>&nbsp;void</CODE></FONT></TD>
253
+<TD><CODE><B><A HREF="frame.html#animAdd_ActionPerformed(java.awt.event.ActionEvent)">animAdd_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
254
+
255
+<BR>
256
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
257
+</TR>
258
+<TR BGCOLOR="white" CLASS="TableRowColor">
259
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260
+<CODE>&nbsp;void</CODE></FONT></TD>
261
+<TD><CODE><B><A HREF="frame.html#animDown_ActionPerformed(java.awt.event.ActionEvent)">animDown_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
262
+
263
+<BR>
264
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
265
+</TR>
266
+<TR BGCOLOR="white" CLASS="TableRowColor">
267
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268
+<CODE>&nbsp;void</CODE></FONT></TD>
269
+<TD><CODE><B><A HREF="frame.html#animRemove_ActionPerformed(java.awt.event.ActionEvent)">animRemove_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
270
+
271
+<BR>
272
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
273
+</TR>
274
+<TR BGCOLOR="white" CLASS="TableRowColor">
275
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276
+<CODE>&nbsp;void</CODE></FONT></TD>
277
+<TD><CODE><B><A HREF="frame.html#animUp_ActionPerformed(java.awt.event.ActionEvent)">animUp_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
278
+
279
+<BR>
280
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
281
+</TR>
282
+<TR BGCOLOR="white" CLASS="TableRowColor">
283
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284
+<CODE>&nbsp;void</CODE></FONT></TD>
285
+<TD><CODE><B><A HREF="frame.html#download_ActionPerformed(java.awt.event.ActionEvent)">download_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
286
+
287
+<BR>
288
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
289
+</TR>
290
+<TR BGCOLOR="white" CLASS="TableRowColor">
291
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292
+<CODE>&nbsp;void</CODE></FONT></TD>
293
+<TD><CODE><B><A HREF="frame.html#editA_ActionPerformed(java.awt.event.ActionEvent)">editA_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
294
+
295
+<BR>
296
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
297
+</TR>
298
+<TR BGCOLOR="white" CLASS="TableRowColor">
299
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
300
+<CODE>&nbsp;void</CODE></FONT></TD>
301
+<TD><CODE><B><A HREF="frame.html#editB_ActionPerformed(java.awt.event.ActionEvent)">editB_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
302
+
303
+<BR>
304
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
305
+</TR>
306
+<TR BGCOLOR="white" CLASS="TableRowColor">
307
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308
+<CODE>&nbsp;void</CODE></FONT></TD>
309
+<TD><CODE><B><A HREF="frame.html#editC_ActionPerformed(java.awt.event.ActionEvent)">editC_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
310
+
311
+<BR>
312
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
313
+</TR>
314
+<TR BGCOLOR="white" CLASS="TableRowColor">
315
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316
+<CODE>&nbsp;void</CODE></FONT></TD>
317
+<TD><CODE><B><A HREF="frame.html#editD_ActionPerformed(java.awt.event.ActionEvent)">editD_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
318
+
319
+<BR>
320
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
321
+</TR>
322
+<TR BGCOLOR="white" CLASS="TableRowColor">
323
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
324
+<CODE>&nbsp;void</CODE></FONT></TD>
325
+<TD><CODE><B><A HREF="frame.html#editE_ActionPerformed(java.awt.event.ActionEvent)">editE_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
326
+
327
+<BR>
328
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
329
+</TR>
330
+<TR BGCOLOR="white" CLASS="TableRowColor">
331
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
332
+<CODE>&nbsp;void</CODE></FONT></TD>
333
+<TD><CODE><B><A HREF="frame.html#editF_ActionPerformed(java.awt.event.ActionEvent)">editF_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
334
+
335
+<BR>
336
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
337
+</TR>
338
+<TR BGCOLOR="white" CLASS="TableRowColor">
339
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
340
+<CODE>&nbsp;void</CODE></FONT></TD>
341
+<TD><CODE><B><A HREF="frame.html#editG_ActionPerformed(java.awt.event.ActionEvent)">editG_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
342
+
343
+<BR>
344
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
345
+</TR>
346
+<TR BGCOLOR="white" CLASS="TableRowColor">
347
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
348
+<CODE>&nbsp;void</CODE></FONT></TD>
349
+<TD><CODE><B><A HREF="frame.html#editH_ActionPerformed(java.awt.event.ActionEvent)">editH_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
350
+
351
+<BR>
352
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
353
+</TR>
354
+<TR BGCOLOR="white" CLASS="TableRowColor">
355
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
356
+<CODE>&nbsp;void</CODE></FONT></TD>
357
+<TD><CODE><B><A HREF="frame.html#frameAdd_ActionPerformed(java.awt.event.ActionEvent)">frameAdd_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
358
+
359
+<BR>
360
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
361
+</TR>
362
+<TR BGCOLOR="white" CLASS="TableRowColor">
363
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
364
+<CODE>&nbsp;void</CODE></FONT></TD>
365
+<TD><CODE><B><A HREF="frame.html#frameDown_ActionPerformed(java.awt.event.ActionEvent)">frameDown_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
366
+
367
+<BR>
368
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
369
+</TR>
370
+<TR BGCOLOR="white" CLASS="TableRowColor">
371
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
372
+<CODE>&nbsp;void</CODE></FONT></TD>
373
+<TD><CODE><B><A HREF="frame.html#frameRemove_ActionPerformed(java.awt.event.ActionEvent)">frameRemove_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
374
+
375
+<BR>
376
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
377
+</TR>
378
+<TR BGCOLOR="white" CLASS="TableRowColor">
379
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
380
+<CODE>&nbsp;void</CODE></FONT></TD>
381
+<TD><CODE><B><A HREF="frame.html#frameUp_ActionPerformed(java.awt.event.ActionEvent)">frameUp_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
382
+
383
+<BR>
384
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
385
+</TR>
386
+<TR BGCOLOR="white" CLASS="TableRowColor">
387
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
388
+<CODE>&nbsp;<A HREF="Led3D.html" title="class in &lt;Unnamed&gt;">Led3D</A></CODE></FONT></TD>
389
+<TD><CODE><B><A HREF="frame.html#get3D()">get3D</A></B>()</CODE>
390
+
391
+<BR>
392
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
393
+</TR>
394
+<TR BGCOLOR="white" CLASS="TableRowColor">
395
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
396
+<CODE>&nbsp;void</CODE></FONT></TD>
397
+<TD><CODE><B><A HREF="frame.html#load_ActionPerformed(java.awt.event.ActionEvent)">load_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
398
+
399
+<BR>
400
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
401
+</TR>
402
+<TR BGCOLOR="white" CLASS="TableRowColor">
403
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404
+<CODE>static&nbsp;void</CODE></FONT></TD>
405
+<TD><CODE><B><A HREF="frame.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
406
+
407
+<BR>
408
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
409
+</TR>
410
+<TR BGCOLOR="white" CLASS="TableRowColor">
411
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
412
+<CODE>&nbsp;void</CODE></FONT></TD>
413
+<TD><CODE><B><A HREF="frame.html#save_ActionPerformed(java.awt.event.ActionEvent)">save_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
414
+
415
+<BR>
416
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
417
+</TR>
418
+<TR BGCOLOR="white" CLASS="TableRowColor">
419
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
420
+<CODE>&nbsp;void</CODE></FONT></TD>
421
+<TD><CODE><B><A HREF="frame.html#saveAs_ActionPerformed(java.awt.event.ActionEvent)">saveAs_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
422
+
423
+<BR>
424
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
425
+</TR>
426
+<TR BGCOLOR="white" CLASS="TableRowColor">
427
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
428
+<CODE>&nbsp;void</CODE></FONT></TD>
429
+<TD><CODE><B><A HREF="frame.html#upload_ActionPerformed(java.awt.event.ActionEvent)">upload_ActionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;evt)</CODE>
430
+
431
+<BR>
432
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
433
+</TR>
434
+<TR BGCOLOR="white" CLASS="TableRowColor">
435
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
436
+<CODE>&nbsp;void</CODE></FONT></TD>
437
+<TD><CODE><B><A HREF="frame.html#valueChanged(javax.swing.event.ListSelectionEvent)">valueChanged</A></B>(javax.swing.event.ListSelectionEvent&nbsp;evt)</CODE>
438
+
439
+<BR>
440
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
441
+</TR>
442
+</TABLE>
443
+&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JFrame"><!-- --></A>
444
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
445
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
446
+<TH ALIGN="left"><B>Methods inherited from class javax.swing.JFrame</B></TH>
447
+</TR>
448
+<TR BGCOLOR="white" CLASS="TableRowColor">
449
+<TD><CODE>addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</CODE></TD>
450
+</TR>
451
+</TABLE>
452
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.Frame"><!-- --></A>
453
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
454
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
455
+<TH ALIGN="left"><B>Methods inherited from class java.awt.Frame</B></TH>
456
+</TR>
457
+<TR BGCOLOR="white" CLASS="TableRowColor">
458
+<TD><CODE>addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated</CODE></TD>
459
+</TR>
460
+</TABLE>
461
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.Window"><!-- --></A>
462
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
463
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
464
+<TH ALIGN="left"><B>Methods inherited from class java.awt.Window</B></TH>
465
+</TR>
466
+<TR BGCOLOR="white" CLASS="TableRowColor">
467
+<TD><CODE>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront</CODE></TD>
468
+</TR>
469
+</TABLE>
470
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
471
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
472
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
473
+<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
474
+</TR>
475
+<TR BGCOLOR="white" CLASS="TableRowColor">
476
+<TD><CODE>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
477
+</TR>
478
+</TABLE>
479
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
480
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
481
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
482
+<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
483
+</TR>
484
+<TR BGCOLOR="white" CLASS="TableRowColor">
485
+<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
486
+</TR>
487
+</TABLE>
488
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
489
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
490
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
491
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
492
+</TR>
493
+<TR BGCOLOR="white" CLASS="TableRowColor">
494
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
495
+</TR>
496
+</TABLE>
497
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.MenuContainer"><!-- --></A>
498
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
499
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
500
+<TH ALIGN="left"><B>Methods inherited from interface java.awt.MenuContainer</B></TH>
501
+</TR>
502
+<TR BGCOLOR="white" CLASS="TableRowColor">
503
+<TD><CODE>getFont, postEvent</CODE></TD>
504
+</TR>
505
+</TABLE>
506
+&nbsp;
507
+<P>
508
+
509
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
510
+
511
+<A NAME="constructor_detail"><!-- --></A>
512
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
513
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
514
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
515
+<B>Constructor Detail</B></FONT></TH>
516
+</TR>
517
+</TABLE>
518
+
519
+<A NAME="frame(java.lang.String)"><!-- --></A><H3>
520
+frame</H3>
521
+<PRE>
522
+public <B>frame</B>(java.lang.String&nbsp;title)</PRE>
523
+<DL>
524
+</DL>
525
+
526
+<!-- ============ METHOD DETAIL ========== -->
527
+
528
+<A NAME="method_detail"><!-- --></A>
529
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
530
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
531
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
532
+<B>Method Detail</B></FONT></TH>
533
+</TR>
534
+</TABLE>
535
+
536
+<A NAME="valueChanged(javax.swing.event.ListSelectionEvent)"><!-- --></A><H3>
537
+valueChanged</H3>
538
+<PRE>
539
+public void <B>valueChanged</B>(javax.swing.event.ListSelectionEvent&nbsp;evt)</PRE>
540
+<DL>
541
+<DD><DL>
542
+<DT><B>Specified by:</B><DD><CODE>valueChanged</CODE> in interface <CODE>javax.swing.event.ListSelectionListener</CODE></DL>
543
+</DD>
544
+<DD><DL>
545
+</DL>
546
+</DD>
547
+</DL>
548
+<HR>
549
+
550
+<A NAME="editA_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
551
+editA_ActionPerformed</H3>
552
+<PRE>
553
+public void <B>editA_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
554
+<DL>
555
+<DD><DL>
556
+</DL>
557
+</DD>
558
+<DD><DL>
559
+</DL>
560
+</DD>
561
+</DL>
562
+<HR>
563
+
564
+<A NAME="editB_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
565
+editB_ActionPerformed</H3>
566
+<PRE>
567
+public void <B>editB_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
568
+<DL>
569
+<DD><DL>
570
+</DL>
571
+</DD>
572
+<DD><DL>
573
+</DL>
574
+</DD>
575
+</DL>
576
+<HR>
577
+
578
+<A NAME="editC_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
579
+editC_ActionPerformed</H3>
580
+<PRE>
581
+public void <B>editC_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
582
+<DL>
583
+<DD><DL>
584
+</DL>
585
+</DD>
586
+<DD><DL>
587
+</DL>
588
+</DD>
589
+</DL>
590
+<HR>
591
+
592
+<A NAME="editD_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
593
+editD_ActionPerformed</H3>
594
+<PRE>
595
+public void <B>editD_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
596
+<DL>
597
+<DD><DL>
598
+</DL>
599
+</DD>
600
+<DD><DL>
601
+</DL>
602
+</DD>
603
+</DL>
604
+<HR>
605
+
606
+<A NAME="editE_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
607
+editE_ActionPerformed</H3>
608
+<PRE>
609
+public void <B>editE_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
610
+<DL>
611
+<DD><DL>
612
+</DL>
613
+</DD>
614
+<DD><DL>
615
+</DL>
616
+</DD>
617
+</DL>
618
+<HR>
619
+
620
+<A NAME="editF_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
621
+editF_ActionPerformed</H3>
622
+<PRE>
623
+public void <B>editF_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
624
+<DL>
625
+<DD><DL>
626
+</DL>
627
+</DD>
628
+<DD><DL>
629
+</DL>
630
+</DD>
631
+</DL>
632
+<HR>
633
+
634
+<A NAME="editG_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
635
+editG_ActionPerformed</H3>
636
+<PRE>
637
+public void <B>editG_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
638
+<DL>
639
+<DD><DL>
640
+</DL>
641
+</DD>
642
+<DD><DL>
643
+</DL>
644
+</DD>
645
+</DL>
646
+<HR>
647
+
648
+<A NAME="editH_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
649
+editH_ActionPerformed</H3>
650
+<PRE>
651
+public void <B>editH_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
652
+<DL>
653
+<DD><DL>
654
+</DL>
655
+</DD>
656
+<DD><DL>
657
+</DL>
658
+</DD>
659
+</DL>
660
+<HR>
661
+
662
+<A NAME="frameUp_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
663
+frameUp_ActionPerformed</H3>
664
+<PRE>
665
+public void <B>frameUp_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
666
+<DL>
667
+<DD><DL>
668
+</DL>
669
+</DD>
670
+<DD><DL>
671
+</DL>
672
+</DD>
673
+</DL>
674
+<HR>
675
+
676
+<A NAME="frameDown_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
677
+frameDown_ActionPerformed</H3>
678
+<PRE>
679
+public void <B>frameDown_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
680
+<DL>
681
+<DD><DL>
682
+</DL>
683
+</DD>
684
+<DD><DL>
685
+</DL>
686
+</DD>
687
+</DL>
688
+<HR>
689
+
690
+<A NAME="frameAdd_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
691
+frameAdd_ActionPerformed</H3>
692
+<PRE>
693
+public void <B>frameAdd_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
694
+<DL>
695
+<DD><DL>
696
+</DL>
697
+</DD>
698
+<DD><DL>
699
+</DL>
700
+</DD>
701
+</DL>
702
+<HR>
703
+
704
+<A NAME="frameRemove_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
705
+frameRemove_ActionPerformed</H3>
706
+<PRE>
707
+public void <B>frameRemove_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
708
+<DL>
709
+<DD><DL>
710
+</DL>
711
+</DD>
712
+<DD><DL>
713
+</DL>
714
+</DD>
715
+</DL>
716
+<HR>
717
+
718
+<A NAME="animUp_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
719
+animUp_ActionPerformed</H3>
720
+<PRE>
721
+public void <B>animUp_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
722
+<DL>
723
+<DD><DL>
724
+</DL>
725
+</DD>
726
+<DD><DL>
727
+</DL>
728
+</DD>
729
+</DL>
730
+<HR>
731
+
732
+<A NAME="animDown_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
733
+animDown_ActionPerformed</H3>
734
+<PRE>
735
+public void <B>animDown_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
736
+<DL>
737
+<DD><DL>
738
+</DL>
739
+</DD>
740
+<DD><DL>
741
+</DL>
742
+</DD>
743
+</DL>
744
+<HR>
745
+
746
+<A NAME="animAdd_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
747
+animAdd_ActionPerformed</H3>
748
+<PRE>
749
+public void <B>animAdd_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
750
+<DL>
751
+<DD><DL>
752
+</DL>
753
+</DD>
754
+<DD><DL>
755
+</DL>
756
+</DD>
757
+</DL>
758
+<HR>
759
+
760
+<A NAME="animRemove_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
761
+animRemove_ActionPerformed</H3>
762
+<PRE>
763
+public void <B>animRemove_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
764
+<DL>
765
+<DD><DL>
766
+</DL>
767
+</DD>
768
+<DD><DL>
769
+</DL>
770
+</DD>
771
+</DL>
772
+<HR>
773
+
774
+<A NAME="load_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
775
+load_ActionPerformed</H3>
776
+<PRE>
777
+public void <B>load_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
778
+<DL>
779
+<DD><DL>
780
+</DL>
781
+</DD>
782
+<DD><DL>
783
+</DL>
784
+</DD>
785
+</DL>
786
+<HR>
787
+
788
+<A NAME="save_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
789
+save_ActionPerformed</H3>
790
+<PRE>
791
+public void <B>save_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
792
+<DL>
793
+<DD><DL>
794
+</DL>
795
+</DD>
796
+<DD><DL>
797
+</DL>
798
+</DD>
799
+</DL>
800
+<HR>
801
+
802
+<A NAME="saveAs_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
803
+saveAs_ActionPerformed</H3>
804
+<PRE>
805
+public void <B>saveAs_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
806
+<DL>
807
+<DD><DL>
808
+</DL>
809
+</DD>
810
+<DD><DL>
811
+</DL>
812
+</DD>
813
+</DL>
814
+<HR>
815
+
816
+<A NAME="upload_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
817
+upload_ActionPerformed</H3>
818
+<PRE>
819
+public void <B>upload_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
820
+<DL>
821
+<DD><DL>
822
+</DL>
823
+</DD>
824
+<DD><DL>
825
+</DL>
826
+</DD>
827
+</DL>
828
+<HR>
829
+
830
+<A NAME="download_ActionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
831
+download_ActionPerformed</H3>
832
+<PRE>
833
+public void <B>download_ActionPerformed</B>(java.awt.event.ActionEvent&nbsp;evt)</PRE>
834
+<DL>
835
+<DD><DL>
836
+</DL>
837
+</DD>
838
+<DD><DL>
839
+</DL>
840
+</DD>
841
+</DL>
842
+<HR>
843
+
844
+<A NAME="get3D()"><!-- --></A><H3>
845
+get3D</H3>
846
+<PRE>
847
+public <A HREF="Led3D.html" title="class in &lt;Unnamed&gt;">Led3D</A> <B>get3D</B>()</PRE>
848
+<DL>
849
+<DD><DL>
850
+</DL>
851
+</DD>
852
+<DD><DL>
853
+</DL>
854
+</DD>
855
+</DL>
856
+<HR>
857
+
858
+<A NAME="main(java.lang.String[])"><!-- --></A><H3>
859
+main</H3>
860
+<PRE>
861
+public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE>
862
+<DL>
863
+<DD><DL>
864
+</DL>
865
+</DD>
866
+<DD><DL>
867
+</DL>
868
+</DD>
869
+</DL>
870
+<!-- ========= END OF CLASS DATA ========= -->
871
+<HR>
872
+
873
+
874
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
875
+<A NAME="navbar_bottom"><!-- --></A>
876
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
877
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
878
+<TR>
879
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
880
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
881
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
882
+  <TR ALIGN="center" VALIGN="top">
883
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
884
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
885
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
886
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
887
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
888
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
889
+  </TR>
890
+</TABLE>
891
+</TD>
892
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
893
+</EM>
894
+</TD>
895
+</TR>
896
+
897
+<TR>
898
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
899
+&nbsp;<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
900
+&nbsp;<A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
901
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
902
+  <A HREF="index.html?frame.html" target="_top"><B>FRAMES</B></A>  &nbsp;
903
+&nbsp;<A HREF="frame.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
904
+&nbsp;<SCRIPT type="text/javascript">
905
+  <!--
906
+  if(window==top) {
907
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
908
+  }
909
+  //-->
910
+</SCRIPT>
911
+<NOSCRIPT>
912
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
913
+</NOSCRIPT>
914
+
915
+
916
+</FONT></TD>
917
+</TR>
918
+<TR>
919
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
920
+  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.swing.JFrame">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JFrame">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
921
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
922
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
923
+</TR>
924
+</TABLE>
925
+<A NAME="skip-navbar_bottom"></A>
926
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
927
+
928
+<HR>
929
+
930
+</BODY>
931
+</HTML>

+ 209
- 0
Cube Control/doc/help-doc.html View File

@@ -0,0 +1,209 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+API Help
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="API Help";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;PREV&nbsp;
57
+&nbsp;NEXT</FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+</TABLE>
76
+<A NAME="skip-navbar_top"></A>
77
+<!-- ========= END OF TOP NAVBAR ========= -->
78
+
79
+<HR>
80
+<CENTER>
81
+<H1>
82
+How This API Document Is Organized</H1>
83
+</CENTER>
84
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3>
85
+Package</H3>
86
+<BLOCKQUOTE>
87
+
88
+<P>
89
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:<UL>
90
+<LI>Interfaces (italic)<LI>Classes<LI>Enums<LI>Exceptions<LI>Errors<LI>Annotation Types</UL>
91
+</BLOCKQUOTE>
92
+<H3>
93
+Class/Interface</H3>
94
+<BLOCKQUOTE>
95
+
96
+<P>
97
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:<UL>
98
+<LI>Class inheritance diagram<LI>Direct Subclasses<LI>All Known Subinterfaces<LI>All Known Implementing Classes<LI>Class/interface declaration<LI>Class/interface description
99
+<P>
100
+<LI>Nested Class Summary<LI>Field Summary<LI>Constructor Summary<LI>Method Summary
101
+<P>
102
+<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL>
103
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</BLOCKQUOTE>
104
+</BLOCKQUOTE>
105
+<H3>
106
+Annotation Type</H3>
107
+<BLOCKQUOTE>
108
+
109
+<P>
110
+Each annotation type has its own separate page with the following sections:<UL>
111
+<LI>Annotation Type declaration<LI>Annotation Type description<LI>Required Element Summary<LI>Optional Element Summary<LI>Element Detail</UL>
112
+</BLOCKQUOTE>
113
+</BLOCKQUOTE>
114
+<H3>
115
+Enum</H3>
116
+<BLOCKQUOTE>
117
+
118
+<P>
119
+Each enum has its own separate page with the following sections:<UL>
120
+<LI>Enum declaration<LI>Enum description<LI>Enum Constant Summary<LI>Enum Constant Detail</UL>
121
+</BLOCKQUOTE>
122
+<H3>
123
+Tree (Class Hierarchy)</H3>
124
+<BLOCKQUOTE>
125
+There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL>
126
+<LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL>
127
+</BLOCKQUOTE>
128
+<H3>
129
+Deprecated API</H3>
130
+<BLOCKQUOTE>
131
+The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE>
132
+<H3>
133
+Index</H3>
134
+<BLOCKQUOTE>
135
+The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</BLOCKQUOTE>
136
+<H3>
137
+Prev/Next</H3>
138
+These links take you to the next or previous class, interface, package, or related page.<H3>
139
+Frames/No Frames</H3>
140
+These links show and hide the HTML frames.  All pages are available with or without frames.
141
+<P>
142
+<H3>
143
+Serialized Form</H3>
144
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
145
+<P>
146
+<H3>
147
+Constant Field Values</H3>
148
+The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.
149
+<P>
150
+<FONT SIZE="-1">
151
+<EM>
152
+This help file applies to API documentation generated using the standard doclet.</EM>
153
+</FONT>
154
+<BR>
155
+<HR>
156
+
157
+
158
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
159
+<A NAME="navbar_bottom"><!-- --></A>
160
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
161
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
162
+<TR>
163
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
164
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
165
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
166
+  <TR ALIGN="center" VALIGN="top">
167
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
168
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
169
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
170
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
171
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
172
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
173
+  </TR>
174
+</TABLE>
175
+</TD>
176
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
177
+</EM>
178
+</TD>
179
+</TR>
180
+
181
+<TR>
182
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
183
+&nbsp;PREV&nbsp;
184
+&nbsp;NEXT</FONT></TD>
185
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
186
+  <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A>  &nbsp;
187
+&nbsp;<A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
188
+&nbsp;<SCRIPT type="text/javascript">
189
+  <!--
190
+  if(window==top) {
191
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
192
+  }
193
+  //-->
194
+</SCRIPT>
195
+<NOSCRIPT>
196
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
197
+</NOSCRIPT>
198
+
199
+
200
+</FONT></TD>
201
+</TR>
202
+</TABLE>
203
+<A NAME="skip-navbar_bottom"></A>
204
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
205
+
206
+<HR>
207
+
208
+</BODY>
209
+</HTML>

+ 458
- 0
Cube Control/doc/index-all.html View File

@@ -0,0 +1,458 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+Index
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="Index";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;PREV&nbsp;
57
+&nbsp;NEXT</FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+</TABLE>
76
+<A NAME="skip-navbar_top"></A>
77
+<!-- ========= END OF TOP NAVBAR ========= -->
78
+
79
+<A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <HR>
80
+<A NAME="_A_"><!-- --></A><H2>
81
+<B>A</B></H2>
82
+<DL>
83
+<DT><A HREF="./Animation.html#add(int)"><B>add(int)</B></A> - 
84
+Method in class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
85
+<DD>Add a new (empty) frame at the specified position
86
+<DT><A HREF="./Animation.html#add(int, AFrame)"><B>add(int, AFrame)</B></A> - 
87
+Method in class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
88
+<DD>Add a specified frame at the specified position
89
+<DT><A HREF="./cubeWorker.html#addAnimation()"><B>addAnimation()</B></A> - 
90
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
91
+<DD>&nbsp;
92
+<DT><A HREF="./cubeWorker.html#addFrame(int)"><B>addFrame(int)</B></A> - 
93
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
94
+<DD>&nbsp;
95
+<DT><A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;"><B>AFrame</B></A> - Class in <A HREF="./package-summary.html">&lt;Unnamed&gt;</A><DD>The representation of a single frame.<DT><A HREF="./AFrame.html#AFrame()"><B>AFrame()</B></A> - 
96
+Constructor for class <A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
97
+<DD>&nbsp;
98
+<DT><A HREF="./frame.html#animAdd_ActionPerformed(java.awt.event.ActionEvent)"><B>animAdd_ActionPerformed(ActionEvent)</B></A> - 
99
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
100
+<DD>&nbsp;
101
+<DT><A HREF="./Animation.html" title="class in &lt;Unnamed&gt;"><B>Animation</B></A> - Class in <A HREF="./package-summary.html">&lt;Unnamed&gt;</A><DD>A collection of frames that represent an entire animation.<DT><A HREF="./Animation.html#Animation()"><B>Animation()</B></A> - 
102
+Constructor for class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
103
+<DD>&nbsp;
104
+<DT><A HREF="./AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>AnimationUtility</B></A> - Class in <A HREF="./package-summary.html">&lt;Unnamed&gt;</A><DD>A helper class that loads animations from a file or saves them to one.<DT><A HREF="./AnimationUtility.html#AnimationUtility()"><B>AnimationUtility()</B></A> - 
105
+Constructor for class <A HREF="./AnimationUtility.html" title="class in &lt;Unnamed&gt;">AnimationUtility</A>
106
+<DD>&nbsp;
107
+<DT><A HREF="./frame.html#animDown_ActionPerformed(java.awt.event.ActionEvent)"><B>animDown_ActionPerformed(ActionEvent)</B></A> - 
108
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
109
+<DD>&nbsp;
110
+<DT><A HREF="./frame.html#animRemove_ActionPerformed(java.awt.event.ActionEvent)"><B>animRemove_ActionPerformed(ActionEvent)</B></A> - 
111
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
112
+<DD>&nbsp;
113
+<DT><A HREF="./frame.html#animUp_ActionPerformed(java.awt.event.ActionEvent)"><B>animUp_ActionPerformed(ActionEvent)</B></A> - 
114
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
115
+<DD>&nbsp;
116
+</DL>
117
+<HR>
118
+<A NAME="_B_"><!-- --></A><H2>
119
+<B>B</B></H2>
120
+<DL>
121
+<DT><A HREF="./layerEditFrame.html#btnClicked(int, int)"><B>btnClicked(int, int)</B></A> - 
122
+Method in class <A HREF="./layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A>
123
+<DD>&nbsp;
124
+<DT><A HREF="./layerEditFrame.html#byteToShortArray(byte[])"><B>byteToShortArray(byte[])</B></A> - 
125
+Method in class <A HREF="./layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A>
126
+<DD>&nbsp;
127
+</DL>
128
+<HR>
129
+<A NAME="_C_"><!-- --></A><H2>
130
+<B>C</B></H2>
131
+<DL>
132
+<DT><A HREF="./layerEditFrame.html#cancel()"><B>cancel()</B></A> - 
133
+Method in class <A HREF="./layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A>
134
+<DD>&nbsp;
135
+<DT><A HREF="./cubeWorker.html#changedStateSinceSave()"><B>changedStateSinceSave()</B></A> - 
136
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
137
+<DD>&nbsp;
138
+<DT><A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;"><B>cubeWorker</B></A> - Class in <A HREF="./package-summary.html">&lt;Unnamed&gt;</A><DD>&nbsp;</DL>
139
+<HR>
140
+<A NAME="_D_"><!-- --></A><H2>
141
+<B>D</B></H2>
142
+<DL>
143
+<DT><A HREF="./frame.html#download_ActionPerformed(java.awt.event.ActionEvent)"><B>download_ActionPerformed(ActionEvent)</B></A> - 
144
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
145
+<DD>&nbsp;
146
+<DT><A HREF="./cubeWorker.html#downloadState(java.lang.String)"><B>downloadState(String)</B></A> - 
147
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
148
+<DD>&nbsp;
149
+</DL>
150
+<HR>
151
+<A NAME="_E_"><!-- --></A><H2>
152
+<B>E</B></H2>
153
+<DL>
154
+<DT><A HREF="./frame.html#editA_ActionPerformed(java.awt.event.ActionEvent)"><B>editA_ActionPerformed(ActionEvent)</B></A> - 
155
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
156
+<DD>&nbsp;
157
+<DT><A HREF="./frame.html#editB_ActionPerformed(java.awt.event.ActionEvent)"><B>editB_ActionPerformed(ActionEvent)</B></A> - 
158
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
159
+<DD>&nbsp;
160
+<DT><A HREF="./frame.html#editC_ActionPerformed(java.awt.event.ActionEvent)"><B>editC_ActionPerformed(ActionEvent)</B></A> - 
161
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
162
+<DD>&nbsp;
163
+<DT><A HREF="./frame.html#editD_ActionPerformed(java.awt.event.ActionEvent)"><B>editD_ActionPerformed(ActionEvent)</B></A> - 
164
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
165
+<DD>&nbsp;
166
+<DT><A HREF="./frame.html#editE_ActionPerformed(java.awt.event.ActionEvent)"><B>editE_ActionPerformed(ActionEvent)</B></A> - 
167
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
168
+<DD>&nbsp;
169
+<DT><A HREF="./frame.html#editF_ActionPerformed(java.awt.event.ActionEvent)"><B>editF_ActionPerformed(ActionEvent)</B></A> - 
170
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
171
+<DD>&nbsp;
172
+<DT><A HREF="./frame.html#editG_ActionPerformed(java.awt.event.ActionEvent)"><B>editG_ActionPerformed(ActionEvent)</B></A> - 
173
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
174
+<DD>&nbsp;
175
+<DT><A HREF="./frame.html#editH_ActionPerformed(java.awt.event.ActionEvent)"><B>editH_ActionPerformed(ActionEvent)</B></A> - 
176
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
177
+<DD>&nbsp;
178
+</DL>
179
+<HR>
180
+<A NAME="_F_"><!-- --></A><H2>
181
+<B>F</B></H2>
182
+<DL>
183
+<DT><A HREF="./frame.html" title="class in &lt;Unnamed&gt;"><B>frame</B></A> - Class in <A HREF="./package-summary.html">&lt;Unnamed&gt;</A><DD>&nbsp;<DT><A HREF="./frame.html#frame(java.lang.String)"><B>frame(String)</B></A> - 
184
+Constructor for class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
185
+<DD>&nbsp;
186
+<DT><A HREF="./frame.html#frameAdd_ActionPerformed(java.awt.event.ActionEvent)"><B>frameAdd_ActionPerformed(ActionEvent)</B></A> - 
187
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
188
+<DD>&nbsp;
189
+<DT><A HREF="./frame.html#frameDown_ActionPerformed(java.awt.event.ActionEvent)"><B>frameDown_ActionPerformed(ActionEvent)</B></A> - 
190
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
191
+<DD>&nbsp;
192
+<DT><A HREF="./frame.html#frameRemove_ActionPerformed(java.awt.event.ActionEvent)"><B>frameRemove_ActionPerformed(ActionEvent)</B></A> - 
193
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
194
+<DD>&nbsp;
195
+<DT><A HREF="./cubeWorker.html#framesRemaining()"><B>framesRemaining()</B></A> - 
196
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
197
+<DD>&nbsp;
198
+<DT><A HREF="./frame.html#frameUp_ActionPerformed(java.awt.event.ActionEvent)"><B>frameUp_ActionPerformed(ActionEvent)</B></A> - 
199
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
200
+<DD>&nbsp;
201
+</DL>
202
+<HR>
203
+<A NAME="_G_"><!-- --></A><H2>
204
+<B>G</B></H2>
205
+<DL>
206
+<DT><A HREF="./Animation.html#get(int)"><B>get(int)</B></A> - 
207
+Method in class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
208
+<DD>Gets the specified frame in this animation
209
+<DT><A HREF="./frame.html#get3D()"><B>get3D()</B></A> - 
210
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
211
+<DD>&nbsp;
212
+<DT><A HREF="./cubeWorker.html#getAnimationName(int)"><B>getAnimationName(int)</B></A> - 
213
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
214
+<DD>&nbsp;
215
+<DT><A HREF="./AFrame.html#getData()"><B>getData()</B></A> - 
216
+Method in class <A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
217
+<DD>Gets tha Data of this Frame
218
+<DT><A HREF="./cubeWorker.html#getFrame(int, int)"><B>getFrame(int, int)</B></A> - 
219
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
220
+<DD>&nbsp;
221
+<DT><A HREF="./cubeWorker.html#getFrameName(int, int)"><B>getFrameName(int, int)</B></A> - 
222
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
223
+<DD>&nbsp;
224
+<DT><A HREF="./cubeWorker.html#getFrameTime(int, int)"><B>getFrameTime(int, int)</B></A> - 
225
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
226
+<DD>&nbsp;
227
+<DT><A HREF="./AnimationUtility.html#getLastError()"><B>getLastError()</B></A> - 
228
+Static method in class <A HREF="./AnimationUtility.html" title="class in &lt;Unnamed&gt;">AnimationUtility</A>
229
+<DD>Get the last error that occured while writing
230
+<DT><A HREF="./AFrame.html#getLayer(int)"><B>getLayer(int)</B></A> - 
231
+Method in class <A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
232
+<DD>Gets the Data of the Layer you want
233
+<DT><A HREF="./AFrame.html#getName()"><B>getName()</B></A> - 
234
+Method in class <A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
235
+<DD>Gets the Name of this Frame
236
+<DT><A HREF="./Animation.html#getName()"><B>getName()</B></A> - 
237
+Method in class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
238
+<DD>Gets the name of this animation
239
+<DT><A HREF="./cubeWorker.html#getSerialPorts()"><B>getSerialPorts()</B></A> - 
240
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
241
+<DD>&nbsp;
242
+<DT><A HREF="./AFrame.html#getTime()"><B>getTime()</B></A> - 
243
+Method in class <A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
244
+<DD>Gets the Duration of this Frame
245
+</DL>
246
+<HR>
247
+<A NAME="_H_"><!-- --></A><H2>
248
+<B>H</B></H2>
249
+<DL>
250
+<DT><A HREF="./HelperUtility.html" title="class in &lt;Unnamed&gt;"><B>HelperUtility</B></A> - Class in <A HREF="./package-summary.html">&lt;Unnamed&gt;</A><DD>This helper class extracts the serialHelper from the JAR file, makes it executable and executes it with the given Command line arguments.<DT><A HREF="./HelperUtility.html#HelperUtility()"><B>HelperUtility()</B></A> - 
251
+Constructor for class <A HREF="./HelperUtility.html" title="class in &lt;Unnamed&gt;">HelperUtility</A>
252
+<DD>&nbsp;
253
+</DL>
254
+<HR>
255
+<A NAME="_L_"><!-- --></A><H2>
256
+<B>L</B></H2>
257
+<DL>
258
+<DT><A HREF="./layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>layerEditFrame</B></A> - Class in <A HREF="./package-summary.html">&lt;Unnamed&gt;</A><DD>&nbsp;<DT><A HREF="./layerEditFrame.html#layerEditFrame(int, int, int, cubeWorker)"><B>layerEditFrame(int, int, int, cubeWorker)</B></A> - 
259
+Constructor for class <A HREF="./layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A>
260
+<DD>&nbsp;
261
+<DT><A HREF="./Led3D.html" title="class in &lt;Unnamed&gt;"><B>Led3D</B></A> - Class in <A HREF="./package-summary.html">&lt;Unnamed&gt;</A><DD>This class is responsible for displaying the 3D View of our Cube.<DT><A HREF="./Led3D.html#Led3D(javax.media.j3d.Canvas3D)"><B>Led3D(Canvas3D)</B></A> - 
262
+Constructor for class <A HREF="./Led3D.html" title="class in &lt;Unnamed&gt;">Led3D</A>
263
+<DD>&nbsp;
264
+<DT><A HREF="./frame.html#load_ActionPerformed(java.awt.event.ActionEvent)"><B>load_ActionPerformed(ActionEvent)</B></A> - 
265
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
266
+<DD>&nbsp;
267
+<DT><A HREF="./cubeWorker.html#loadState(java.lang.String)"><B>loadState(String)</B></A> - 
268
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
269
+<DD>&nbsp;
270
+</DL>
271
+<HR>
272
+<A NAME="_M_"><!-- --></A><H2>
273
+<B>M</B></H2>
274
+<DL>
275
+<DT><A HREF="./frame.html#main(java.lang.String[])"><B>main(String[])</B></A> - 
276
+Static method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
277
+<DD>&nbsp;
278
+<DT><A HREF="./cubeWorker.html#moveAnimation(int, int)"><B>moveAnimation(int, int)</B></A> - 
279
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
280
+<DD>&nbsp;
281
+<DT><A HREF="./cubeWorker.html#moveFrame(int, int, int)"><B>moveFrame(int, int, int)</B></A> - 
282
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
283
+<DD>&nbsp;
284
+</DL>
285
+<HR>
286
+<A NAME="_N_"><!-- --></A><H2>
287
+<B>N</B></H2>
288
+<DL>
289
+<DT><A HREF="./cubeWorker.html#numOfAnimations()"><B>numOfAnimations()</B></A> - 
290
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
291
+<DD>&nbsp;
292
+<DT><A HREF="./cubeWorker.html#numOfFrames(int)"><B>numOfFrames(int)</B></A> - 
293
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
294
+<DD>&nbsp;
295
+</DL>
296
+<HR>
297
+<A NAME="_P_"><!-- --></A><H2>
298
+<B>P</B></H2>
299
+<DL>
300
+<DT><A HREF="./Led3D.html#printTranslationData()"><B>printTranslationData()</B></A> - 
301
+Method in class <A HREF="./Led3D.html" title="class in &lt;Unnamed&gt;">Led3D</A>
302
+<DD>Prints the translation matrix that is changed by moving/rotating the 3D Cube with your mouse.
303
+</DL>
304
+<HR>
305
+<A NAME="_R_"><!-- --></A><H2>
306
+<B>R</B></H2>
307
+<DL>
308
+<DT><A HREF="./AnimationUtility.html#readFile(java.lang.String)"><B>readFile(String)</B></A> - 
309
+Static method in class <A HREF="./AnimationUtility.html" title="class in &lt;Unnamed&gt;">AnimationUtility</A>
310
+<DD>Read a file, return ArrayList with all animations in the file.
311
+<DT><A HREF="./Animation.html#remove(int)"><B>remove(int)</B></A> - 
312
+Method in class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
313
+<DD>Removes a frame.
314
+<DT><A HREF="./cubeWorker.html#removeAnimation(int)"><B>removeAnimation(int)</B></A> - 
315
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
316
+<DD>&nbsp;
317
+<DT><A HREF="./cubeWorker.html#removeFrame(int, int)"><B>removeFrame(int, int)</B></A> - 
318
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
319
+<DD>&nbsp;
320
+<DT><A HREF="./HelperUtility.html#runHelper(java.lang.String[])"><B>runHelper(String[])</B></A> - 
321
+Static method in class <A HREF="./HelperUtility.html" title="class in &lt;Unnamed&gt;">HelperUtility</A>
322
+<DD>Run the serialHelper with the given arguments
323
+</DL>
324
+<HR>
325
+<A NAME="_S_"><!-- --></A><H2>
326
+<B>S</B></H2>
327
+<DL>
328
+<DT><A HREF="./layerEditFrame.html#save()"><B>save()</B></A> - 
329
+Method in class <A HREF="./layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A>
330
+<DD>&nbsp;
331
+<DT><A HREF="./frame.html#save_ActionPerformed(java.awt.event.ActionEvent)"><B>save_ActionPerformed(ActionEvent)</B></A> - 
332
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
333
+<DD>&nbsp;
334
+<DT><A HREF="./frame.html#saveAs_ActionPerformed(java.awt.event.ActionEvent)"><B>saveAs_ActionPerformed(ActionEvent)</B></A> - 
335
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
336
+<DD>&nbsp;
337
+<DT><A HREF="./cubeWorker.html#saveState(java.lang.String)"><B>saveState(String)</B></A> - 
338
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
339
+<DD>&nbsp;
340
+<DT><A HREF="./Animation.html#set(AFrame, int)"><B>set(AFrame, int)</B></A> - 
341
+Method in class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
342
+<DD>Sets the selected Frame
343
+<DT><A HREF="./cubeWorker.html#setAnimationName(java.lang.String, int)"><B>setAnimationName(String, int)</B></A> - 
344
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
345
+<DD>&nbsp;
346
+<DT><A HREF="./AFrame.html#setData(short[])"><B>setData(short[])</B></A> - 
347
+Method in class <A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
348
+<DD>Sets the Data of this Frame
349
+<DT><A HREF="./Led3D.html#setData(short[])"><B>setData(short[])</B></A> - 
350
+Method in class <A HREF="./Led3D.html" title="class in &lt;Unnamed&gt;">Led3D</A>
351
+<DD>Sets the data that is displayed by the LEDs
352
+<DT><A HREF="./cubeWorker.html#setFrame(short[], int, int)"><B>setFrame(short[], int, int)</B></A> - 
353
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
354
+<DD>&nbsp;
355
+<DT><A HREF="./cubeWorker.html#setFrameName(java.lang.String, int, int)"><B>setFrameName(String, int, int)</B></A> - 
356
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
357
+<DD>&nbsp;
358
+<DT><A HREF="./cubeWorker.html#setFrameTime(short, int, int)"><B>setFrameTime(short, int, int)</B></A> - 
359
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
360
+<DD>&nbsp;
361
+<DT><A HREF="./AFrame.html#setName(java.lang.String)"><B>setName(String)</B></A> - 
362
+Method in class <A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
363
+<DD>Sets the Name of this Frame
364
+<DT><A HREF="./Animation.html#setName(java.lang.String)"><B>setName(String)</B></A> - 
365
+Method in class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
366
+<DD>Sets the name of this animation
367
+<DT><A HREF="./AFrame.html#setTime(short)"><B>setTime(short)</B></A> - 
368
+Method in class <A HREF="./AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A>
369
+<DD>Sets the Duration of this Frame
370
+<DT><A HREF="./layerEditFrame.html#shortToByteArray(short[])"><B>shortToByteArray(short[])</B></A> - 
371
+Method in class <A HREF="./layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A>
372
+<DD>&nbsp;
373
+<DT><A HREF="./Animation.html#size()"><B>size()</B></A> - 
374
+Method in class <A HREF="./Animation.html" title="class in &lt;Unnamed&gt;">Animation</A>
375
+<DD>Return size of this animation, in number of frames
376
+</DL>
377
+<HR>
378
+<A NAME="_U_"><!-- --></A><H2>
379
+<B>U</B></H2>
380
+<DL>
381
+<DT><A HREF="./frame.html#upload_ActionPerformed(java.awt.event.ActionEvent)"><B>upload_ActionPerformed(ActionEvent)</B></A> - 
382
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
383
+<DD>&nbsp;
384
+<DT><A HREF="./cubeWorker.html#uploadState(java.lang.String)"><B>uploadState(String)</B></A> - 
385
+Method in class <A HREF="./cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>
386
+<DD>&nbsp;
387
+</DL>
388
+<HR>
389
+<A NAME="_V_"><!-- --></A><H2>
390
+<B>V</B></H2>
391
+<DL>
392
+<DT><A HREF="./frame.html#valueChanged(javax.swing.event.ListSelectionEvent)"><B>valueChanged(ListSelectionEvent)</B></A> - 
393
+Method in class <A HREF="./frame.html" title="class in &lt;Unnamed&gt;">frame</A>
394
+<DD>&nbsp;
395
+</DL>
396
+<HR>
397
+<A NAME="_W_"><!-- --></A><H2>
398
+<B>W</B></H2>
399
+<DL>
400
+<DT><A HREF="./AnimationUtility.html#writeFile(java.lang.String, java.util.ArrayList)"><B>writeFile(String, ArrayList&lt;Animation&gt;)</B></A> - 
401
+Static method in class <A HREF="./AnimationUtility.html" title="class in &lt;Unnamed&gt;">AnimationUtility</A>
402
+<DD>Write a file with all Animations of an ArrayList
403
+</DL>
404
+<HR>
405
+<A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> 
406
+
407
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
408
+<A NAME="navbar_bottom"><!-- --></A>
409
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
410
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
411
+<TR>
412
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
413
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
414
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
415
+  <TR ALIGN="center" VALIGN="top">
416
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
417
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
418
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
419
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
420
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
421
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
422
+  </TR>
423
+</TABLE>
424
+</TD>
425
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
426
+</EM>
427
+</TD>
428
+</TR>
429
+
430
+<TR>
431
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
432
+&nbsp;PREV&nbsp;
433
+&nbsp;NEXT</FONT></TD>
434
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
435
+  <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>  &nbsp;
436
+&nbsp;<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
437
+&nbsp;<SCRIPT type="text/javascript">
438
+  <!--
439
+  if(window==top) {
440
+    document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
441
+  }
442
+  //-->
443
+</SCRIPT>
444
+<NOSCRIPT>
445
+  <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
446
+</NOSCRIPT>
447
+
448
+
449
+</FONT></TD>
450
+</TR>
451
+</TABLE>
452
+<A NAME="skip-navbar_bottom"></A>
453
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
454
+
455
+<HR>
456
+
457
+</BODY>
458
+</HTML>

+ 36
- 0
Cube Control/doc/index.html View File

@@ -0,0 +1,36 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc on Sun Dec 04 21:35:12 CET 2011-->
6
+<TITLE>
7
+Generated Documentation (Untitled)
8
+</TITLE>
9
+<SCRIPT type="text/javascript">
10
+    targetPage = "" + window.location.search;
11
+    if (targetPage != "" && targetPage != "undefined")
12
+        targetPage = targetPage.substring(1);
13
+    if (targetPage.indexOf(":") != -1)
14
+        targetPage = "undefined";
15
+    function loadFrames() {
16
+        if (targetPage != "" && targetPage != "undefined")
17
+             top.classFrame.location = top.targetPage;
18
+    }
19
+</SCRIPT>
20
+<NOSCRIPT>
21
+</NOSCRIPT>
22
+</HEAD>
23
+<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
24
+<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
25
+<FRAME src="AFrame.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
26
+<NOFRAMES>
27
+<H2>
28
+Frame Alert</H2>
29
+
30
+<P>
31
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
32
+<BR>
33
+Link to<A HREF="AFrame.html">Non-frame version.</A>
34
+</NOFRAMES>
35
+</FRAMESET>
36
+</HTML>

+ 506
- 0
Cube Control/doc/layerEditFrame.html View File

@@ -0,0 +1,506 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+layerEditFrame
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="layerEditFrame";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;<A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
57
+&nbsp;<A HREF="Led3D.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?layerEditFrame.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="layerEditFrame.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+<TR>
76
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
+  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.swing.JFrame">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JFrame">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80
+</TR>
81
+</TABLE>
82
+<A NAME="skip-navbar_top"></A>
83
+<!-- ========= END OF TOP NAVBAR ========= -->
84
+
85
+<HR>
86
+<!-- ======== START OF CLASS DATA ======== -->
87
+<H2>
88
+Class layerEditFrame</H2>
89
+<PRE>
90
+java.lang.Object
91
+  <IMG SRC="./resources/inherit.gif" ALT="extended by ">java.awt.Component
92
+      <IMG SRC="./resources/inherit.gif" ALT="extended by ">java.awt.Container
93
+          <IMG SRC="./resources/inherit.gif" ALT="extended by ">java.awt.Window
94
+              <IMG SRC="./resources/inherit.gif" ALT="extended by ">java.awt.Frame
95
+                  <IMG SRC="./resources/inherit.gif" ALT="extended by ">javax.swing.JFrame
96
+                      <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>layerEditFrame</B>
97
+</PRE>
98
+<DL>
99
+<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants</DD>
100
+</DL>
101
+<HR>
102
+<DL>
103
+<DT><PRE>public class <B>layerEditFrame</B><DT>extends javax.swing.JFrame</DL>
104
+</PRE>
105
+
106
+<P>
107
+<DL>
108
+<DT><B>See Also:</B><DD><A HREF="serialized-form.html#layerEditFrame">Serialized Form</A></DL>
109
+<HR>
110
+
111
+<P>
112
+<!-- ======== NESTED CLASS SUMMARY ======== -->
113
+
114
+<A NAME="nested_class_summary"><!-- --></A>
115
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118
+<B>Nested Class Summary</B></FONT></TH>
119
+</TR>
120
+</TABLE>
121
+&nbsp;<A NAME="nested_classes_inherited_from_class_javax.swing.JFrame"><!-- --></A>
122
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
124
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JFrame</B></TH>
125
+</TR>
126
+<TR BGCOLOR="white" CLASS="TableRowColor">
127
+<TD><CODE>javax.swing.JFrame.AccessibleJFrame</CODE></TD>
128
+</TR>
129
+</TABLE>
130
+&nbsp;
131
+<A NAME="nested_classes_inherited_from_class_java.awt.Frame"><!-- --></A>
132
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
134
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Frame</B></TH>
135
+</TR>
136
+<TR BGCOLOR="white" CLASS="TableRowColor">
137
+<TD><CODE>java.awt.Frame.AccessibleAWTFrame</CODE></TD>
138
+</TR>
139
+</TABLE>
140
+&nbsp;
141
+<A NAME="nested_classes_inherited_from_class_java.awt.Window"><!-- --></A>
142
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
144
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Window</B></TH>
145
+</TR>
146
+<TR BGCOLOR="white" CLASS="TableRowColor">
147
+<TD><CODE>java.awt.Window.AccessibleAWTWindow</CODE></TD>
148
+</TR>
149
+</TABLE>
150
+&nbsp;
151
+<A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A>
152
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
154
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH>
155
+</TR>
156
+<TR BGCOLOR="white" CLASS="TableRowColor">
157
+<TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD>
158
+</TR>
159
+</TABLE>
160
+&nbsp;
161
+<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
162
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
164
+<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
165
+</TR>
166
+<TR BGCOLOR="white" CLASS="TableRowColor">
167
+<TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD>
168
+</TR>
169
+</TABLE>
170
+&nbsp;
171
+<!-- =========== FIELD SUMMARY =========== -->
172
+
173
+<A NAME="field_summary"><!-- --></A>
174
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
175
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
176
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
177
+<B>Field Summary</B></FONT></TH>
178
+</TR>
179
+</TABLE>
180
+&nbsp;<A NAME="fields_inherited_from_class_javax.swing.JFrame"><!-- --></A>
181
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
183
+<TH ALIGN="left"><B>Fields inherited from class javax.swing.JFrame</B></TH>
184
+</TR>
185
+<TR BGCOLOR="white" CLASS="TableRowColor">
186
+<TD><CODE>accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled</CODE></TD>
187
+</TR>
188
+</TABLE>
189
+&nbsp;<A NAME="fields_inherited_from_class_java.awt.Frame"><!-- --></A>
190
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
191
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
192
+<TH ALIGN="left"><B>Fields inherited from class java.awt.Frame</B></TH>
193
+</TR>
194
+<TR BGCOLOR="white" CLASS="TableRowColor">
195
+<TD><CODE>CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR</CODE></TD>
196
+</TR>
197
+</TABLE>
198
+&nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
199
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
200
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
201
+<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
202
+</TR>
203
+<TR BGCOLOR="white" CLASS="TableRowColor">
204
+<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
205
+</TR>
206
+</TABLE>
207
+&nbsp;<A NAME="fields_inherited_from_class_javax.swing.WindowConstants"><!-- --></A>
208
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
210
+<TH ALIGN="left"><B>Fields inherited from interface javax.swing.WindowConstants</B></TH>
211
+</TR>
212
+<TR BGCOLOR="white" CLASS="TableRowColor">
213
+<TD><CODE>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE</CODE></TD>
214
+</TR>
215
+</TABLE>
216
+&nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
217
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
218
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
219
+<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
220
+</TR>
221
+<TR BGCOLOR="white" CLASS="TableRowColor">
222
+<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
223
+</TR>
224
+</TABLE>
225
+&nbsp;
226
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
227
+
228
+<A NAME="constructor_summary"><!-- --></A>
229
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
230
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
231
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
232
+<B>Constructor Summary</B></FONT></TH>
233
+</TR>
234
+<TR BGCOLOR="white" CLASS="TableRowColor">
235
+<TD><CODE><B><A HREF="layerEditFrame.html#layerEditFrame(int, int, int, cubeWorker)">layerEditFrame</A></B>(int&nbsp;animIndex,
236
+               int&nbsp;frameIndex,
237
+               int&nbsp;layerIndex,
238
+               <A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>&nbsp;work)</CODE>
239
+
240
+<BR>
241
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
242
+</TR>
243
+</TABLE>
244
+&nbsp;
245
+<!-- ========== METHOD SUMMARY =========== -->
246
+
247
+<A NAME="method_summary"><!-- --></A>
248
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
249
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
250
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
251
+<B>Method Summary</B></FONT></TH>
252
+</TR>
253
+<TR BGCOLOR="white" CLASS="TableRowColor">
254
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255
+<CODE>&nbsp;void</CODE></FONT></TD>
256
+<TD><CODE><B><A HREF="layerEditFrame.html#btnClicked(int, int)">btnClicked</A></B>(int&nbsp;i,
257
+           int&nbsp;j)</CODE>
258
+
259
+<BR>
260
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
261
+</TR>
262
+<TR BGCOLOR="white" CLASS="TableRowColor">
263
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264
+<CODE>&nbsp;short[]</CODE></FONT></TD>
265
+<TD><CODE><B><A HREF="layerEditFrame.html#byteToShortArray(byte[])">byteToShortArray</A></B>(byte[]&nbsp;tmpByte)</CODE>
266
+
267
+<BR>
268
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
269
+</TR>
270
+<TR BGCOLOR="white" CLASS="TableRowColor">
271
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
272
+<CODE>&nbsp;void</CODE></FONT></TD>
273
+<TD><CODE><B><A HREF="layerEditFrame.html#cancel()">cancel</A></B>()</CODE>
274
+
275
+<BR>
276
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
277
+</TR>
278
+<TR BGCOLOR="white" CLASS="TableRowColor">
279
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280
+<CODE>&nbsp;void</CODE></FONT></TD>
281
+<TD><CODE><B><A HREF="layerEditFrame.html#save()">save</A></B>()</CODE>
282
+
283
+<BR>
284
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
285
+</TR>
286
+<TR BGCOLOR="white" CLASS="TableRowColor">
287
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
288
+<CODE>&nbsp;byte[]</CODE></FONT></TD>
289
+<TD><CODE><B><A HREF="layerEditFrame.html#shortToByteArray(short[])">shortToByteArray</A></B>(short[]&nbsp;shrt)</CODE>
290
+
291
+<BR>
292
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
293
+</TR>
294
+</TABLE>
295
+&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JFrame"><!-- --></A>
296
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
297
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
298
+<TH ALIGN="left"><B>Methods inherited from class javax.swing.JFrame</B></TH>
299
+</TR>
300
+<TR BGCOLOR="white" CLASS="TableRowColor">
301
+<TD><CODE>addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update</CODE></TD>
302
+</TR>
303
+</TABLE>
304
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.Frame"><!-- --></A>
305
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
306
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
307
+<TH ALIGN="left"><B>Methods inherited from class java.awt.Frame</B></TH>
308
+</TR>
309
+<TR BGCOLOR="white" CLASS="TableRowColor">
310
+<TD><CODE>addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated</CODE></TD>
311
+</TR>
312
+</TABLE>
313
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.Window"><!-- --></A>
314
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
315
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
316
+<TH ALIGN="left"><B>Methods inherited from class java.awt.Window</B></TH>
317
+</TR>
318
+<TR BGCOLOR="white" CLASS="TableRowColor">
319
+<TD><CODE>addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront</CODE></TD>
320
+</TR>
321
+</TABLE>
322
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
323
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
324
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
325
+<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
326
+</TR>
327
+<TR BGCOLOR="white" CLASS="TableRowColor">
328
+<TD><CODE>add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
329
+</TR>
330
+</TABLE>
331
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
332
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
333
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
334
+<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
335
+</TR>
336
+<TR BGCOLOR="white" CLASS="TableRowColor">
337
+<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
338
+</TR>
339
+</TABLE>
340
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
341
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
342
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
343
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
344
+</TR>
345
+<TR BGCOLOR="white" CLASS="TableRowColor">
346
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
347
+</TR>
348
+</TABLE>
349
+&nbsp;<A NAME="methods_inherited_from_class_java.awt.MenuContainer"><!-- --></A>
350
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
351
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
352
+<TH ALIGN="left"><B>Methods inherited from interface java.awt.MenuContainer</B></TH>
353
+</TR>
354
+<TR BGCOLOR="white" CLASS="TableRowColor">
355
+<TD><CODE>getFont, postEvent</CODE></TD>
356
+</TR>
357
+</TABLE>
358
+&nbsp;
359
+<P>
360
+
361
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
362
+
363
+<A NAME="constructor_detail"><!-- --></A>
364
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
365
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
366
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
367
+<B>Constructor Detail</B></FONT></TH>
368
+</TR>
369
+</TABLE>
370
+
371
+<A NAME="layerEditFrame(int, int, int, cubeWorker)"><!-- --></A><H3>
372
+layerEditFrame</H3>
373
+<PRE>
374
+public <B>layerEditFrame</B>(int&nbsp;animIndex,
375
+                      int&nbsp;frameIndex,
376
+                      int&nbsp;layerIndex,
377
+                      <A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A>&nbsp;work)</PRE>
378
+<DL>
379
+</DL>
380
+
381
+<!-- ============ METHOD DETAIL ========== -->
382
+
383
+<A NAME="method_detail"><!-- --></A>
384
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
385
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
386
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
387
+<B>Method Detail</B></FONT></TH>
388
+</TR>
389
+</TABLE>
390
+
391
+<A NAME="btnClicked(int, int)"><!-- --></A><H3>
392
+btnClicked</H3>
393
+<PRE>
394
+public void <B>btnClicked</B>(int&nbsp;i,
395
+                       int&nbsp;j)</PRE>
396
+<DL>
397
+<DD><DL>
398
+</DL>
399
+</DD>
400
+</DL>
401
+<HR>
402
+
403
+<A NAME="cancel()"><!-- --></A><H3>
404
+cancel</H3>
405
+<PRE>
406
+public void <B>cancel</B>()</PRE>
407
+<DL>
408
+<DD><DL>
409
+</DL>
410
+</DD>
411
+</DL>
412
+<HR>
413
+
414
+<A NAME="save()"><!-- --></A><H3>
415
+save</H3>
416
+<PRE>
417
+public void <B>save</B>()</PRE>
418
+<DL>
419
+<DD><DL>
420
+</DL>
421
+</DD>
422
+</DL>
423
+<HR>
424
+
425
+<A NAME="shortToByteArray(short[])"><!-- --></A><H3>
426
+shortToByteArray</H3>
427
+<PRE>
428
+public byte[] <B>shortToByteArray</B>(short[]&nbsp;shrt)</PRE>
429
+<DL>
430
+<DD><DL>
431
+</DL>
432
+</DD>
433
+</DL>
434
+<HR>
435
+
436
+<A NAME="byteToShortArray(byte[])"><!-- --></A><H3>
437
+byteToShortArray</H3>
438
+<PRE>
439
+public short[] <B>byteToShortArray</B>(byte[]&nbsp;tmpByte)</PRE>
440
+<DL>
441
+<DD><DL>
442
+</DL>
443
+</DD>
444
+</DL>
445
+<!-- ========= END OF CLASS DATA ========= -->
446
+<HR>
447
+
448
+
449
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
450
+<A NAME="navbar_bottom"><!-- --></A>
451
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
452
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
453
+<TR>
454
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
455
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
456
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
457
+  <TR ALIGN="center" VALIGN="top">
458
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
459
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
460
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
461
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
462
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
463
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
464
+  </TR>
465
+</TABLE>
466
+</TD>
467
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
468
+</EM>
469
+</TD>
470
+</TR>
471
+
472
+<TR>
473
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
474
+&nbsp;<A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
475
+&nbsp;<A HREF="Led3D.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
476
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
477
+  <A HREF="index.html?layerEditFrame.html" target="_top"><B>FRAMES</B></A>  &nbsp;
478
+&nbsp;<A HREF="layerEditFrame.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
479
+&nbsp;<SCRIPT type="text/javascript">
480
+  <!--
481
+  if(window==top) {
482
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
483
+  }
484
+  //-->
485
+</SCRIPT>
486
+<NOSCRIPT>
487
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
488
+</NOSCRIPT>
489
+
490
+
491
+</FONT></TD>
492
+</TR>
493
+<TR>
494
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
495
+  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.swing.JFrame">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.JFrame">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
496
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
497
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
498
+</TR>
499
+</TABLE>
500
+<A NAME="skip-navbar_bottom"></A>
501
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
502
+
503
+<HR>
504
+
505
+</BODY>
506
+</HTML>

+ 160
- 0
Cube Control/doc/overview-tree.html View File

@@ -0,0 +1,160 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+Class Hierarchy
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="Class Hierarchy";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;PREV&nbsp;
57
+&nbsp;NEXT</FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+</TABLE>
76
+<A NAME="skip-navbar_top"></A>
77
+<!-- ========= END OF TOP NAVBAR ========= -->
78
+
79
+<HR>
80
+<CENTER>
81
+<H2>
82
+Hierarchy For All Packages</H2>
83
+</CENTER>
84
+<H2>
85
+Class Hierarchy
86
+</H2>
87
+<UL>
88
+<LI TYPE="circle">java.lang.Object<UL>
89
+<LI TYPE="circle"><A HREF="AFrame.html" title="class in &lt;Unnamed&gt;"><B>AFrame</B></A><LI TYPE="circle"><A HREF="Animation.html" title="class in &lt;Unnamed&gt;"><B>Animation</B></A><LI TYPE="circle"><A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>AnimationUtility</B></A><LI TYPE="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
90
+<UL>
91
+<LI TYPE="circle">java.awt.Container<UL>
92
+<LI TYPE="circle">java.awt.Window (implements javax.accessibility.Accessible)
93
+<UL>
94
+<LI TYPE="circle">java.awt.Frame (implements java.awt.MenuContainer)
95
+<UL>
96
+<LI TYPE="circle">javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
97
+<UL>
98
+<LI TYPE="circle"><A HREF="frame.html" title="class in &lt;Unnamed&gt;"><B>frame</B></A> (implements javax.swing.event.ListSelectionListener)
99
+<LI TYPE="circle"><A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>layerEditFrame</B></A></UL>
100
+</UL>
101
+</UL>
102
+</UL>
103
+</UL>
104
+<LI TYPE="circle"><A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;"><B>cubeWorker</B></A><LI TYPE="circle"><A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;"><B>HelperUtility</B></A><LI TYPE="circle"><A HREF="Led3D.html" title="class in &lt;Unnamed&gt;"><B>Led3D</B></A></UL>
105
+</UL>
106
+<HR>
107
+
108
+
109
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
110
+<A NAME="navbar_bottom"><!-- --></A>
111
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
112
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
113
+<TR>
114
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
115
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
116
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
117
+  <TR ALIGN="center" VALIGN="top">
118
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
119
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
120
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
121
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
122
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
123
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
124
+  </TR>
125
+</TABLE>
126
+</TD>
127
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
128
+</EM>
129
+</TD>
130
+</TR>
131
+
132
+<TR>
133
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
134
+&nbsp;PREV&nbsp;
135
+&nbsp;NEXT</FONT></TD>
136
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
137
+  <A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>  &nbsp;
138
+&nbsp;<A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
139
+&nbsp;<SCRIPT type="text/javascript">
140
+  <!--
141
+  if(window==top) {
142
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
143
+  }
144
+  //-->
145
+</SCRIPT>
146
+<NOSCRIPT>
147
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
148
+</NOSCRIPT>
149
+
150
+
151
+</FONT></TD>
152
+</TR>
153
+</TABLE>
154
+<A NAME="skip-navbar_bottom"></A>
155
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
156
+
157
+<HR>
158
+
159
+</BODY>
160
+</HTML>

+ 46
- 0
Cube Control/doc/package-frame.html View File

@@ -0,0 +1,46 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+&lt;Unnamed&gt;
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+
15
+</HEAD>
16
+
17
+<BODY BGCOLOR="white">
18
+<FONT size="+1" CLASS="FrameTitleFont">
19
+<A HREF="package-summary.html" target="classFrame">&lt;Unnamed&gt;</A></FONT>
20
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
21
+<TR>
22
+<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
23
+Classes</FONT>&nbsp;
24
+<FONT CLASS="FrameItemFont">
25
+<BR>
26
+<A HREF="AFrame.html" title="class in &lt;Unnamed&gt;" target="classFrame">AFrame</A>
27
+<BR>
28
+<A HREF="Animation.html" title="class in &lt;Unnamed&gt;" target="classFrame">Animation</A>
29
+<BR>
30
+<A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;" target="classFrame">AnimationUtility</A>
31
+<BR>
32
+<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;" target="classFrame">cubeWorker</A>
33
+<BR>
34
+<A HREF="frame.html" title="class in &lt;Unnamed&gt;" target="classFrame">frame</A>
35
+<BR>
36
+<A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;" target="classFrame">HelperUtility</A>
37
+<BR>
38
+<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;" target="classFrame">layerEditFrame</A>
39
+<BR>
40
+<A HREF="Led3D.html" title="class in &lt;Unnamed&gt;" target="classFrame">Led3D</A></FONT></TD>
41
+</TR>
42
+</TABLE>
43
+
44
+
45
+</BODY>
46
+</HTML>

+ 1
- 0
Cube Control/doc/package-list View File

@@ -0,0 +1 @@
1
+

+ 171
- 0
Cube Control/doc/package-summary.html View File

@@ -0,0 +1,171 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+
15
+</HEAD>
16
+
17
+<BODY BGCOLOR="white">
18
+<HR>
19
+
20
+
21
+<!-- ========= START OF TOP NAVBAR ======= -->
22
+<A NAME="navbar_top"><!-- --></A>
23
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
24
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
25
+<TR>
26
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
27
+<A NAME="navbar_top_firstrow"><!-- --></A>
28
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
29
+  <TR ALIGN="center" VALIGN="top">
30
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
31
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
32
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
33
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
34
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
35
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
36
+  </TR>
37
+</TABLE>
38
+</TD>
39
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
40
+</EM>
41
+</TD>
42
+</TR>
43
+
44
+<TR>
45
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
46
+&nbsp;PREV PACKAGE&nbsp;
47
+&nbsp;NEXT PACKAGE</FONT></TD>
48
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49
+  <A HREF="index.html?package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
50
+&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
51
+&nbsp;<SCRIPT type="text/javascript">
52
+  <!--
53
+  if(window==top) {
54
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
55
+  }
56
+  //-->
57
+</SCRIPT>
58
+<NOSCRIPT>
59
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
60
+</NOSCRIPT>
61
+
62
+
63
+</FONT></TD>
64
+</TR>
65
+</TABLE>
66
+<A NAME="skip-navbar_top"></A>
67
+<!-- ========= END OF TOP NAVBAR ========= -->
68
+
69
+<HR>
70
+<H2>
71
+Package &lt;Unnamed&gt;
72
+</H2>
73
+
74
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
75
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
76
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
77
+<B>Class Summary</B></FONT></TH>
78
+</TR>
79
+<TR BGCOLOR="white" CLASS="TableRowColor">
80
+<TD WIDTH="15%"><B><A HREF="AFrame.html" title="class in &lt;Unnamed&gt;">AFrame</A></B></TD>
81
+<TD>The representation of a single frame.</TD>
82
+</TR>
83
+<TR BGCOLOR="white" CLASS="TableRowColor">
84
+<TD WIDTH="15%"><B><A HREF="Animation.html" title="class in &lt;Unnamed&gt;">Animation</A></B></TD>
85
+<TD>A collection of frames that represent an entire animation.</TD>
86
+</TR>
87
+<TR BGCOLOR="white" CLASS="TableRowColor">
88
+<TD WIDTH="15%"><B><A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;">AnimationUtility</A></B></TD>
89
+<TD>A helper class that loads animations from a file or saves them to one.</TD>
90
+</TR>
91
+<TR BGCOLOR="white" CLASS="TableRowColor">
92
+<TD WIDTH="15%"><B><A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A></B></TD>
93
+<TD>&nbsp;</TD>
94
+</TR>
95
+<TR BGCOLOR="white" CLASS="TableRowColor">
96
+<TD WIDTH="15%"><B><A HREF="frame.html" title="class in &lt;Unnamed&gt;">frame</A></B></TD>
97
+<TD>&nbsp;</TD>
98
+</TR>
99
+<TR BGCOLOR="white" CLASS="TableRowColor">
100
+<TD WIDTH="15%"><B><A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;">HelperUtility</A></B></TD>
101
+<TD>This helper class extracts the serialHelper from the JAR file, makes it executable and executes it with the given Command line arguments.</TD>
102
+</TR>
103
+<TR BGCOLOR="white" CLASS="TableRowColor">
104
+<TD WIDTH="15%"><B><A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A></B></TD>
105
+<TD>&nbsp;</TD>
106
+</TR>
107
+<TR BGCOLOR="white" CLASS="TableRowColor">
108
+<TD WIDTH="15%"><B><A HREF="Led3D.html" title="class in &lt;Unnamed&gt;">Led3D</A></B></TD>
109
+<TD>This class is responsible for displaying the 3D View of our Cube.</TD>
110
+</TR>
111
+</TABLE>
112
+&nbsp;
113
+
114
+<P>
115
+<DL>
116
+</DL>
117
+<HR>
118
+
119
+
120
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
121
+<A NAME="navbar_bottom"><!-- --></A>
122
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
123
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
124
+<TR>
125
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
126
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
127
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
128
+  <TR ALIGN="center" VALIGN="top">
129
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
130
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
131
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
132
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
133
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
134
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
135
+  </TR>
136
+</TABLE>
137
+</TD>
138
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
139
+</EM>
140
+</TD>
141
+</TR>
142
+
143
+<TR>
144
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
145
+&nbsp;PREV PACKAGE&nbsp;
146
+&nbsp;NEXT PACKAGE</FONT></TD>
147
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
148
+  <A HREF="index.html?package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
149
+&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
150
+&nbsp;<SCRIPT type="text/javascript">
151
+  <!--
152
+  if(window==top) {
153
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
154
+  }
155
+  //-->
156
+</SCRIPT>
157
+<NOSCRIPT>
158
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
159
+</NOSCRIPT>
160
+
161
+
162
+</FONT></TD>
163
+</TR>
164
+</TABLE>
165
+<A NAME="skip-navbar_bottom"></A>
166
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
167
+
168
+<HR>
169
+
170
+</BODY>
171
+</HTML>

+ 161
- 0
Cube Control/doc/package-tree.html View File

@@ -0,0 +1,161 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+ Class Hierarchy
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title=" Class Hierarchy";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;PREV&nbsp;
57
+&nbsp;NEXT</FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?package-tree.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+</TABLE>
76
+<A NAME="skip-navbar_top"></A>
77
+<!-- ========= END OF TOP NAVBAR ========= -->
78
+
79
+<HR>
80
+<CENTER>
81
+<H2>
82
+Hierarchy For Package &lt;Unnamed&gt;
83
+</H2>
84
+</CENTER>
85
+<H2>
86
+Class Hierarchy
87
+</H2>
88
+<UL>
89
+<LI TYPE="circle">java.lang.Object<UL>
90
+<LI TYPE="circle"><A HREF="AFrame.html" title="class in &lt;Unnamed&gt;"><B>AFrame</B></A><LI TYPE="circle"><A HREF="Animation.html" title="class in &lt;Unnamed&gt;"><B>Animation</B></A><LI TYPE="circle"><A HREF="AnimationUtility.html" title="class in &lt;Unnamed&gt;"><B>AnimationUtility</B></A><LI TYPE="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
91
+<UL>
92
+<LI TYPE="circle">java.awt.Container<UL>
93
+<LI TYPE="circle">java.awt.Window (implements javax.accessibility.Accessible)
94
+<UL>
95
+<LI TYPE="circle">java.awt.Frame (implements java.awt.MenuContainer)
96
+<UL>
97
+<LI TYPE="circle">javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants)
98
+<UL>
99
+<LI TYPE="circle"><A HREF="frame.html" title="class in &lt;Unnamed&gt;"><B>frame</B></A> (implements javax.swing.event.ListSelectionListener)
100
+<LI TYPE="circle"><A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>layerEditFrame</B></A></UL>
101
+</UL>
102
+</UL>
103
+</UL>
104
+</UL>
105
+<LI TYPE="circle"><A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;"><B>cubeWorker</B></A><LI TYPE="circle"><A HREF="HelperUtility.html" title="class in &lt;Unnamed&gt;"><B>HelperUtility</B></A><LI TYPE="circle"><A HREF="Led3D.html" title="class in &lt;Unnamed&gt;"><B>Led3D</B></A></UL>
106
+</UL>
107
+<HR>
108
+
109
+
110
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
111
+<A NAME="navbar_bottom"><!-- --></A>
112
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
113
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
114
+<TR>
115
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
116
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
117
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
118
+  <TR ALIGN="center" VALIGN="top">
119
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
120
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
121
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&nbsp;</TD>
122
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
123
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
124
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
125
+  </TR>
126
+</TABLE>
127
+</TD>
128
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
129
+</EM>
130
+</TD>
131
+</TR>
132
+
133
+<TR>
134
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
135
+&nbsp;PREV&nbsp;
136
+&nbsp;NEXT</FONT></TD>
137
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
138
+  <A HREF="index.html?package-tree.html" target="_top"><B>FRAMES</B></A>  &nbsp;
139
+&nbsp;<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
140
+&nbsp;<SCRIPT type="text/javascript">
141
+  <!--
142
+  if(window==top) {
143
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
144
+  }
145
+  //-->
146
+</SCRIPT>
147
+<NOSCRIPT>
148
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
149
+</NOSCRIPT>
150
+
151
+
152
+</FONT></TD>
153
+</TR>
154
+</TABLE>
155
+<A NAME="skip-navbar_bottom"></A>
156
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
157
+
158
+<HR>
159
+
160
+</BODY>
161
+</HTML>

BIN
Cube Control/doc/resources/inherit.gif View File


+ 670
- 0
Cube Control/doc/serialized-form.html View File

@@ -0,0 +1,670 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
6
+<TITLE>
7
+Serialized Form
8
+</TITLE>
9
+
10
+<META NAME="date" CONTENT="2011-12-04">
11
+
12
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13
+
14
+<SCRIPT type="text/javascript">
15
+function windowTitle()
16
+{
17
+    if (location.href.indexOf('is-external=true') == -1) {
18
+        parent.document.title="Serialized Form";
19
+    }
20
+}
21
+</SCRIPT>
22
+<NOSCRIPT>
23
+</NOSCRIPT>
24
+
25
+</HEAD>
26
+
27
+<BODY BGCOLOR="white" onload="windowTitle();">
28
+<HR>
29
+
30
+
31
+<!-- ========= START OF TOP NAVBAR ======= -->
32
+<A NAME="navbar_top"><!-- --></A>
33
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
+<TR>
36
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
+<A NAME="navbar_top_firstrow"><!-- --></A>
38
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
+  <TR ALIGN="center" VALIGN="top">
40
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46
+  </TR>
47
+</TABLE>
48
+</TD>
49
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50
+</EM>
51
+</TD>
52
+</TR>
53
+
54
+<TR>
55
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
+&nbsp;PREV&nbsp;
57
+&nbsp;NEXT</FONT></TD>
58
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
+  <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60
+&nbsp;<A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61
+&nbsp;<SCRIPT type="text/javascript">
62
+  <!--
63
+  if(window==top) {
64
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
65
+  }
66
+  //-->
67
+</SCRIPT>
68
+<NOSCRIPT>
69
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
70
+</NOSCRIPT>
71
+
72
+
73
+</FONT></TD>
74
+</TR>
75
+</TABLE>
76
+<A NAME="skip-navbar_top"></A>
77
+<!-- ========= END OF TOP NAVBAR ========= -->
78
+
79
+<HR>
80
+<CENTER>
81
+<H1>
82
+Serialized Form</H1>
83
+</CENTER>
84
+<HR SIZE="4" NOSHADE>
85
+
86
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
87
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
88
+<TH ALIGN="center"><FONT SIZE="+2">
89
+<B>Package</B> <B>&lt;Unnamed&gt;</B></FONT></TH>
90
+</TR>
91
+</TABLE>
92
+
93
+<P>
94
+<A NAME="frame"><!-- --></A>
95
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
96
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
97
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
98
+<B>Class <A HREF="frame.html" title="class in &lt;Unnamed&gt;">frame</A> extends javax.swing.JFrame implements Serializable</B></FONT></TH>
99
+</TR>
100
+</TABLE>
101
+
102
+<P>
103
+<A NAME="serializedForm"><!-- --></A>
104
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
105
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
106
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
107
+<B>Serialized Fields</B></FONT></TH>
108
+</TR>
109
+</TABLE>
110
+
111
+<H3>
112
+gConfig</H3>
113
+<PRE>
114
+java.awt.GraphicsConfiguration <B>gConfig</B></PRE>
115
+<DL>
116
+<DL>
117
+</DL>
118
+</DL>
119
+<HR>
120
+<H3>
121
+cubeCanvas</H3>
122
+<PRE>
123
+javax.media.j3d.Canvas3D <B>cubeCanvas</B></PRE>
124
+<DL>
125
+<DL>
126
+</DL>
127
+</DL>
128
+<HR>
129
+<H3>
130
+ledView</H3>
131
+<PRE>
132
+<A HREF="Led3D.html" title="class in &lt;Unnamed&gt;">Led3D</A> <B>ledView</B></PRE>
133
+<DL>
134
+<DL>
135
+</DL>
136
+</DL>
137
+<HR>
138
+<H3>
139
+editA</H3>
140
+<PRE>
141
+javax.swing.JButton <B>editA</B></PRE>
142
+<DL>
143
+<DL>
144
+</DL>
145
+</DL>
146
+<HR>
147
+<H3>
148
+editB</H3>
149
+<PRE>
150
+javax.swing.JButton <B>editB</B></PRE>
151
+<DL>
152
+<DL>
153
+</DL>
154
+</DL>
155
+<HR>
156
+<H3>
157
+editC</H3>
158
+<PRE>
159
+javax.swing.JButton <B>editC</B></PRE>
160
+<DL>
161
+<DL>
162
+</DL>
163
+</DL>
164
+<HR>
165
+<H3>
166
+editD</H3>
167
+<PRE>
168
+javax.swing.JButton <B>editD</B></PRE>
169
+<DL>
170
+<DL>
171
+</DL>
172
+</DL>
173
+<HR>
174
+<H3>
175
+editE</H3>
176
+<PRE>
177
+javax.swing.JButton <B>editE</B></PRE>
178
+<DL>
179
+<DL>
180
+</DL>
181
+</DL>
182
+<HR>
183
+<H3>
184
+editF</H3>
185
+<PRE>
186
+javax.swing.JButton <B>editF</B></PRE>
187
+<DL>
188
+<DL>
189
+</DL>
190
+</DL>
191
+<HR>
192
+<H3>
193
+editG</H3>
194
+<PRE>
195
+javax.swing.JButton <B>editG</B></PRE>
196
+<DL>
197
+<DL>
198
+</DL>
199
+</DL>
200
+<HR>
201
+<H3>
202
+editH</H3>
203
+<PRE>
204
+javax.swing.JButton <B>editH</B></PRE>
205
+<DL>
206
+<DL>
207
+</DL>
208
+</DL>
209
+<HR>
210
+<H3>
211
+frameListModel</H3>
212
+<PRE>
213
+javax.swing.DefaultListModel <B>frameListModel</B></PRE>
214
+<DL>
215
+<DL>
216
+</DL>
217
+</DL>
218
+<HR>
219
+<H3>
220
+frameList</H3>
221
+<PRE>
222
+javax.swing.JList <B>frameList</B></PRE>
223
+<DL>
224
+<DL>
225
+</DL>
226
+</DL>
227
+<HR>
228
+<H3>
229
+frameListScrollPane</H3>
230
+<PRE>
231
+javax.swing.JScrollPane <B>frameListScrollPane</B></PRE>
232
+<DL>
233
+<DL>
234
+</DL>
235
+</DL>
236
+<HR>
237
+<H3>
238
+frameUp</H3>
239
+<PRE>
240
+javax.swing.JButton <B>frameUp</B></PRE>
241
+<DL>
242
+<DL>
243
+</DL>
244
+</DL>
245
+<HR>
246
+<H3>
247
+frameDown</H3>
248
+<PRE>
249
+javax.swing.JButton <B>frameDown</B></PRE>
250
+<DL>
251
+<DL>
252
+</DL>
253
+</DL>
254
+<HR>
255
+<H3>
256
+frameAdd</H3>
257
+<PRE>
258
+javax.swing.JButton <B>frameAdd</B></PRE>
259
+<DL>
260
+<DL>
261
+</DL>
262
+</DL>
263
+<HR>
264
+<H3>
265
+frameRemove</H3>
266
+<PRE>
267
+javax.swing.JButton <B>frameRemove</B></PRE>
268
+<DL>
269
+<DL>
270
+</DL>
271
+</DL>
272
+<HR>
273
+<H3>
274
+frameRename</H3>
275
+<PRE>
276
+javax.swing.JButton <B>frameRename</B></PRE>
277
+<DL>
278
+<DL>
279
+</DL>
280
+</DL>
281
+<HR>
282
+<H3>
283
+frame</H3>
284
+<PRE>
285
+javax.swing.JButton <B>frame</B></PRE>
286
+<DL>
287
+<DL>
288
+</DL>
289
+</DL>
290
+<HR>
291
+<H3>
292
+animList</H3>
293
+<PRE>
294
+javax.swing.JList <B>animList</B></PRE>
295
+<DL>
296
+<DL>
297
+</DL>
298
+</DL>
299
+<HR>
300
+<H3>
301
+animModel</H3>
302
+<PRE>
303
+javax.swing.DefaultListModel <B>animModel</B></PRE>
304
+<DL>
305
+<DL>
306
+</DL>
307
+</DL>
308
+<HR>
309
+<H3>
310
+animScrollPane</H3>
311
+<PRE>
312
+javax.swing.JScrollPane <B>animScrollPane</B></PRE>
313
+<DL>
314
+<DL>
315
+</DL>
316
+</DL>
317
+<HR>
318
+<H3>
319
+animUp</H3>
320
+<PRE>
321
+javax.swing.JButton <B>animUp</B></PRE>
322
+<DL>
323
+<DL>
324
+</DL>
325
+</DL>
326
+<HR>
327
+<H3>
328
+animDown</H3>
329
+<PRE>
330
+javax.swing.JButton <B>animDown</B></PRE>
331
+<DL>
332
+<DL>
333
+</DL>
334
+</DL>
335
+<HR>
336
+<H3>
337
+animAdd</H3>
338
+<PRE>
339
+javax.swing.JButton <B>animAdd</B></PRE>
340
+<DL>
341
+<DL>
342
+</DL>
343
+</DL>
344
+<HR>
345
+<H3>
346
+animRemove</H3>
347
+<PRE>
348
+javax.swing.JButton <B>animRemove</B></PRE>
349
+<DL>
350
+<DL>
351
+</DL>
352
+</DL>
353
+<HR>
354
+<H3>
355
+animRename</H3>
356
+<PRE>
357
+javax.swing.JButton <B>animRename</B></PRE>
358
+<DL>
359
+<DL>
360
+</DL>
361
+</DL>
362
+<HR>
363
+<H3>
364
+animPath</H3>
365
+<PRE>
366
+javax.swing.JTextField <B>animPath</B></PRE>
367
+<DL>
368
+<DL>
369
+</DL>
370
+</DL>
371
+<HR>
372
+<H3>
373
+load</H3>
374
+<PRE>
375
+javax.swing.JButton <B>load</B></PRE>
376
+<DL>
377
+<DL>
378
+</DL>
379
+</DL>
380
+<HR>
381
+<H3>
382
+save</H3>
383
+<PRE>
384
+javax.swing.JButton <B>save</B></PRE>
385
+<DL>
386
+<DL>
387
+</DL>
388
+</DL>
389
+<HR>
390
+<H3>
391
+saveAs</H3>
392
+<PRE>
393
+javax.swing.JButton <B>saveAs</B></PRE>
394
+<DL>
395
+<DL>
396
+</DL>
397
+</DL>
398
+<HR>
399
+<H3>
400
+jComboBox1</H3>
401
+<PRE>
402
+javax.swing.JComboBox <B>jComboBox1</B></PRE>
403
+<DL>
404
+<DL>
405
+</DL>
406
+</DL>
407
+<HR>
408
+<H3>
409
+upload</H3>
410
+<PRE>
411
+javax.swing.JButton <B>upload</B></PRE>
412
+<DL>
413
+<DL>
414
+</DL>
415
+</DL>
416
+<HR>
417
+<H3>
418
+download</H3>
419
+<PRE>
420
+javax.swing.JButton <B>download</B></PRE>
421
+<DL>
422
+<DL>
423
+</DL>
424
+</DL>
425
+<HR>
426
+<H3>
427
+jLabel4</H3>
428
+<PRE>
429
+javax.swing.JLabel <B>jLabel4</B></PRE>
430
+<DL>
431
+<DL>
432
+</DL>
433
+</DL>
434
+<HR>
435
+<H3>
436
+frameRemaining</H3>
437
+<PRE>
438
+javax.swing.JTextField <B>frameRemaining</B></PRE>
439
+<DL>
440
+<DL>
441
+</DL>
442
+</DL>
443
+<HR>
444
+<H3>
445
+frmLngthLbl</H3>
446
+<PRE>
447
+javax.swing.JLabel <B>frmLngthLbl</B></PRE>
448
+<DL>
449
+<DL>
450
+</DL>
451
+</DL>
452
+<HR>
453
+<H3>
454
+frmLngthTxt</H3>
455
+<PRE>
456
+javax.swing.JTextField <B>frmLngthTxt</B></PRE>
457
+<DL>
458
+<DL>
459
+</DL>
460
+</DL>
461
+<HR>
462
+<H3>
463
+frameDuration</H3>
464
+<PRE>
465
+javax.swing.JButton <B>frameDuration</B></PRE>
466
+<DL>
467
+<DL>
468
+</DL>
469
+</DL>
470
+<HR>
471
+<H3>
472
+worker</H3>
473
+<PRE>
474
+<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A> <B>worker</B></PRE>
475
+<DL>
476
+<DL>
477
+</DL>
478
+</DL>
479
+<HR>
480
+<H3>
481
+fileSelected</H3>
482
+<PRE>
483
+boolean <B>fileSelected</B></PRE>
484
+<DL>
485
+<DL>
486
+</DL>
487
+</DL>
488
+
489
+<P>
490
+<A NAME="layerEditFrame"><!-- --></A>
491
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
492
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
493
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
494
+<B>Class <A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;">layerEditFrame</A> extends javax.swing.JFrame implements Serializable</B></FONT></TH>
495
+</TR>
496
+</TABLE>
497
+
498
+<P>
499
+<A NAME="serializedForm"><!-- --></A>
500
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
501
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
502
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
503
+<B>Serialized Fields</B></FONT></TH>
504
+</TR>
505
+</TABLE>
506
+
507
+<H3>
508
+panelLED1</H3>
509
+<PRE>
510
+javax.swing.JPanel <B>panelLED1</B></PRE>
511
+<DL>
512
+<DL>
513
+</DL>
514
+</DL>
515
+<HR>
516
+<H3>
517
+ledPanels</H3>
518
+<PRE>
519
+javax.swing.JButton[][] <B>ledPanels</B></PRE>
520
+<DL>
521
+<DL>
522
+</DL>
523
+</DL>
524
+<HR>
525
+<H3>
526
+on</H3>
527
+<PRE>
528
+javax.swing.ImageIcon <B>on</B></PRE>
529
+<DL>
530
+<DL>
531
+</DL>
532
+</DL>
533
+<HR>
534
+<H3>
535
+off</H3>
536
+<PRE>
537
+javax.swing.ImageIcon <B>off</B></PRE>
538
+<DL>
539
+<DL>
540
+</DL>
541
+</DL>
542
+<HR>
543
+<H3>
544
+ledStatus</H3>
545
+<PRE>
546
+byte[][] <B>ledStatus</B></PRE>
547
+<DL>
548
+<DL>
549
+</DL>
550
+</DL>
551
+<HR>
552
+<H3>
553
+changedStateSinceSave</H3>
554
+<PRE>
555
+boolean <B>changedStateSinceSave</B></PRE>
556
+<DL>
557
+<DL>
558
+</DL>
559
+</DL>
560
+<HR>
561
+<H3>
562
+frame</H3>
563
+<PRE>
564
+short[] <B>frame</B></PRE>
565
+<DL>
566
+<DL>
567
+</DL>
568
+</DL>
569
+<HR>
570
+<H3>
571
+li</H3>
572
+<PRE>
573
+int <B>li</B></PRE>
574
+<DL>
575
+<DL>
576
+</DL>
577
+</DL>
578
+<HR>
579
+<H3>
580
+finish</H3>
581
+<PRE>
582
+boolean <B>finish</B></PRE>
583
+<DL>
584
+<DL>
585
+</DL>
586
+</DL>
587
+<HR>
588
+<H3>
589
+worker</H3>
590
+<PRE>
591
+<A HREF="cubeWorker.html" title="class in &lt;Unnamed&gt;">cubeWorker</A> <B>worker</B></PRE>
592
+<DL>
593
+<DL>
594
+</DL>
595
+</DL>
596
+<HR>
597
+<H3>
598
+animI</H3>
599
+<PRE>
600
+int <B>animI</B></PRE>
601
+<DL>
602
+<DL>
603
+</DL>
604
+</DL>
605
+<HR>
606
+<H3>
607
+frameI</H3>
608
+<PRE>
609
+int <B>frameI</B></PRE>
610
+<DL>
611
+<DL>
612
+</DL>
613
+</DL>
614
+
615
+<P>
616
+<HR>
617
+
618
+
619
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
620
+<A NAME="navbar_bottom"><!-- --></A>
621
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
622
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
623
+<TR>
624
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
625
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
626
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
627
+  <TR ALIGN="center" VALIGN="top">
628
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
629
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
630
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
631
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
632
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
633
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
634
+  </TR>
635
+</TABLE>
636
+</TD>
637
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
638
+</EM>
639
+</TD>
640
+</TR>
641
+
642
+<TR>
643
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
644
+&nbsp;PREV&nbsp;
645
+&nbsp;NEXT</FONT></TD>
646
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
647
+  <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A>  &nbsp;
648
+&nbsp;<A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
649
+&nbsp;<SCRIPT type="text/javascript">
650
+  <!--
651
+  if(window==top) {
652
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
653
+  }
654
+  //-->
655
+</SCRIPT>
656
+<NOSCRIPT>
657
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
658
+</NOSCRIPT>
659
+
660
+
661
+</FONT></TD>
662
+</TR>
663
+</TABLE>
664
+<A NAME="skip-navbar_bottom"></A>
665
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
666
+
667
+<HR>
668
+
669
+</BODY>
670
+</HTML>

+ 29
- 0
Cube Control/doc/stylesheet.css View File

@@ -0,0 +1,29 @@
1
+/* Javadoc style sheet */
2
+
3
+/* Define colors, fonts and other style attributes here to override the defaults */
4
+
5
+/* Page background color */
6
+body { background-color: #FFFFFF; color:#000000 }
7
+
8
+/* Headings */
9
+h1 { font-size: 145% }
10
+
11
+/* Table colors */
12
+.TableHeadingColor     { background: #CCCCFF; color:#000000 } /* Dark mauve */
13
+.TableSubHeadingColor  { background: #EEEEFF; color:#000000 } /* Light mauve */
14
+.TableRowColor         { background: #FFFFFF; color:#000000 } /* White */
15
+
16
+/* Font used in left-hand frame lists */
17
+.FrameTitleFont   { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
18
+.FrameHeadingFont { font-size:  90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
19
+.FrameItemFont    { font-size:  90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
20
+
21
+/* Navigation bar fonts and colors */
22
+.NavBarCell1    { background-color:#EEEEFF; color:#000000} /* Light mauve */
23
+.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */
24
+.NavBarFont1    { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;}
25
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;}
26
+
27
+.NavBarCell2    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
28
+.NavBarCell3    { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
29
+

+ 24
- 154
Cube Control/frame.java View File

@@ -22,161 +22,14 @@
22 22
 * along with LED-Cube. If not, see <http://www.gnu.org/licenses/>.
23 23
 */
24 24
 
25
+import com.sun.j3d.utils.universe.*;
26
+import javax.media.j3d.*;
25 27
 import java.awt.*;
26 28
 import java.awt.event.*;
27 29
 import javax.swing.*;
28 30
 import javax.swing.event.*;
29 31
 import java.io.File;
30
-import com.sun.j3d.utils.universe.*;
31
-import com.sun.j3d.utils.geometry.*;
32
-import javax.media.j3d.*;
33
-import javax.vecmath.*;
34
-import com.sun.j3d.utils.behaviors.mouse.*;
35
-
36
-class Led3D {
37
-	private Canvas3D canvas = null;
38
-	private SimpleUniverse universe = null;
39
-	private BranchGroup group = null;
40
-	private Transform3D trans3D = null;
41
-	private BranchGroup inBetween = null;
42
-	private TransformGroup transGroup = null;
43
-
44
-	private Sphere[][][] leds = new Sphere[8][8][8];
45
-	private static ColoringAttributes redColor = new ColoringAttributes(new Color3f(1.0f, 0.0f, 0.0f), ColoringAttributes.FASTEST);
46
-	private static ColoringAttributes whiteColor = new ColoringAttributes(new Color3f(1.0f, 1.0f, 1.0f), ColoringAttributes.FASTEST);
47
-	private static Material whiteMat = new Material(new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), new Color3f(1.0f, 1.0f, 1.0f), 42.0f);
48
-	private static Material redMat = new Material(new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), new Color3f(1.0f, 0.0f, 0.0f), 42.0f);
49
-
50
-	private Point3d eye = new Point3d(3.5, 3.5, -13.0);
51
-	private Point3d look = new Point3d(3.5, 3.5, 0.0);
52
-	private Vector3d lookVect = new Vector3d(1.0, 1.0, 1.0);
53
-
54
-  Led3D(Canvas3D canv) {
55
-
56
-    canvas = canv;
57
-    group = new BranchGroup();
58
-    // Position viewer, so we are looking at object
59
-    trans3D = new Transform3D();
60
-    trans3D.lookAt(eye, look, lookVect);
61
-	trans3D.invert();
62
-	transGroup = new TransformGroup(trans3D);
63
-    transGroup = new TransformGroup();
64
-    ViewingPlatform viewingPlatform = new ViewingPlatform();
65
-    transGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
66
-    transGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
67
-    transGroup.setCapability(TransformGroup.ALLOW_CHILDREN_EXTEND);
68
-	transGroup.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
69
-	transGroup.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
70
-    Viewer viewer = new Viewer(canvas);
71
-    universe = new SimpleUniverse(viewingPlatform, viewer);
72
-    group.addChild(transGroup);
73
-    universe.getViewingPlatform().getViewPlatformTransform().setTransform(trans3D);
74
-    // universe.getViewingPlatform().setNominalViewingTransform();
75
-	universe.addBranchGraph(group); // Add group to universe
76
-
77
-    BoundingBox boundBox = new BoundingBox(new Point3d(-5.0, -5.0, -5.0), new Point3d(13.0, 13.0, 13.0));
78
-    // roration with left mouse button
79
-    MouseRotate behaviour = new MouseRotate(transGroup);
80
-    BranchGroup inBetween = new BranchGroup();
81
-    inBetween.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
82
-	inBetween.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
83
-	inBetween.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
84
-    inBetween.addChild(behaviour);
85
-    transGroup.addChild(inBetween);
86
-    behaviour.setSchedulingBounds(boundBox);
87
-
88
-    // zoom with middle mouse button
89
-    MouseZoom beh2 = new MouseZoom(transGroup);
90
-    BranchGroup brM2 = new BranchGroup();
91
-    brM2.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
92
-	brM2.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
93
-	brM2.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
94
-    brM2.addChild(beh2);
95
-    inBetween.addChild(brM2);
96
-    beh2.setSchedulingBounds(boundBox);
97
-
98
-    // move with right mouse button
99
-    MouseTranslate beh3 = new MouseTranslate(transGroup);
100
-    BranchGroup brM3 = new BranchGroup();
101
-    brM3.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
102
-	brM3.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
103
-	brM3.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
104
-    brM3.addChild(beh3);
105
-    inBetween.addChild(brM3);
106
-    beh3.setSchedulingBounds(boundBox);
107
-
108
-    // Add all our led sphares to the universe
109
-    for (int x = 0; x < 8; x++) {
110
-      for (int y = 0; y < 8; y++) {
111
-        for (int z = 0; z < 8; z++) {
112
-          leds[x][y][z] = new Sphere(0.05f);
113
-
114
-          Appearance a = new Appearance();
115
-          a.setMaterial(whiteMat);
116
-          leds[x][y][z].setAppearance(a);
117
-		  leds[x][y][z].getShape().setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
118
-
119
-          TransformGroup tg = new TransformGroup();
120
-          tg.setCapability(TransformGroup.ALLOW_CHILDREN_EXTEND);
121
-		  tg.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
122
-		  tg.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
123
-          Transform3D transform = new Transform3D();
124
-          Vector3f vector = new Vector3f(x, y, z);
125
-          transform.setTranslation(vector);
126
-          tg.setTransform(transform);
127
-          tg.addChild(leds[x][y][z]);
128
-
129
-          BranchGroup allTheseGroupsScareMe = new BranchGroup();
130
-		  allTheseGroupsScareMe.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
131
-		  allTheseGroupsScareMe.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
132
-		  allTheseGroupsScareMe.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
133
-          allTheseGroupsScareMe.addChild(tg);
134
-          inBetween.addChild(allTheseGroupsScareMe);
135
-        }
136
-      }
137
-    }
138 32
 
139
-    // Add an ambient light
140
-    Color3f light2Color = new Color3f(1.0f, 1.0f, 1.0f);
141
-    AmbientLight light2 = new AmbientLight(light2Color);
142
-    BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0), 100.0);
143
-    light2.setInfluencingBounds(bounds);
144
-    BranchGroup fffuuuuu = new BranchGroup();
145
-    light2.setEnable(true);
146
-    fffuuuuu.addChild(light2);
147
-    inBetween.addChild(fffuuuuu);
148
-  }
149
-
150
-  	public void printTranslationData() {
151
-		Matrix4d mat = new Matrix4d();
152
-		Transform3D t = new Transform3D();
153
-		transGroup.getTransform(t);
154
-		t.get(mat);
155
-		String s = mat.toString();
156
-		System.out.println(s.replaceAll(", ", "\t"));
157
-	}
158
-
159
-	// 64 Element byte array
160
-	public void setData(short[] data) {
161
-		for (int y = 0; y < 8; y++) {
162
-			for (int z = 0; z < 8; z++) {
163
-				for (int x = 0; x < 8; x++) {
164
-					Appearance a = new Appearance();
165
-					if ((data[y + (z * 8)] & (1 << x)) != 0) {
166
-						// Activate led
167
-						a.setColoringAttributes(redColor);
168
-						a.setMaterial(redMat);
169
-					} else {
170
-						// Deactivate led
171
-						a.setColoringAttributes(whiteColor);
172
-						a.setMaterial(whiteMat);
173
-					}
174
-					leds[x][y][z].setAppearance(a);
175
-				}
176
-			}
177
-		}
178
-	}
179
-}
180 33
 
181 34
 public class frame extends JFrame implements ListSelectionListener {
182 35
   // Anfang Variablen
@@ -911,8 +764,6 @@ public class frame extends JFrame implements ListSelectionListener {
911 764
 	  return ledView;
912 765
   }
913 766
 
914
-  // Ende Ereignisprozeduren
915
-
916 767
   public static void main(String[] args) {
917 768
     frame f = new frame("Cube Control");
918 769
 	Led3D l = f.get3D();
@@ -933,16 +784,35 @@ public class frame extends JFrame implements ListSelectionListener {
933 784
 			if (s.equals("q") || s.equals("quit"))
934 785
 				System.exit(0);
935 786
 
787
+			if (s.equals("on") || s.equals("1")) {
788
+				short[] d = new short[64];
789
+				for (int i = 0; i < d.length; i++) {
790
+					d[i] = 0xFF;
791
+				}
792
+				l.setData(d);
793
+				System.out.println("All LEDs on now...");
794
+			}
795
+
796
+			if (s.equals("off") || s.equals("0")) {
797
+				short[] d = new short[64];
798
+				for (int i = 0; i < d.length; i++) {
799
+					d[i] = 0x00;
800
+				}
801
+				l.setData(d);
802
+				System.out.println("All LEDs off now...");
803
+			}
804
+
936 805
 			if (s.equals("h") || (s.equals("help"))) {
937 806
 				System.out.println("Commands:");
807
+				System.out.println("\t'on'    / '1'\t:\tToggle all LEDs on");
808
+				System.out.println("\t'off'   / '0'\t:\tToggle all LEDs off");
938 809
 				System.out.println("\t'print' / 'p'\t:\tPrint 3D Translation Matrix Data");
939
-				System.out.println("\t'help' / 'h'\t:\tShow this message");
940
-				System.out.println("\t'quit' / 'q'\t:\tExit Cube Control");
810
+				System.out.println("\t'help'  / 'h'\t:\tShow this message");
811
+				System.out.println("\t'quit'  / 'q'\t:\tExit Cube Control");
941 812
 			}
942 813
 
943 814
 			System.out.print("$> ");
944 815
 		}
945 816
 	} while (true);
946 817
   }
947
-  // Ende Methoden
948 818
 }

+ 12
- 7
Cube Control/makefile View File

@@ -1,14 +1,13 @@
1 1
 JAVAC = javac
2
+JAVADOC = javadoc
3
+DOCDIR = doc
2 4
 CC = gcc
3 5
 TARGET = unix
4 6
 #TARGET = win
5 7
 
6 8
 # Java files to be compiled
7
-ifeq ($(TARGET),win)
8
-JAVAFILES = cubeWorker.java layerEditFrame.java frame.java
9
-else
10
-JAVAFILES = *.java
11
-endif
9
+# Needs to be a complete list so they work as target
10
+JAVAFILES = HelperUtility.java AnimationUtility.java Animation.java AFrame.java cubeWorker.java layerEditFrame.java Led3D.java frame.java
12 11
 
13 12
 ifeq ($(TARGET),win)
14 13
 INJAR = *.class *.png serialHelper.exe
@@ -16,8 +15,11 @@ else
16 15
 INJAR = *.class *.png serialHelper
17 16
 endif
18 17
 
19
-# Spit out jar file, delete intermediate files
20
-all: build clean
18
+# Spit out jar file, documentation, delete intermediate files
19
+all: build doc/index.html clean
20
+
21
+# Generate Documentation
22
+doc: doc/index.html
21 23
 
22 24
 # Compile java files
23 25
 java: frame.class
@@ -30,6 +32,9 @@ build: frame.class serialHelper
30 32
 frame.class: $(JAVAFILES)
31 33
 	$(JAVAC) $(JAVAFILES)
32 34
 
35
+doc/index.html: $(JAVAFILES)
36
+	$(JAVADOC) -d $(DOCDIR) $(JAVAFILES)
37
+
33 38
 # Compile serial Helper
34 39
 ifeq ($(TARGET),win)
35 40
 serialHelper: serialHelper.c helper/winSerial.c

Loading…
Cancel
Save