Click or drag to resize

XAndYColumnController Class

Controls the data of a single XAndYColumn
Inheritance Hierarchy

Namespace: Altaxo.Gui.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class XAndYColumnController : ColumnPlotDataControllerBase<XAndYColumn>

The XAndYColumnController type exposes the following members.

Constructors
 NameDescription
Public methodXAndYColumnControllerInitializes a new instance of the XAndYColumnController class
Top
Properties
 NameDescription
Public propertyAvailabeGroupNumbers
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyAvailableDataColumnsDragHandler
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyAvailableTableColumnsForListView Initialize the list of available data columns in the selected table and for the selected group number.
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyAvailableTableColumnsForTreeView Initialize the list of available data columns in the selected table and for the selected group number.
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyAvailableTableColumnsListSelectedItem
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyAvailableTables
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyAvailableTransformationsAll types of available column transformations.
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyAvailableTransformationsDragHandler
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected propertyCreateNotInitializedException
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected propertyCreateNoViewException
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Public propertyDocGets the current document of this controller. If the document is null, an InvalidOperationException is thrown. To check whether the document is null, check on the member _doc directly.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Public propertyIsAvailableDataColumnsListViewFocused
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyIsAvailableDataColumnsTreeViewFocused
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyIsAvailableTransformationsFocused
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyIsDisposedGet a value indication whether this controller is already disposed.
(Inherited from ControllerBase)
Public propertyIsGroupNumberEnabled
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyIsOtherAvailableColumnsFocused
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyIsTableColumnsListVisible Gets a value indicating whether the list view or tree view is visible.
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyMatchingTables Initialize the list of tables that fit to the current chosen columns. ValueTuples from tables and group numbers, for which the columns in that group contain all that column names which are currently plot columns in our controller.
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyModelObject Returns the document that this controller manages to edit.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected propertyNoDocumentException
(Inherited from ControllerBase)
Protected propertyNotInitializedException
(Inherited from ControllerBase)
Protected propertyNoViewException
(Inherited from ControllerBase)
Public propertyOtherAvailableColumnsOther types of columns, e.g. constant columns, equally spaced columns and so on..
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyOtherAvailableColumnsDragHander
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyPlotItemColumns
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyRowSelectionController
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertySelectedGroupNumber
(Inherited from ColumnPlotDataControllerBaseTModel)
Public propertyUseDocumentCopy Sets whether or not a copy of the document is used. If set to true, a copy of the document is used, so if the controller is not applied, all changes can be reverted. If set to false, no copy must be made. The document is directly changed by the controller, and changes can not be reverted. Use the last option if a controller up in the hierarchie has already made a copy of the document.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Public propertyViewObject Returns the Gui element that shows the model to the user.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Top
Methods
 NameDescription
Public methodApply
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected methodApplyEnd Standard procedure at the end of the Apply phase. If the applyResult is true, the controller is either disposed (if disposeController is true) or the document is shortly resumed (if disposeController is false. Nothing is done if applyResult is false.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected methodAttachView Override this function to attach the view to the controller, either by subscribing to events of the view, or by setting the controller object on the view.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected methodCheckDocumentInitializedT
(Inherited from ControllerBase)
Protected methodDetachView Override this function to detach the view from the controller, either by unsubscribing to events of the view, or by setting the controller object on the view to null.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Public methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ControllerBase)
Public methodDispose(Boolean)
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnAddTo Called if a SingleColumnController notifies, that the 'add column' button was pressed.
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnDrop
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnEdit
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnErase
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnTransformationAddAsAppending
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnTransformationAddAsPrepending
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnTransformationAddAsSingle
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnTransformationDrop
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnTransformationEdit
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhPlotColumnTransformationErase
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhView_MatchingTableSelectionChanged Occurs if the selection for the matching tables has changed.
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhView_OtherAvailableColumnAddTo
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhView_PlotColumnAddTo
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhView_TableSelectionChanged
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEhView_TransformationAddTo
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSubControllers
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected methodGetSuspendTokenForControllerDocument Gets the suspend token for the controller document. This default implementation calls SuspendGetToken() on the document. By overriding this function you can suspend parent nodes in case it is neccessary to modify nodes at lower levels of the hierarchy.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodInitializeDocument Initialize the controller with the document. If successfull, the function has to return true.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnPropertyChanged
(Inherited from ControllerBase)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Public methodSetAdditionalPlotColumns Sets the additional columns that are used by some of the plot styles.
(Inherited from ColumnPlotDataControllerBaseTModel)
Public methodSetDirty
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected methodThrowIfNotInitializedThrows an exception if the controller is not initialized with a document.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventPropertyChanged Occurs when a property value changes.
(Inherited from ControllerBase)
Top
Fields
 NameDescription
Protected field_availableDataColumnsAll data columns in the selected data table and with the selected group number.
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected field_clonedCopyOfDocCloned copy of the document (is null if _useDocumentCopy is false). Used to revert the edited document to the state before editing.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected field_columnGroup
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected field_docThe document to edit.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected field_isDirty
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected field_suspendToken The suspend token of the document being edited. If _useDocumentCopy is false, we assume that a controller higher in hierarchy has made a copy of the document, thus we do not use a suspendToken for the document.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected field_updateMatchingTablesTaskTasks which updates the _fittingTables.
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected field_updateMatchingTablesTaskCancellationTokenSourceTokenSource to cancel the tasks which updates the _fittingTables.
(Inherited from ColumnPlotDataControllerBaseTModel)
Protected field_useDocumentCopyIf true, a copy of the document is made before editing; this copy can later be used to revert the state of the document to the original state.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Protected field_viewThe Gui view of this controller
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView)
Top
See Also