diff options
Diffstat (limited to 'docroot/classes/layout.class.js')
-rwxr-xr-x | docroot/classes/layout.class.js | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/docroot/classes/layout.class.js b/docroot/classes/layout.class.js new file mode 100755 index 0000000..a088fbf --- /dev/null +++ b/docroot/classes/layout.class.js | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | * Material Experience - Card Layout Engines Class | ||
3 | * | ||
4 | * EYEMG - Interactive Media Group | ||
5 | * Created by Mike Crute (mcrute@eyemg.com) | ||
6 | * Updated by Mike Crute (mcrute@eyemg.com) on 9/26/07 | ||
7 | */ | ||
8 | |||
9 | // Card.Layout.Errors = Class.create(); | ||
10 | // Object.extend(Object.extend(Card.Layout.Errors.prototype, Card.Layout.prototype), | ||
11 | |||
12 | Card.Layout = Class.create(); | ||
13 | Object.extend(Card.Layout.prototype, | ||
14 | { | ||
15 | /* | ||
16 | * Initialize the layout class | ||
17 | */ | ||
18 | initialize: function(cframe, data, card) | ||
19 | { | ||
20 | this.cframe = cframe; | ||
21 | this.data = data; | ||
22 | this.card = card; | ||
23 | this.color = this.card.options.color; | ||
24 | this.hasResources = false; | ||
25 | }, | ||
26 | |||
27 | /* | ||
28 | * Main function to layout the card. | ||
29 | */ | ||
30 | layout: function() | ||
31 | { | ||
32 | throw "Not implemented here."; | ||
33 | }, | ||
34 | |||
35 | /* | ||
36 | * Throw the card into a popup window for printing. | ||
37 | */ | ||
38 | print: function() | ||
39 | { | ||
40 | throw "Not implemented here."; | ||
41 | }, | ||
42 | |||
43 | /* | ||
44 | * Debug the card layout. Generally this should be used to spot out | ||
45 | * data issues. But it could also be used for other debugging purposes. | ||
46 | */ | ||
47 | _debug: function() | ||
48 | { | ||
49 | throw "Not implemented here."; | ||
50 | } | ||
51 | }); \ No newline at end of file | ||