📄 fontmodel.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -