comparison src/com/five_ten_sg/connectbot/bean/HostBean.java @ 123:446dbcf606eb

add more 5250 config items; ignore drawing outside the screen
author Carl Byington <carl@five-ten-sg.com>
date Thu, 19 Jun 2014 08:28:23 -0700
parents 52b1d0ee27b1
children cf677a6f586d
comparison
equal deleted inserted replaced
122:52b1d0ee27b1 123:446dbcf606eb
54 private String x11Host = "localhost"; 54 private String x11Host = "localhost";
55 private int x11Port = 6000; 55 private int x11Port = 6000;
56 private String monitor = null; 56 private String monitor = null;
57 private String hostemulation = null; 57 private String hostemulation = null;
58 private String encryption5250 = null; 58 private String encryption5250 = null;
59 private String password = null;
60 private String library = null; 59 private String library = null;
61 private String initialMenu = null; 60 private String initialMenu = null;
62 private String program = null; 61 private String program = null;
63 62
64 public HostBean() { 63 public HostBean() {
286 return this.encryption5250; 285 return this.encryption5250;
287 } 286 }
288 287
289 public void setEncryption5250(String encryption5250) { 288 public void setEncryption5250(String encryption5250) {
290 this.encryption5250 = encryption5250; 289 this.encryption5250 = encryption5250;
291 }
292
293 public String getPassword() {
294 return this.password;
295 }
296
297 public void setPassword(String password) {
298 this.password = password;
299 } 290 }
300 291
301 public String getLibrary() { 292 public String getLibrary() {
302 return this.library; 293 return this.library;
303 } 294 }
349 values.put(HostDatabase.FIELD_HOST_X11HOST, x11Host); 340 values.put(HostDatabase.FIELD_HOST_X11HOST, x11Host);
350 values.put(HostDatabase.FIELD_HOST_X11PORT, x11Port); 341 values.put(HostDatabase.FIELD_HOST_X11PORT, x11Port);
351 values.put(HostDatabase.FIELD_HOST_MONITOR, monitor); 342 values.put(HostDatabase.FIELD_HOST_MONITOR, monitor);
352 values.put(HostDatabase.FIELD_HOST_EMULATION, hostemulation); 343 values.put(HostDatabase.FIELD_HOST_EMULATION, hostemulation);
353 values.put(HostDatabase.FIELD_HOST_ENCRYPTION5250, encryption5250); 344 values.put(HostDatabase.FIELD_HOST_ENCRYPTION5250, encryption5250);
345 values.put(HostDatabase.FIELD_HOST_LIBRARY5250, library);
346 values.put(HostDatabase.FIELD_HOST_MENU5250, initialMenu);
347 values.put(HostDatabase.FIELD_HOST_PROGRAM5250, program);
354 return values; 348 return values;
355 } 349 }
356 350
357 @Override 351 @Override
358 public boolean equals(Object o) { 352 public boolean equals(Object o) {