Mercurial > hg > Applications > AliceVNC
changeset 9:eeacdcc50551
add setter and getter Method
author | YU |
---|---|
date | Thu, 18 Sep 2014 21:06:06 +0900 |
parents | 7c7a9b23c291 |
children | 65d989192d63 |
files | src/main/java/jp/ac/u_ryukyu/alicevnc/RenderAndControllerHolder.java |
diffstat | 1 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/alicevnc/RenderAndControllerHolder.java Thu Sep 18 21:05:15 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/alicevnc/RenderAndControllerHolder.java Thu Sep 18 21:06:06 2014 +0900 @@ -5,8 +5,8 @@ public class RenderAndControllerHolder { - public Renderer renderer; - public IRepaintController repaintController; + private Renderer renderer; + private IRepaintController repaintController; public RenderAndControllerHolder(Renderer renderer, IRepaintController repaintController) { @@ -14,4 +14,16 @@ this.renderer = renderer; } + public Renderer getRenderer() { + return renderer; + } + + public void setRenderer(Renderer renderer) { + this.renderer = renderer; + } + + public IRepaintController getRepaintController() { + return repaintController; + } + }