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

Detailed Description

Editor that draws UI for certain cell.

Static Package Functions

static void DrawCell (SpreadsheetEditor editor, int row, int column, GUIStyle style)
 Drawing cell for the table. More...
 
static void DrawSystemCell (Rect position, string content, GUIStyle style)
 Draws the cell-like content. More...
 
static void DrawSystemCell (Rect position, GUIContent content, GUIStyle style)
 Draws the cell-like content. More...
 
static void DrawCell (Rect position, Table source, int row, int column, GUIStyle style, bool interactive)
 Drawing cell for the table. More...
 

Properties

static Vector2 LastDrawnSize [get]
 Size of last drawn cell.
 

Member Function Documentation

◆ DrawCell() [1/2]

static void Doloro.DataManagement.Tables.CellEditor.DrawCell ( Rect  position,
Table  source,
int  row,
int  column,
GUIStyle  style,
bool  interactive 
)
staticpackage

Drawing cell for the table.

Parameters
positionLayout position.
sourceSource data table.
rowElement's row.
columnElement's column.
styleCell's style.
interactiveIs the cell can be modified.

You can access spawned text field via the GUI ID in format: DTI.CELL[row,column] where row and column is cell's address in the table.

◆ DrawCell() [2/2]

static void Doloro.DataManagement.Tables.CellEditor.DrawCell ( SpreadsheetEditor  editor,
int  row,
int  column,
GUIStyle  style 
)
staticpackage

Drawing cell for the table.

Parameters
editorSource editor.
rowElement's row.
columnElement's column.
styleCell's style.

◆ DrawSystemCell() [1/2]

static void Doloro.DataManagement.Tables.CellEditor.DrawSystemCell ( Rect  position,
GUIContent  content,
GUIStyle  style 
)
staticpackage

Draws the cell-like content.

Parameters
positionLayout position.
contentContent to display.
styleCell's style.
Todo:
Make table system cell editable.

◆ DrawSystemCell() [2/2]

static void Doloro.DataManagement.Tables.CellEditor.DrawSystemCell ( Rect  position,
string  content,
GUIStyle  style 
)
staticpackage

Draws the cell-like content.

Parameters
positionLayout position.
contentContent to display.
styleCell's style.
Todo:
Make table system cell editable.

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