File: SWFObjectI.java

package info (click to toggle)
libming 0.2a.cvs20020110-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,204 kB
  • ctags: 4,173
  • sloc: ansic: 19,467; yacc: 2,149; cpp: 1,518; java: 1,253; ruby: 516; perl: 462; python: 436; makefile: 295; sh: 4
file content (56 lines) | stat: -rw-r--r-- 1,459 bytes parent folder | download
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
52
53
54
55
56
//
// Description:
//    SWFObject Interface
//
// Authors:
//    Jonathan Shore <jshore@e-shuppan.com>
//    Based on php wrapper developed by <dave@opaque.net>
//
// Copyright:
//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
//    modify this code provided that the original copyright notice is included.
//
//    This software is distributed with no warranty of liability, merchantability,
//    or fitness for any specific purpose.
//




import SWFException;
import SWFMatrix;




//
//  SWFObject Interface
//      base object for all swf-entities
//
//  Notes
//    - keeps underlying SWF entity handle and attributes common to
//	all objects
//
//    - eval() allows one to do any processing before an object is used
//	by another (often used for rendering).
//
//    - added offset, allowing functions to embed offset information
//	when creating an object, so that later when adding to an MC,
//	will be moved by offset amount
//
public interface SWFObjectI {

    public int		getHandle();
    public void		setHandle(int handle);

    public void		eval() throws SWFException;

    public Object	getProperty (String name)			throws SWFException;
    public void		setProperty (String name, Object value);

    public float	getFloatProperty (String name)			throws SWFException;
    public void		setFloatProperty (String name, float value);

    public void		setMatrix (SWFMatrix mat);
    public SWFMatrix	getMatrix ();
};