-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kevin Leiser
authored and
Kevin Leiser
committed
Jun 21, 2018
1 parent
11dd6e6
commit 2b0793e
Showing
28 changed files
with
319 additions
and
326 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
out/production/HW6/cs3500/animator/controller/ControllerGUI$1.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
out/production/HW6/cs3500/animator/controller/ControllerGUI.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
out/production/HW6/cs3500/animator/controller/HybridController.class
Binary file not shown.
Binary file modified
BIN
+50 Bytes
(100%)
out/production/HW6/cs3500/animator/controller/InteractiveController.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
out/production/HW6/cs3500/animator/model/animation/AnimatedShapeImpl.class
Binary file not shown.
Binary file modified
BIN
+18 Bytes
(100%)
out/production/HW6/cs3500/animator/model/animation/AnimationModelImpl.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
out/production/HW6/cs3500/animator/view/IView$ViewType.class
Binary file not shown.
Binary file modified
BIN
+48 Bytes
(100%)
out/production/HW6/cs3500/animator/view/InteractiveViewGUI.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
The following changes were made to our code from the previous assignment: | ||
- Added functions of all views to IView and make unsupported functions throw | ||
UnsupportedOperationException's. | ||
UnsupportedOperationException's. | ||
- Changed model to store shapes in LinkedHashMap rather than HashMap since draw order | ||
wasn't conserved in HashMap. | ||
|
||
|
||
The following classes were added: | ||
-IGuiBasedView | ||
-InteractiveViewGUI | ||
-HybridController | ||
-InteractiveController |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package cs3500.animator.view; | ||
|
||
import java.awt.event.ActionListener; | ||
import javax.swing.event.ChangeListener; | ||
|
||
/** | ||
* | ||
*/ | ||
public interface IGuiInteractiveView extends IView { | ||
|
||
/** | ||
* | ||
* @param listener | ||
*/ | ||
void setActionListener(ActionListener listener); | ||
|
||
/** | ||
* | ||
* @param listener | ||
*/ | ||
void setChangeListener(ChangeListener listener); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package cs3500.animator.view; | ||
|
||
import java.util.ArrayList; | ||
|
||
import cs3500.animator.util.DrawableGUIShape; | ||
|
||
/** | ||
* | ||
*/ | ||
public interface IGuiView extends IView { | ||
|
||
/** | ||
* | ||
* @param newShapes | ||
*/ | ||
void setShapes(ArrayList<DrawableGUIShape> newShapes); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
The following changes were made to our code from the previous assignment: | ||
- Added functions of all views to IView and make unsupported functions throw | ||
UnsupportedOperationException's. | ||
UnsupportedOperationException's. | ||
- Changed model to store shapes in LinkedHashMap rather than HashMap since draw order | ||
wasn't conserved in HashMap. | ||
|
||
|
||
The following classes were added: | ||
-IGuiBasedView | ||
-InteractiveViewGUI | ||
-HybridController | ||
-InteractiveController |