Browse Source

Klassen angelegt für Controll Aufgaben

master
Gerhard Switalski 6 years ago
parent
commit
1764cd9f75

+ 26
- 0
src/chatprogramm/controller/ConnectController.java View File

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

package chatprogramm.controller;

import chatprogramm.model.Transmitter;
import chatprogramm.view.ChatView;

/**
*
* @author Gerhard
*/
public class ConnectController
{
private ChatView view;
private Transmitter model;
public ConnectController(ChatView view, Transmitter model)
{
this.view = view;
this.model = model;
}
}

+ 33
- 0
src/chatprogramm/controller/ReceiveAdapterController.java View File

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

package chatprogramm.controller;

import chatprogramm.model.Transmitter;
import chatprogramm.view.ChatView;
import java.util.Observable;
import java.util.Observer;

/**
*
* @author Gerhard
*/
public class ReceiveAdapterController implements Observer
{
private ChatView view;
private Transmitter model;
public ReceiveAdapterController(ChatView view, Transmitter model)
{
this.view = view;
this.model = model;
}

@Override
public void update(Observable o, Object arg)
{
}
}

+ 26
- 0
src/chatprogramm/controller/SendController.java View File

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

package chatprogramm.controller;

import chatprogramm.model.Transmitter;
import chatprogramm.view.ChatView;

/**
*
* @author Gerhard
*/
public class SendController
{
private ChatView view;
private Transmitter model;
public SendController(ChatView view, Transmitter model)
{
this.view = view;
this.model = model;
}
}

Loading…
Cancel
Save