瀏覽代碼

Fixed rotation on startup...

Thomas Buck 13 年之前
父節點
當前提交
2865c34ecf

+ 9
- 11
Cube Control/Led3D.java 查看文件

@@ -46,14 +46,10 @@ public class Led3D {
46 46
 
47 47
 	private Sphere[][][] leds = new Sphere[8][8][8];
48 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);
49
+	private static ColoringAttributes whiteColor = new ColoringAttributes(new Color3f(0.2f, 0.2f, 0.2f), ColoringAttributes.FASTEST);
50
+	private static Material whiteMat = new Material(new Color3f(0.2f, 0.2f, 0.2f), new Color3f(0.0f, 0.0f, 0.0f), new Color3f(0.2f, 0.2f, 0.2f), new Color3f(0.2f, 0.2f, 0.2f), 64.0f);
51 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 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 53
   /**
58 54
    * @param canv The Canvas3D we render our cube in
59 55
    */
@@ -63,10 +59,14 @@ public class Led3D {
63 59
     group = new BranchGroup();
64 60
     // Position viewer, so we are looking at object
65 61
     trans3D = new Transform3D();
66
-    trans3D.lookAt(eye, look, lookVect);
67
-	trans3D.invert();
62
+	Matrix4d mat = new Matrix4d();
63
+	mat.setRow(0, 0.744, 0.0237, -0.66756, -0.34);
64
+	mat.setRow(1, 0.136, -0.9837, 0.117, 3.24);
65
+	mat.setRow(2, -0.6536, -0.1785, -0.735, -8.32);
66
+	mat.setRow(3, 0.0, 0.0, 0.0, 1.0);
67
+	trans3D.set(mat);
68
+
68 69
 	transGroup = new TransformGroup(trans3D);
69
-    transGroup = new TransformGroup();
70 70
     ViewingPlatform viewingPlatform = new ViewingPlatform();
71 71
     transGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
72 72
     transGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
@@ -76,8 +76,6 @@ public class Led3D {
76 76
     Viewer viewer = new Viewer(canvas);
77 77
     universe = new SimpleUniverse(viewingPlatform, viewer);
78 78
     group.addChild(transGroup);
79
-    universe.getViewingPlatform().getViewPlatformTransform().setTransform(trans3D);
80
-    // universe.getViewingPlatform().setNominalViewingTransform();
81 79
 	universe.addBranchGraph(group); // Add group to universe
82 80
 
83 81
     BoundingBox boundBox = new BoundingBox(new Point3d(-5.0, -5.0, -5.0), new Point3d(13.0, 13.0, 13.0));

+ 2
- 2
Cube Control/doc/AFrame.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:10 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:39 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 AFrame
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/Animation.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:10 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:40 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 Animation
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/AnimationUtility.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:10 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:40 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 AnimationUtility
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/HelperUtility.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 HelperUtility
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/Led3D.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 Led3D
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/allclasses-frame.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 All Classes
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/allclasses-noframe.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 All Classes
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/constant-values.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 Constant Field Values
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/cubeWorker.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:11 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:40 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 cubeWorker
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/deprecated-list.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 Deprecated List
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 4
- 4
Cube Control/doc/frame.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:11 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:40 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 frame
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 
@@ -464,7 +464,7 @@ java.lang.Object
464 464
 <TH ALIGN="left"><B>Methods inherited from class java.awt.Window</B></TH>
465 465
 </TR>
466 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>
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, 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 468
 </TR>
469 469
 </TABLE>
470 470
 &nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
@@ -473,7 +473,7 @@ java.lang.Object
473 473
 <TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
474 474
 </TR>
475 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>
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, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
477 477
 </TR>
478 478
 </TABLE>
479 479
 &nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>

+ 2
- 2
Cube Control/doc/help-doc.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:42 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 API Help
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/index-all.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 Index
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
13 13
 

+ 1
- 1
Cube Control/doc/index.html 查看文件

@@ -2,7 +2,7 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc on Sun Dec 04 21:35:12 CET 2011-->
5
+<!-- Generated by javadoc on Mon Dec 05 10:07:42 GMT+01:00 2011-->
6 6
 <TITLE>
7 7
 Generated Documentation (Untitled)
8 8
 </TITLE>

+ 4
- 4
Cube Control/doc/layerEditFrame.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 layerEditFrame
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 
@@ -316,7 +316,7 @@ java.lang.Object
316 316
 <TH ALIGN="left"><B>Methods inherited from class java.awt.Window</B></TH>
317 317
 </TR>
318 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>
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, 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 320
 </TR>
321 321
 </TABLE>
322 322
 &nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
@@ -325,7 +325,7 @@ java.lang.Object
325 325
 <TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
326 326
 </TR>
327 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>
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, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
329 329
 </TR>
330 330
 </TABLE>
331 331
 &nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>

+ 2
- 2
Cube Control/doc/overview-tree.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 Class Hierarchy
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/package-frame.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 &lt;Unnamed&gt;
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/package-summary.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/package-tree.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
  Class Hierarchy
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 2
- 2
Cube Control/doc/serialized-form.html 查看文件

@@ -2,12 +2,12 @@
2 2
 <!--NewPage-->
3 3
 <HTML>
4 4
 <HEAD>
5
-<!-- Generated by javadoc (build 1.6.0_29) on Sun Dec 04 21:35:12 CET 2011 -->
5
+<!-- Generated by javadoc (build 1.6.0_07) on Mon Dec 05 10:07:41 GMT+01:00 2011 -->
6 6
 <TITLE>
7 7
 Serialized Form
8 8
 </TITLE>
9 9
 
10
-<META NAME="date" CONTENT="2011-12-04">
10
+<META NAME="date" CONTENT="2011-12-05">
11 11
 
12 12
 <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13 13
 

+ 8
- 5
Cube Control/makefile 查看文件

@@ -2,7 +2,8 @@ JAVAC = javac
2 2
 JAVADOC = javadoc
3 3
 DOCDIR = doc
4 4
 CC = gcc
5
-TARGET = unix
5
+#TARGET = unix
6
+TARGET= cygwin
6 7
 #TARGET = win
7 8
 
8 9
 # Java files to be compiled
@@ -11,8 +12,10 @@ JAVAFILES = HelperUtility.java AnimationUtility.java Animation.java AFrame.java
11 12
 
12 13
 ifeq ($(TARGET),win)
13 14
 INJAR = *.class *.png serialHelper.exe
15
+RM = del
14 16
 else
15 17
 INJAR = *.class *.png serialHelper
18
+RM = rm
16 19
 endif
17 20
 
18 21
 # Spit out jar file, documentation, delete intermediate files
@@ -47,9 +50,9 @@ endif
47 50
 # Delete intermediate files
48 51
 clean:
49 52
 ifeq ($(TARGET),win)
50
-	del *.class
51
-	del serialHelper.exe
53
+	$(RM) *.class
54
+	$(RM) serialHelper.exe
52 55
 else
53
-	rm -f *.class
54
-	rm -f serialHelper
56
+	$(RM) -f *.class
57
+	$(RM) -f serialHelper
55 58
 endif

Loading…
取消
儲存