如何能编辑记录在存取时???如:设置字体等。
我想在bean里用这样的方法:
public String getFontSize(){
String retValue = "";
int begin = unitIdentity.indexOf(":") + 1;
if (begin > 0)
retValue = unitIdentity.substring(begin,begin+2);
else
retValue = "30";
return retValue;
}
这个是字大小,unitIdentity是数据库中对应的字段,可我要得到字体该怎么写呢?public String getFontFamily(){