Interface ColumnTypeEditor

  • All Superinterfaces:
    com.google.gwt.editor.client.Editor<org.dashbuilder.dataset.def.DataColumnDef>, org.dashbuilder.common.client.editor.HasEditMode, com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.DataColumnDef>, com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataColumnDef>

    public interface ColumnTypeEditor
    extends com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.DataColumnDef>, org.dashbuilder.common.client.editor.HasEditMode

    The GWT editor contract for beans of type org.dashbuilder.dataset.ColumnType of a given data column definition.

    It's a value aware editor as the available column types to change depend on the current column type value.

    Since:
    0.4.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor

        com.google.gwt.editor.client.Editor.Ignore, com.google.gwt.editor.client.Editor.Path
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.dashbuilder.common.client.editor.LeafAttributeEditor<org.dashbuilder.dataset.ColumnType> columnType()  
      void setOriginalColumnType​(org.dashbuilder.dataset.ColumnType columnType)
      Column editor requires the original column type in oder to allow changing column types to the types given by the original data set column type.
      • Methods inherited from interface org.dashbuilder.common.client.editor.HasEditMode

        isEditMode
      • Methods inherited from interface com.google.gwt.editor.client.HasEditorDelegate

        setDelegate
      • Methods inherited from interface com.google.gwt.editor.client.ValueAwareEditor

        flush, onPropertyChange, setValue
    • Method Detail

      • setOriginalColumnType

        @Ignore
        void setOriginalColumnType​(org.dashbuilder.dataset.ColumnType columnType)
        Column editor requires the original column type in oder to allow changing column types to the types given by the original data set column type.
        Parameters:
        columnType - The original data set column type
      • columnType

        org.dashbuilder.common.client.editor.LeafAttributeEditor<org.dashbuilder.dataset.ColumnType> columnType()