1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package net.jbeans.j3d.modeler.scene;
24
25 /* ------------------ Import classes (packages) ------------------- *//package-summary/html">class="comment"> ------------------ Import classes (packages) ------------------- *//package-summary.html">class="comment">/* ------------------ Import classes (packages) ------------------- *//package-summary.html">class="comment"> ------------------ Import classes (packages) ------------------- */
26 import java.lang.reflect.*;
27 import javax.media.j3d.*;
28
29
30
31
32 /***
33 * GlyphSource defines the interface for Glyph source object.
34 * It generates a javax.media.j3d.Shape3D object.
35 *
36 * @version $Revision: 1.3 $
37 * @author Masahiro Takatsuka (masa@jbeans.net)
38 */
39
40 public interface GlyphSource {
41 /***
42 * Returns javax.media.3d.Node object.
43 */
44 Node getNode();
45
46 /***
47 * Updates the specified Shape3D object.
48 */
49 Node updateNode(Node node);
50
51 /***
52 * Returns javax.media.3d.Appearance object.
53 */
54 Appearance getAppearanceOfNode(Node node);
55
56 /***
57 * Updates the specified Appearance object.
58 */
59 void setAppearanceOfNode(Node node, Appearance appearance);
60
61 /***
62 * Returns an array containing methods to set data to construct
63 * a glyph source.
64 */
65 Method[] getSetMethods();
66
67
68
69
70 int[] getEssentials();
71 }