private void adjustAppearanceToFitDialog(final FormT form) { if (!form.isRendered()) { form.setHeaderVisible(false); form.setFrame(false); } }
/** * Initialize form panel. */ public void initializeFormPanel() { this.formPanel.setFrame(true); this.formPanel.setLayout(new FlowLayout()); initSizeFormPanel(); addComponentToForm(); addButtons(); }
private void showPanelData(AppEvent event) { if (this.ruleRowEditor.store != null) { this.ruleRowEditor.store.removeAll(); } else { this.ruleRowEditor.createStore(); } if (!this.ruleRowEditor.isRendered()) { this.ruleRowEditor.initGrid(); this.ruleRowEditor.setFrame(true); this.ruleRowEditor.setLayout(new FlowLayout()); this.ruleRowEditor.formPanel.setFrame(true); this.ruleRowEditor.formPanel.setLayout(new FlowLayout()); this.ruleRowEditor.initSizeFormPanel(); this.ruleRowEditor.addComponentToForm(); } this.ruleRowEditor.store.add(((GridStatus) event.getData()).getModel()); this.ruleRowEditor.setClosable(false); this.ruleRowEditor.show(); this.ruleRowEditor.formPanel.show(); this.ruleRowEditor.grid.repaint(); }
formPanel.setFrame(true); formPanel.setHeaderVisible(false); formPanel.setAutoHeight(true);
private void showPanel(AppEvent event) { if (this.ruleRowEditor.store != null) { this.ruleRowEditor.store.removeAll(); } this.ruleRowEditor.createStore(); this.ruleRowEditor.store.add((RuleModel) event.getData()); this.ruleRowEditor.initGrid(); if (!this.ruleRowEditor.formPanel.isRendered()) { this.ruleRowEditor.formPanel.setFrame(true); this.ruleRowEditor.formPanel.setLayout(new FlowLayout()); } if (!this.ruleRowEditor.isRendered()) { this.ruleRowEditor.initializeFormPanel(); this.ruleRowEditor.setFrame(true); this.ruleRowEditor.setLayout(new FlowLayout()); this.ruleRowEditor.initSizeFormPanel(); } this.ruleRowEditor.setModel((RuleModel) event.getData()); this.ruleRowEditor.addComponentToForm(); this.ruleRowEditor.setClosable(false); this.ruleRowEditor.show(); this.ruleRowEditor.formPanel.show(); this.ruleRowEditor.repaint(); this.ruleRowEditor.formPanel.repaint(); }
form.setFrame(true); form.setAction(GWT.getModuleBaseURL() + controllerUrl + "?" + CONTROLLER_UPLOAD); form.setEncoding(FormPanel.Encoding.MULTIPART);
fp.setFrame(true); fp.setHeaderVisible(false); fp.setHeight(400);
formPanel = new FormPanel(); formPanel.setHeaderVisible(false); formPanel.setFrame(true); formPanel.setLayout(new FlowLayout());
fp.setFrame(true); fp.setHeaderVisible(false);
fp.setFrame(true); fp.setHeaderVisible(false); fp.setHeight(400);