Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.DataManagement.Tables.Table Class Reference

Detailed Description

GUI element that provides the way to draw the table.

Inheritance diagram for Doloro.DataManagement.Tables.Table:
Collaboration diagram for Doloro.DataManagement.Tables.Table:

Classes

class  CellsEnumerator
 Enumerates only exists cells into the table structure. More...
 

Public Member Functions

 Table ()
 Creates empty table.
 
 Table (SerializationInfo info, StreamingContext context)
 Allows to binary serializer instantiate the object from binary. More...
 
 Table (int clusterSize)
 Creates empty table with non default cluster size. More...
 
 Table (int clusterSize, string[,] data)
 Creates table with defined data set and non default cluster size. More...
 
 Table (string[,] data)
 Creates table with defined data set. More...
 
string Get (int row, int column)
 Returns the value from table's cell. More...
 
Cell GetInfo (int row, int column)
 Returns the cell's information by the coordinate. More...
 
void Set (int row, int column, string value)
 Setting value to the table's cell. More...
 
void SetRange (int startRow, int startColumn, string[,] content)
 Setting content range to the table. More...
 
void Clear ()
 Clears entire data from the table.
 
IEnumerator< CellGetEnumerator ()
 Returns enumerator that More...
 
void Dispose ()
 Releases allocated memory.
 
virtual void GetObjectData (SerializationInfo info, StreamingContext context)
 Converts data object to the binary dump. More...
 
void SetDirty ()
 Marks asset as modified and required save operation.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 
virtual void OnPreSave ()
 Occurs before save process started. More...
 
virtual void OnPostSave ()
 Occurs after save process started.
 

Properties

int ClusterSize [get]
 Size of the single cluster side. More...
 
string title [get, set]
 Table's title.
 
int columns [get]
 Current table size by x axis.
 
int rows [get]
 Current table size by y axis.
 
bool isDirty [get, set]
 Asset was modified
 
bool isRamLocated [get]
 Is the object has no binding to the stored resource.
 
bool isObsolete [get]
 The asset data is no longer relevant. More...
 
StorableAsset asset [get, set]
 Reference to relevant asset. More...
 
string StoredAssetPath [get, set]
 Path to resource binded to the instance. More...
 

Events

Action TitleChanged
 Occurs when the title value is changed.
 
Action AssetObsoleted
 Occurs when object became obsolete.
 

Constructor & Destructor Documentation

◆ Table() [1/4]

Doloro.DataManagement.Tables.Table.Table ( SerializationInfo  info,
StreamingContext  context 
)

Allows to binary serializer instantiate the object from binary.

Parameters
info
context

◆ Table() [2/4]

Doloro.DataManagement.Tables.Table.Table ( int  clusterSize)

Creates empty table with non default cluster size.

Parameters
clusterSizeCluster size definition. Can't be less the 1.

◆ Table() [3/4]

Doloro.DataManagement.Tables.Table.Table ( int  clusterSize,
string  data[,] 
)

Creates table with defined data set and non default cluster size.

Parameters
clusterSizeCluster size definition. Can't be less the 1.
dataSource data that will be set to the table.

◆ Table() [4/4]

Doloro.DataManagement.Tables.Table.Table ( string  data[,])

Creates table with defined data set.

Parameters
dataSource data that will be set to the table.

Member Function Documentation

◆ Get()

string Doloro.DataManagement.Tables.Table.Get ( int  row,
int  column 
)

Returns the value from table's cell.

Parameters
rowTarget row.
columnTarget column.
Returns
Value in the cell along with coords. Null if not exists.

◆ GetEnumerator()

IEnumerator< Cell > Doloro.DataManagement.Tables.Table.GetEnumerator ( )

Returns enumerator that

Returns
Order of cells not guaranteed.

◆ GetInfo()

Cell Doloro.DataManagement.Tables.Table.GetInfo ( int  row,
int  column 
)

Returns the cell's information by the coordinate.

Parameters
rowTarget row.
columnTarget column.
Returns
Value in the cell along with coords. Null if not exists.

◆ GetObjectData()

virtual void Doloro.DataManagement.Serialization.StorableAsset.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)
virtualinherited

Converts data object to the binary dump.

Parameters
info
context

◆ OnPreSave()

virtual void Doloro.DataManagement.Serialization.StorableAsset.OnPreSave ( )
protectedvirtualinherited

Occurs before save process started.

Reimplemented in Doloro.DataManagement.Tables.Solution, and Doloro.DataManagement.Tables.Spreadsheet.

◆ Set()

void Doloro.DataManagement.Tables.Table.Set ( int  row,
int  column,
string  value 
)

Setting value to the table's cell.

Parameters
rowTarget row.
columnTarget column.
valueValue to set.

◆ SetRange()

void Doloro.DataManagement.Tables.Table.SetRange ( int  startRow,
int  startColumn,
string  content[,] 
)

Setting content range to the table.

Parameters
startRowStart index of row that will contains the top left corner of the sharing content.
startColumnStart index of column that will contains the top left corner of the sharing content.
contentTable to set into the source.

Property Documentation

◆ asset

StorableAsset Doloro.DataManagement.Serialization.StorableAsset.asset
getsetprotectedinherited

Reference to relevant asset.

References itself in case if isObsolete is false.

◆ ClusterSize

int Doloro.DataManagement.Tables.Table.ClusterSize
get

Size of the single cluster side.

50 by default. Can't be less then 1;

◆ isObsolete

bool Doloro.DataManagement.Serialization.StorableAsset.isObsolete
getpackageinherited

The asset data is no longer relevant.

Occurs when object was overridden by some data operation (Load etc.) In this case reference

See also
asset

◆ StoredAssetPath

string Doloro.DataManagement.Serialization.StorableAsset.StoredAssetPath
getsetinherited

Path to resource binded to the instance.

Changes during IO.LoadAs(string), IO.SaveAs(StorableAsset, string) or manual set operation.


The documentation for this class was generated from the following files: