实现方式
1 UI界面全屏显示
this.setPreferredSize(screenSize);// 设置框架满屏显示
2 以查看的方式 显示全屏
public void actionView_actionPerformed(ActionEvent e) throws Exception {
checkSelected();
String id = getSelectedKeyValue();
if(id == null || "".equals(id)){
return ;
}
UIContext uiContext = new UIContext(this);
uiContext.put("ID", new ObjectStringPK(id));
getUIContext().putAll(uiContext);
uiContext.put("this", this); //将本页面对象作为参数传递到编辑界面,用来在编辑界面保存之后刷新数据
IUIWindow uiWindow = UIFactory.createUIFactory(UIFactoryName.NEWTAB).create(getEditUIName(), uiContext, null, OprtState.VIEW);
uiWindow.show();
//super.actionView_actionPerformed(e);
}
2790




被折叠的 条评论
为什么被折叠?



