comparison src/com/five_ten_sg/connectbot/bean/HostBean.java @ 241:8b68dfb283d2

add host preference for fixed screen size
author Carl Byington <carl@five-ten-sg.com>
date Mon, 14 Jul 2014 10:25:29 -0700
parents bd803721f94a
children e0f5e706a655
comparison
equal deleted inserted replaced
240:9b011e1c57f3 241:8b68dfb283d2
44 private String postLogin = null; 44 private String postLogin = null;
45 private long pubkeyId = -1; 45 private long pubkeyId = -1;
46 private String delKey = HostDatabase.DELKEY_DEL; 46 private String delKey = HostDatabase.DELKEY_DEL;
47 private float fontSize = -1; 47 private float fontSize = -1;
48 private boolean fizedSize = false; 48 private boolean fizedSize = false;
49 private integer fixedWidth = 80; 49 private int fixedWidth = 80;
50 private integer fixedHeight = 25; 50 private int fixedHeight = 25;
51 private boolean wantSession = true; 51 private boolean wantSession = true;
52 private boolean compression = false; 52 private boolean compression = false;
53 private String httpproxy = null; 53 private String httpproxy = null;
54 private String encoding = HostDatabase.ENCODING_DEFAULT; 54 private String encoding = HostDatabase.ENCODING_DEFAULT;
55 private boolean stayConnected = false; 55 private boolean stayConnected = false;
210 this.fixedSize = fixedSize; 210 this.fixedSize = fixedSize;
211 } 211 }
212 public boolean getFixedSize() { 212 public boolean getFixedSize() {
213 return fixedSize; 213 return fixedSize;
214 } 214 }
215 public void setFixedWidth(float fixedWidth) { 215 public void setFixedWidth(int fixedWidth) {
216 this.fixedWidth = fixedWidth; 216 this.fixedWidth = fixedWidth;
217 } 217 }
218 public float getFixedWidth() { 218 public int getFixedWidth() {
219 return fixedWidth; 219 return fixedWidth;
220 } 220 }
221 public void setFixedHeight(float fixedHeight) { 221 public void setFixedHeight(int fixedHeight) {
222 this.fixedHeight = fixedHeight; 222 this.fixedHeight = fixedHeight;
223 } 223 }
224 public float getFixedHeight() { 224 public int getFixedHeight() {
225 return fixedHeight; 225 return fixedHeight;
226 } 226 }
227 public void setCompression(boolean compression) { 227 public void setCompression(boolean compression) {
228 this.compression = compression; 228 this.compression = compression;
229 } 229 }