view src/main/java/jp/ac/u_ryukyu/alicevnc/RenderAndControllerHolder.java @ 34:aace9df1462e

refactor
author sugi
date Thu, 13 Nov 2014 16:09:09 +0900
parents 6f5986d8ecd5
children
line wrap: on
line source

package jp.ac.u_ryukyu.alicevnc;

import com.glavsoft.drawing.Renderer;
import com.glavsoft.rfb.IRepaintController;
import com.glavsoft.viewer.swing.SwingViewerWindow;

public class RenderAndControllerHolder {

    private Renderer renderer;
    private IRepaintController repaintController;
    private SwingViewerWindow viewerWindow;

    public RenderAndControllerHolder(Renderer renderer,
            IRepaintController repaintController,
            SwingViewerWindow viewerWindow) {
        this.repaintController = repaintController;
        this.renderer = renderer;
        this.viewerWindow = viewerWindow;
    }

    public Renderer getRenderer() {
        return renderer;
    }

    public void setRenderer(Renderer renderer) {
        this.renderer = renderer;
    }

    public IRepaintController getRepaintController() {
        return repaintController;
    }

    public SwingViewerWindow getViewerWindow(){
        return viewerWindow;
    }

}