|
|
|
|
|
|
|
|
|
|
|
|
|
|
package ChatProgramm.controller.commands; |
|
|
package ChatProgramm.controller.commands; |
|
|
|
|
|
|
|
|
|
|
|
import ChatProgramm.util.OhmLogger; |
|
|
|
|
|
import ChatProgramm.view.ChatView; |
|
|
|
|
|
import java.util.logging.Logger; |
|
|
|
|
|
import javax.swing.JTextField; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* |
|
|
* |
|
|
* @author ahren |
|
|
* @author ahren |
|
|
*/ |
|
|
*/ |
|
|
public class CommandSend implements CommandInterface |
|
|
public class CommandSend implements CommandInterface |
|
|
{ |
|
|
{ |
|
|
public CommandSend() |
|
|
|
|
|
|
|
|
private static Logger lg = OhmLogger.getLogger(); |
|
|
|
|
|
private JTextField tfNachricht; |
|
|
|
|
|
public CommandSend(ChatView view) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
tfNachricht = view.getTfNachricht(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |