FMX.Grid.TGridModel Methods
InheritedProtected
AfterConstruction | public | Responds after the last constructor has executed. |
Assign | public | Copies the contents of another similar object. |
AssignTo | protected | Copies the properties of an object to a destination object. |
BeforeDestruction | public | Responds before the first destructor executes. |
BeginUpdate | public | Marks the start of an update session of this model. |
CanNotify | public | Returns whether TMessageSender can send messages. |
CheckDisposed | protected | |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
ClearCache | public | Clears the internal cache. |
ClearColumnInCache | public | Clears all values of the column with the specified column number in the internal cache. |
ClearRowInCache | public | Clears all values of the row with the specified row number in the internal cache. |
ColumnChanged | public | Notifies the presentation of changes within the column with the specified column number. |
ContentChanged | public | Notifies the presentation of changes in the content of the grid that affect the whole grid, such as size, count or order changes that affect columns or rows. |
Create | public | Creates an instance of TDataModel. |
CreateCache | protected | Creates the instance of TGridValues or a subclass for the internal cache. |
CreateReceiver | protected | Creates a receiver for messages. |
DataChanged | public | Removes from the cache the value of the cell specified by ACol and ARow and sends the message to invalidate this cell. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
DefineProperties | protected | Provides an interface for a method that reads and writes otherwise unpublished data. |
Destroy | public | Destroys this instance of TGridModel. |
DisableNotify | public | Disables TMessageSender from sending messages. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf | public | DisposeOf forces the execution of the destructor code in an object. |
DoCallbackGetValue | protected | Dispatches the OnCallbackGetValue event if an event handler is defined, or executes ACallback otherwise. |
DoColumnAdded | protected | Method executed after a successful column insertion. |
DoColumnRemoved | protected | Method executed after a successful column removal. |
DoDrawColumnCell | protected | Dispatcher of the OnDrawColumnCell event. |
DoEndUpdate | protected | Applies all the changes performed on the model during the current update session. |
DoGetValue | protected | Is called when the grid, using this grid model, needs to retrieve a value from an external repository to use as the content of one of the cells in the grid. |
DoRowCountChanged | protected | Method that is executed when the number of rows changes. |
DoSelChanged | protected | Dispatches the OnSelChanged event. |
DoSelectCell | protected | Dispatches the OnSelectCell event. |
DoSetValue | protected | Is called when the grid, using this grid model, needs to pass a content of one of the cells in a grid as a value to an external repository. |
DoTextSettingsChanged | protected | Method that is called after TextSettings or StyledSettings change to handle these changes. |
DoViewportPositionChange | public | This method is called when ScrollBox changes the content position or size. |
EnableNotify | public | Enables TMessageSender to send messages. |
EndUpdate | public | Marks the end of an update session of this model. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
FieldAddress | public | Returns the address of a published object field. |
FindNextCell | public | Fills ACol and ARow with the column number and the row number of the cell that can be selected after the current cell, and returns True on success of False if a cell cannot be found. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
FreeReceiver | protected | Frees the Receiver of the TMessageSender. |
GetDefaultGridOptions | protected | Getter of DefaultGridOptions. |
GetDefaultTextSettings | protected | Getter of DefaultTextSettings. |
GetDisposed | protected | Getter for the Disposed property. |
GetEditorValue | protected | Returns the current value of the cell editor if the grid is in editor mode, or TValue.Empty otherwise. |
GetHashCode | public | Returns an integer containing the hash code. |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
GetNamePath | public | Returns the name of the object as it appears in the Object Inspector. |
GetOwner | protected | Returns the owner of an object. |
GetResultingTextSettings | protected | Getter of ResultingTextSettings. |
GetStyledSettings | protected | Getter of StyledSettings. |
GetTextSettings | protected | Getter of TextSettings. |
GetTextSettingsClass | protected | Returns a reference to the subclass of TCustomTextSettings that encapsulates the text settings. |
GetValue | public | Returns the value of the cell located at the specified column number and row number. |
HasReceiver | public | Returns whether TMessageSender has a Receiver. |
HideEditor | public | Notifies the presentation that it should hide the cell editor and exit the editor mode. |
IndexOfColumn | public | Returns the column number of the specified column, or -1 if the column cannot be found. |
InheritsFrom | public | Determines the relationship of two object types. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
InsertColumn | public | Inserts the specified column into the model, at the specified column number. |
InsertColumnIntoCache | public | Inserts the column with the specified column number into the internal cache. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
InvalidateContentSize | public | Notifies the presentation that the previously calculated content size is no longer valid. |
IsOpaque | public | Indicates if the control should update effects when you scroll content. |
IsUpdating | public | Returns True if the model is in the middle of one or more update sessions, or False otherwise. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
MoveColumn | public | Changes to NewIndex the column number of the column at OldIndex . |
MoveColumnInCache | public | Moves the column with the specified column number (OldIndex ) to the specified column number (NewIndex ) in the internal cache. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
PostEditorValue | public | Notifies the presentation that it should update the value being edited. |
QualifiedClassName | public | Returns the qualified name of the class. |
ReduceCache | public | Reduces the internal cache so that only the cells within the specified boundaries stay in the internal cache. |
RefreshEditorValue | public | Notifies the presentation that it should refresh a value in the cell editor. |
RemoveColumn | public | Removes the column that has the specified column number. |
RemoveColumnFromCache | public | Removes the column with the specified column number from the internal cache. |
RemoveRowFromCache | public | Removes the row with the specified row number from the internal cache. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SelectCell | public | Select the cell with the specified column number and row number. |
SelectionChanged | public | Notifies the presentation of changes to the row number or to the column number of the current selection. |
SendMessage | public | Sends a message to an object. |
SendMessageWithResult | public | Sends a message to an object getting a result. |
SetSelected | protected | |
SetStyledSettings | protected | Setter of StyledSettings. |
SetTextSettings | protected | Setter of TextSettings. |
ShowEditor | public | Notifies the presentation that it should show the cell editor and enter the editor mode. |
StyledSettingsStored | protected | Function that ensures that the value of StyledSettings is only stored in the form file if it is not the default value of the property. |
ToString | public | Returns a string containing the class name. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |