1 50 51 package org.openlaszlo.iv.flash.api; 52 53 import java.io.PrintStream ; 54 import org.openlaszlo.iv.flash.util.*; 55 56 67 public abstract class FlashDef extends FlashObject { 68 69 private int id; 70 private String name; 71 72 77 public int getID() { 78 return id; 79 } 80 81 86 public void setID( int id ) { 87 this.id = id; 88 } 89 90 95 public String getName() { 96 return name; 97 } 98 99 104 public void setName( String name ) { 105 this.name = name; 106 } 107 108 protected FlashItem copyInto( FlashItem item, ScriptCopier copier ) { 109 super.copyInto( item, copier ); 110 ((FlashDef)item).id = id; 111 ((FlashDef)item).name = name; 112 return item; 113 } 114 115 } 116 117 | Popular Tags |