comparison src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java @ 153:e68dfd1972ac

fix bad names.
author oc
date Fri, 13 Jun 2014 18:04:42 +0900
parents bce2ef0a2e79
children 1d3fa20b86bb
comparison
equal deleted inserted replaced
152:4096a8408fdb 153:e68dfd1972ac
33 import com.glavsoft.rfb.protocol.ProtocolSettings; 33 import com.glavsoft.rfb.protocol.ProtocolSettings;
34 import com.glavsoft.utils.Keymap; 34 import com.glavsoft.utils.Keymap;
35 import com.glavsoft.viewer.ConnectionPresenter; 35 import com.glavsoft.viewer.ConnectionPresenter;
36 import com.glavsoft.viewer.UiSettings; 36 import com.glavsoft.viewer.UiSettings;
37 import com.glavsoft.viewer.Viewer; 37 import com.glavsoft.viewer.Viewer;
38 import com.glavsoft.viewer.ViewerImpl; 38 import com.glavsoft.viewer.ViewerInterface;
39 import com.glavsoft.viewer.swing.gui.OptionsDialog; 39 import com.glavsoft.viewer.swing.gui.OptionsDialog;
40 40
41 import javax.swing.*; 41 import javax.swing.*;
42 import javax.swing.border.BevelBorder; 42 import javax.swing.border.BevelBorder;
43 import javax.swing.border.Border; 43 import javax.swing.border.Border;
68 private boolean forceResizable = true; 68 private boolean forceResizable = true;
69 private ButtonsBar buttonsBar; 69 private ButtonsBar buttonsBar;
70 private Surface surface; 70 private Surface surface;
71 private boolean isSeparateFrame; 71 private boolean isSeparateFrame;
72 private final boolean isApplet; 72 private final boolean isApplet;
73 private ViewerImpl viewer; 73 private ViewerInterface viewer;
74 private String connectionString; 74 private String connectionString;
75 private ConnectionPresenter presenter; 75 private ConnectionPresenter presenter;
76 private Rectangle oldContainerBounds; 76 private Rectangle oldContainerBounds;
77 private volatile boolean isFullScreen; 77 private volatile boolean isFullScreen;
78 private Border oldScrollerBorder; 78 private Border oldScrollerBorder;
85 85
86 private boolean isZoomToFitSelected; 86 private boolean isZoomToFitSelected;
87 private List<JComponent> kbdButtons; 87 private List<JComponent> kbdButtons;
88 88
89 public SwingViewerWindow(Protocol workingProtocol, ProtocolSettings rfbSettings, UiSettings uiSettings, Surface surface, 89 public SwingViewerWindow(Protocol workingProtocol, ProtocolSettings rfbSettings, UiSettings uiSettings, Surface surface,
90 boolean isSeparateFrame, boolean isApplet, ViewerImpl viewer, String connectionString, 90 boolean isSeparateFrame, boolean isApplet, ViewerInterface viewer, String connectionString,
91 ConnectionPresenter presenter) { 91 ConnectionPresenter presenter) {
92 this.workingProtocol = workingProtocol; 92 this.workingProtocol = workingProtocol;
93 this.rfbSettings = rfbSettings; 93 this.rfbSettings = rfbSettings;
94 this.uiSettings = uiSettings; 94 this.uiSettings = uiSettings;
95 this.surface = surface; 95 this.surface = surface;