1 16 17 package com.buchuki.ensmer.builtin; 18 19 import com.buchuki.ensmer.EnsmerManager; 20 import com.buchuki.ensmer.input.InputManager; 21 import com.buchuki.ensmer.input.command.*; 22 import com.buchuki.ensmer.input.event.*; 23 import com.buchuki.ensmer.object.Backend; 24 import com.buchuki.ensmer.text.TextInput; 25 import com.sun.j3d.utils.geometry.Text2D; 26 import java.awt.Font ; 27 import java.awt.event.KeyEvent ; 28 import java.io.Serializable ; 29 import javax.media.j3d.*; 30 import javax.vecmath.Color3f; 31 32 38 public class Message extends Backend { 39 40 43 public Message() { 44 } 45 46 49 public Message(Serializable data) { 50 this(); 51 message = (String ) data; 52 } 53 54 57 public Serializable getSerializable() { 58 return message; 59 } 60 61 66 public void setMessage(String message) { 67 this.message = message; 68 fireChangeEvent(); 69 } 70 71 74 public String getMessage() { 75 return message; 76 } 77 78 81 private String message; 82 83 } 84 | Popular Tags |