fontmodel.java

来自「WAP PUSH后台源码,WAP PUSH后台源码」· Java 代码 · 共 68 行

JAVA
68
字号
package com.sxit.wap.font;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class FontModel implements java.io.Serializable {  String userMdn = "";  String uaType = "";  String inputCh = "";  String fontType = "";  public FontModel(String userMdn, String uaType, String inputCh, String fontType){    if (userMdn == null) userMdn = "";    this.userMdn = userMdn;    if (uaType == null) uaType = "";    this.uaType = uaType;    if (inputCh == null) inputCh = "";    this.inputCh = inputCh;    if (fontType == null) fontType = "";    this.fontType = fontType;  }  public FontModel(){  }  public String getUserMdn() {     if (userMdn == null) userMdn = "";     return userMdn;  }  public String getUaType() {     if (uaType == null) uaType = "";     return uaType;  }  public String getInputCh() {     if (inputCh == null) inputCh = "";     return inputCh;  }  public String getFontType() {     if (fontType == null) fontType = "";     return fontType;  }  public void setUserMdn(String userMdn) {    this.userMdn = userMdn;  }  public void setUaType(String uaType) {    this.uaType = uaType;  }  public void setInputCh(String inputCh) {    this.inputCh = inputCh;  }  public void setFontType(String fontType) {    this.fontType = fontType;  }  public String toString() {    String value = "";    value+= "userMdn=" + userMdn + "\n";    value+= "uaType=" + uaType + "\n";    value+= "inputCh=" + inputCh + "\n";    value+= "fontType=" + fontType + "\n";    return value;  }  public void copy(FontModel other) {    this.setUserMdn(other.getUserMdn());    this.setUaType(other.getUaType());    this.setInputCh(other.getInputCh());    this.setFontType(other.getFontType());  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?