blob: a088fbf9fb9d437f050a29522afb13790a0381d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/*
* Material Experience - Card Layout Engines Class
*
* EYEMG - Interactive Media Group
* Created by Mike Crute (mcrute@eyemg.com)
* Updated by Mike Crute (mcrute@eyemg.com) on 9/26/07
*/
// Card.Layout.Errors = Class.create();
// Object.extend(Object.extend(Card.Layout.Errors.prototype, Card.Layout.prototype),
Card.Layout = Class.create();
Object.extend(Card.Layout.prototype,
{
/*
* Initialize the layout class
*/
initialize: function(cframe, data, card)
{
this.cframe = cframe;
this.data = data;
this.card = card;
this.color = this.card.options.color;
this.hasResources = false;
},
/*
* Main function to layout the card.
*/
layout: function()
{
throw "Not implemented here.";
},
/*
* Throw the card into a popup window for printing.
*/
print: function()
{
throw "Not implemented here.";
},
/*
* Debug the card layout. Generally this should be used to spot out
* data issues. But it could also be used for other debugging purposes.
*/
_debug: function()
{
throw "Not implemented here.";
}
});
|