Class CSVDataSetDefAttributesEditor

  • All Implemented Interfaces:
    com.google.gwt.editor.client.Editor<org.dashbuilder.dataset.def.CSVDataSetDef>, com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.CSVDataSetDef>, com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.CSVDataSetDef>, com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor

    @Dependent
    public class CSVDataSetDefAttributesEditor
    extends Object
    implements com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor

    CSV Data Set specific attributes editor presenter.

    Since:
    0.4.0
    • Constructor Detail

      • CSVDataSetDefAttributesEditor

        @Inject
        public CSVDataSetDefAttributesEditor​(org.dashbuilder.dataset.client.DataSetClientServices dataSetClientServices,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<String> fileURL,
                                             org.dashbuilder.common.client.editor.file.FileUploadEditor filePath,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<Character> separatorChar,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<Character> quoteChar,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<Character> escapeChar,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<String> datePattern,
                                             org.dashbuilder.common.client.editor.ValueBoxEditor<String> numberPattern,
                                             CSVDataSetDefAttributesEditor.View view)
    • Method Detail

      • asWidget

        public com.google.gwt.user.client.ui.Widget asWidget()
        Specified by:
        asWidget in interface com.google.gwt.user.client.ui.IsWidget
      • fileURL

        public org.dashbuilder.common.client.editor.ValueBoxEditor<String> fileURL()
        GWT EDITOR CONTRACT METHODS **
        Specified by:
        fileURL in interface org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
      • filePath

        public org.dashbuilder.common.client.editor.file.FileUploadEditor filePath()
        Specified by:
        filePath in interface org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
      • separatorChar

        public org.dashbuilder.common.client.editor.ValueBoxEditor<Character> separatorChar()
        Specified by:
        separatorChar in interface org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
      • quoteChar

        public org.dashbuilder.common.client.editor.ValueBoxEditor<Character> quoteChar()
        Specified by:
        quoteChar in interface org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
      • escapeChar

        public org.dashbuilder.common.client.editor.ValueBoxEditor<Character> escapeChar()
        Specified by:
        escapeChar in interface org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
      • datePattern

        public org.dashbuilder.common.client.editor.ValueBoxEditor<String> datePattern()
        Specified by:
        datePattern in interface org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
      • numberPattern

        public org.dashbuilder.common.client.editor.ValueBoxEditor<String> numberPattern()
        Specified by:
        numberPattern in interface org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
      • isUsingFilePath

        public boolean isUsingFilePath()
        Specified by:
        isUsingFilePath in interface org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
      • flush

        public void flush()
        Specified by:
        flush in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.CSVDataSetDef>
      • onPropertyChange

        public void onPropertyChange​(String... paths)
        Specified by:
        onPropertyChange in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.CSVDataSetDef>
      • setValue

        public void setValue​(org.dashbuilder.dataset.def.CSVDataSetDef value)
        Specified by:
        setValue in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.CSVDataSetDef>
      • setDelegate

        public void setDelegate​(com.google.gwt.editor.client.EditorDelegate<org.dashbuilder.dataset.def.CSVDataSetDef> delegate)
        Specified by:
        setDelegate in interface com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.CSVDataSetDef>