List of usage examples for com.google.gwt.user.client.ui FlexTable FlexTable
public FlexTable()
From source file:com.ephesoft.dcma.gwt.admin.bm.client.presenter.plugin.PluginDataPresenter.java
License:Open Source License
/** * Processing to be done on load of this presenter. *///from www .j a v a2 s. c o m @Override public void bind() { if (controller.getSelectedPlugin() != null) { this.dataTable = view.getViewTable(); viewTable = new FlexTable(); viewTable.setWidth("100%"); viewTable.setCellSpacing(0); viewTable.getColumnFormatter().setWidth(0, "10%"); viewTable.getColumnFormatter().setWidth(1, "1%"); viewTable.getColumnFormatter().setWidth(2, "70%"); viewTable.getFlexCellFormatter().addStyleName(0, 0, "topBorder"); viewTable.getFlexCellFormatter().addStyleName(0, 1, "topBorder"); viewTable.getFlexCellFormatter().addStyleName(0, 2, "topBorder"); dataTable.setWidget(0, 0, viewTable); dataTable.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP); setProperties(); } }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.presenter.plugin.PluginDetailPresenter.java
License:Open Source License
/** * Processing to be done on load of this presenter. *//*w w w. j av a2 s . c o m*/ @Override public void bind() { if (controller.getSelectedPlugin() != null) { this.dataTable = view.getViewTable(); viewTable = new FlexTable(); viewTable.setWidth("80%"); viewTable.setCellSpacing(0); viewTable.getColumnFormatter().setWidth(0, "40%"); viewTable.getColumnFormatter().setWidth(1, "1%"); viewTable.getColumnFormatter().setWidth(2, "59%"); dataTable.setWidget(0, 0, viewTable); dataTable.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP); setProperties(); if (controller.getSelectedPlugin().getPlugin().getPluginName() .equalsIgnoreCase(PluginNameConstants.CMIS_EXPORT_PLUGIN)) { view.getTestCMIS().setVisible(Boolean.TRUE); } else { view.getTestCMIS().setVisible(Boolean.FALSE); } enableCMISGetTokenButton(); } }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.view.batch.SamplePatternView.java
License:Open Source License
/** * Constructor.// w w w . j av a 2s .com */ public SamplePatternView() { super(); initWidget(BINDER.createAndBindUi(this)); scrollPanel.setSize("490px", "495px"); samplePatternTable = new FlexTable(); samplePatternTable.setWidth("490px"); samplePatternTable.setCellSpacing(0); samplePatternTable.addStyleName(AdminConstants.BORDER_RESULT_TABLE); backButton.setText(AdminConstants.CLOSE_BUTTON); patternListPanel.add(samplePatternTable); backButton.setFocus(true); }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.view.documenttype.TableTestResultView.java
License:Open Source License
/** * Constructor.//from w w w . j a va 2s .c o m */ public TableTestResultView() { super(); initWidget(BINDER.createAndBindUi(this)); scrollPanel.setSize("500px", "300px"); resultTable = new FlexTable(); resultTable.setWidth("100%"); resultTable.setCellSpacing(0); resultTable.addStyleName("border-result-table"); backButton.setText(AdminConstants.CLOSE_BUTTON); tableListPanel.add(resultTable); }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.view.fieldtype.KVExtractionTestResultView.java
License:Open Source License
/** * Constructor./*from w w w. j a va2s . co m*/ */ public KVExtractionTestResultView() { super(); initWidget(BINDER.createAndBindUi(this)); scrollPanel.setSize("500px", "300px"); resultTable = new FlexTable(); resultTable.setWidth("100%"); resultTable.setCellSpacing(0); resultTable.addStyleName("border-result-table"); backButton.setText(AdminConstants.CLOSE_BUTTON); kvExtractionListPanel.add(resultTable); }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.view.plugin.BoxExporterDetailView.java
License:Open Source License
/** * Constructor.//from w w w . j a v a 2 s .c om */ public BoxExporterDetailView() { super(); initWidget(BINDER.createAndBindUi(this)); detailTable = new FlexTable(); detailTable.setWidth("100%"); detailTable.getColumnFormatter().setWidth(0, "40%"); detailTable.getColumnFormatter().setWidth(1, "1%"); detailTable.getColumnFormatter().setWidth(2, "59%"); viewTable.setWidget(0, 0, detailTable); viewTable.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP); editBoxConfigurationButton.setText(AdminConstants.EDIT_BUTTON); }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.view.plugin.DocTypeFieldsMappingView.java
License:Open Source License
/** * Constructor.// www . j a v a 2 s . c om */ public DocTypeFieldsMappingView() { super(); initWidget(BINDER.createAndBindUi(this)); documentTypeDetails.setCaptionHTML(AdminConstants.DOCUMENT_TYPE_HTML); fieldMapping.setCaptionHTML(AdminConstants.FIELD_MAPPING_HTML); detailsTable = new FlexTable(); detailsTable.setWidth("99%"); flexEditTable.setWidget(0, 0, detailsTable); flexEditTable.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP); }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.view.plugin.DocTypeMappingView.java
License:Open Source License
/** * Constructor./*from ww w .j a v a 2s. c o m*/ */ public DocTypeMappingView() { super(); initWidget(BINDER.createAndBindUi(this)); dbMappingPanel.setCaptionHTML(AdminConstants.DATABASE_MAPPING_HTML); pluginDetailsPanel.setCaptionHTML(AdminConstants.PLUGIN_DETAILS_HTML); detailsTable = new FlexTable(); detailsTable.setWidth("100%"); flexEditTable.setWidget(0, 0, detailsTable); flexEditTable.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP); }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.view.plugin.EditBoxExporterView.java
License:Open Source License
/** * Constructor./* w w w . j av a 2 s . c o m*/ */ public EditBoxExporterView() { super(); initWidget(BINDER.createAndBindUi(this)); cancel.setText(AdminConstants.CANCEL_BUTTON); ok.setText(AdminConstants.OK_BUTTON); authenticationTokenButton.setText(AdminConstants.AUTHENTICATION_TOKEN_BUTTON); flextable = new FlexTable(); flextable.setWidth("100%"); flextable.getColumnFormatter().setWidth(0, "40%"); flextable.getColumnFormatter().setWidth(1, "1%"); flextable.getColumnFormatter().setWidth(2, "59%"); editTable.setWidget(0, 0, flextable); editTable.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP); docFieldWidgets = new ArrayList<EditableWidgetStorage>(); authenticationTokenButton.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent arg0) { Map<String, String> boxExportPropertyMap = presenter.boxExportPropertyMap; if (boxExportPropertyMap != null) { presenter.getNewTicket(true); } else { presenter.getBoxExporterProperties(true); } } }); }
From source file:com.ephesoft.dcma.gwt.admin.bm.client.view.plugin.EditFuzzyDBPropertiesView.java
License:Open Source License
/** * Constructor./*from ww w.j a v a 2 s.c om*/ */ public EditFuzzyDBPropertiesView() { super(); initWidget(BINDER.createAndBindUi(this)); cancel.setText(AdminConstants.CANCEL_BUTTON); okButton.setText(AdminConstants.OK_BUTTON); mappingButton.setText(AdminConstants.MAPPING_BUTTON); flextable = new FlexTable(); flextable.setWidth("100%"); flextable.getColumnFormatter().setWidth(0, "40%"); flextable.getColumnFormatter().setWidth(1, "1%"); flextable.getColumnFormatter().setWidth(2, "59%"); editTable.setWidget(0, 0, flextable); editTable.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP); docFieldWidgets = new ArrayList<EditableWidgetStorage>(); mappingButton.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent arg0) { presenter.getController().getMainPresenter().showDocTypeMappingView(); } }); }