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

Detailed Description

Editor for the Spreadsheet content displaying.

You can access scroll bars via the followed keys: table_hor_scrollbar table_vert_scrollbar

Public Member Functions

 SpreadsheetEditor (Spreadsheet spreadsheet)
 Creating editor instance for existing spreadsheet. More...
 
virtual void OnGUI (Rect position)
 Drawing table scope. More...
 
virtual void OnGUI (Rect position, GUIStyle cellStyle)
 Drawing table scope. More...
 

Static Public Member Functions

static SpreadsheetEditor Draw (Rect position, Table source)
 Drawing UI element related to the table. More...
 
static SpreadsheetEditor Draw (Rect position, Table source, GUIStyle cellStyle)
 Drawing UI element related to the table. More...
 
static SpreadsheetEditor Draw (Rect position, Spreadsheet source)
 Drawing UI element related to the table. More...
 
static SpreadsheetEditor Draw (Rect position, Spreadsheet source, GUIStyle cellStyle)
 Drawing UI element related to the table. More...
 

Package Functions

 SpreadsheetEditor (Table source)
 Creating instance of the editor binded to the data source. More...
 

Static Package Attributes

static Dictionary< Table, SpreadsheetEditorrawBonds = new Dictionary<Table, SpreadsheetEditor>()
 Table that contains instantiated editors binded to the sources.
 
static Dictionary< Spreadsheet, SpreadsheetEditorsheetBonds = new Dictionary<Spreadsheet, SpreadsheetEditor>()
 Table that contains instantiated editors binded to the spreadsheets.
 

Properties

Spreadsheet spreadsheet [get]
 Spreadsheet project bond with the source.
 
Table source [get]
 Data source to manage.
 

Constructor & Destructor Documentation

◆ SpreadsheetEditor() [1/2]

Doloro.DataManagement.Tables.SpreadsheetEditor.SpreadsheetEditor ( Table  source)
package

Creating instance of the editor binded to the data source.

Parameters
sourceData source.

◆ SpreadsheetEditor() [2/2]

Doloro.DataManagement.Tables.SpreadsheetEditor.SpreadsheetEditor ( Spreadsheet  spreadsheet)

Creating editor instance for existing spreadsheet.

Parameters
spreadsheetSpreadsheet to edit.
Exceptions
ArgumentNullExceptionspreadsheet is null.

Member Function Documentation

◆ Draw() [1/4]

static SpreadsheetEditor Doloro.DataManagement.Tables.SpreadsheetEditor.Draw ( Rect  position,
Spreadsheet  source 
)
static

Drawing UI element related to the table.

Parameters
positionPosition at the layout.
sourceData source.
Returns
Used editor.

◆ Draw() [2/4]

static SpreadsheetEditor Doloro.DataManagement.Tables.SpreadsheetEditor.Draw ( Rect  position,
Spreadsheet  source,
GUIStyle  cellStyle 
)
static

Drawing UI element related to the table.

Parameters
positionPosition at the layout.
sourceData source.
cellStyleCustom style for UI cell element.
Returns
Used editor.

◆ Draw() [3/4]

static SpreadsheetEditor Doloro.DataManagement.Tables.SpreadsheetEditor.Draw ( Rect  position,
Table  source 
)
static

Drawing UI element related to the table.

Parameters
positionPosition at the layout.
sourceData source.
Returns
Used editor.

◆ Draw() [4/4]

static SpreadsheetEditor Doloro.DataManagement.Tables.SpreadsheetEditor.Draw ( Rect  position,
Table  source,
GUIStyle  cellStyle 
)
static

Drawing UI element related to the table.

Parameters
positionPosition at the layout.
sourceData source.
cellStyleCustom style for UI cell element.
Returns
Used editor.

◆ OnGUI() [1/2]

virtual void Doloro.DataManagement.Tables.SpreadsheetEditor.OnGUI ( Rect  position)
virtual

Drawing table scope.

Parameters
positionGUI coordinates
cellStyleStyle using for cells rendering.

◆ OnGUI() [2/2]

virtual void Doloro.DataManagement.Tables.SpreadsheetEditor.OnGUI ( Rect  position,
GUIStyle  cellStyle 
)
virtual

Drawing table scope.

Parameters
positionGUI coordinates
cellStyleStyle using for cells rendering.

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