FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
TableSelection Class Reference

#include <table.hpp>

Public Member Functions

void Decorate (Decorator)
 decorator 應用於選取範圍。 這會裝飾單元格、線條和角落。
 
void DecorateAlternateRow (Decorator, int modulo=2, int shift=0)
 decorator 應用於選取範圍。 這只會裝飾模數為 modulo,偏移量為 shift 的線條。
 
void DecorateAlternateColumn (Decorator, int modulo=2, int shift=0)
 decorator 應用於選取範圍。 這只會裝飾模數為 modulo,偏移量為 shift 的線條。
 
void DecorateCells (Decorator)
 decorator 應用於選取範圍。 這只會裝飾單元格。
 
void DecorateCellsAlternateColumn (Decorator, int modulo=2, int shift=0)
 decorator 應用於選取範圍。 這只會裝飾模數為 modulo,偏移量為 shift 的角落。
 
void DecorateCellsAlternateRow (Decorator, int modulo=2, int shift=0)
 decorator 應用於選取範圍。 這只會裝飾模數為 modulo,偏移量為 shift 的角落。
 
void Border (BorderStyle border=LIGHT)
 在選取範圍周圍應用 border
 
void BorderLeft (BorderStyle border=LIGHT)
 在選取範圍的左側繪製一些分隔線。
 
void BorderRight (BorderStyle border=LIGHT)
 在選取範圍的右側繪製一些分隔線。
 
void BorderTop (BorderStyle border=LIGHT)
 在選取範圍的頂部繪製一些分隔線。
 
void BorderBottom (BorderStyle border=LIGHT)
 在選取範圍的底部繪製一些分隔線。
 
void Separator (BorderStyle border=LIGHT)
 在選取範圍內繪製一些分隔線。
 
void SeparatorVertical (BorderStyle border=LIGHT)
 在選取範圍內繪製一些垂直分隔線。
 
void SeparatorHorizontal (BorderStyle border=LIGHT)
 在選取範圍內繪製一些水平分隔線。
 

Detailed Description

Definition at line 63 of file table.hpp.

Member Function Documentation

◆ Decorate()

void Decorate ( Decorator decorator)

decorator 應用於選取範圍。 這會裝飾單元格、線條和角落。

Parameters
decorator要應用的裝飾器。

Definition at line 242 of file src/ftxui/dom/table.cpp.

◆ DecorateAlternateRow()

void DecorateAlternateRow ( Decorator decorator,
int modulo = 2,
int shift = 0 )

decorator 應用於選取範圍。 這只會裝飾模數為 modulo,偏移量為 shift 的線條。

Parameters
decorator要應用的裝飾器。
modulo要裝飾線條的模數。
shift要裝飾線條的偏移量。

Definition at line 291 of file src/ftxui/dom/table.cpp.

◆ DecorateAlternateColumn()

void DecorateAlternateColumn ( Decorator decorator,
int modulo = 2,
int shift = 0 )

decorator 應用於選取範圍。 這只會裝飾模數為 modulo,偏移量為 shift 的線條。

Parameters
decorator要應用的裝飾器。
modulo要裝飾線條的模數。
shift要裝飾線條的偏移量。

Definition at line 272 of file src/ftxui/dom/table.cpp.

◆ DecorateCells()

void DecorateCells ( Decorator decorator)

decorator 應用於選取範圍。 這只會裝飾單元格。

Parameters
decorator要應用的裝飾器。

Definition at line 255 of file src/ftxui/dom/table.cpp.

◆ DecorateCellsAlternateColumn()

void DecorateCellsAlternateColumn ( Decorator decorator,
int modulo = 2,
int shift = 0 )

decorator 應用於選取範圍。 這只會裝飾模數為 modulo,偏移量為 shift 的角落。

Parameters
decorator要應用的裝飾器。
modulo要裝飾角落的模數。
shift要裝飾角落的偏移量。

Definition at line 310 of file src/ftxui/dom/table.cpp.

◆ DecorateCellsAlternateRow()

void DecorateCellsAlternateRow ( Decorator decorator,
int modulo = 2,
int shift = 0 )

decorator 應用於選取範圍。 這只會裝飾模數為 modulo,偏移量為 shift 的角落。

Parameters
decorator要應用的裝飾器。
modulo要裝飾角落的模數。
shift要裝飾角落的偏移量。

Definition at line 329 of file src/ftxui/dom/table.cpp.

◆ Border()

void Border ( BorderStyle border = LIGHT)

在選取範圍周圍應用 border

Parameters
border要應用的邊框樣式。
Examples
examples/dom/table.cpp.

Definition at line 344 of file src/ftxui/dom/table.cpp.

◆ BorderLeft()

void BorderLeft ( BorderStyle border = LIGHT)

在選取範圍的左側繪製一些分隔線。

Parameters
border要應用的邊框樣式。

Definition at line 403 of file src/ftxui/dom/table.cpp.

◆ BorderRight()

void BorderRight ( BorderStyle border = LIGHT)

在選取範圍的右側繪製一些分隔線。

Parameters
border要應用的邊框樣式。

Definition at line 412 of file src/ftxui/dom/table.cpp.

◆ BorderTop()

void BorderTop ( BorderStyle border = LIGHT)

在選取範圍的頂部繪製一些分隔線。

Parameters
border要應用的邊框樣式。

Definition at line 421 of file src/ftxui/dom/table.cpp.

◆ BorderBottom()

void BorderBottom ( BorderStyle border = LIGHT)

在選取範圍的底部繪製一些分隔線。

Parameters
border要應用的邊框樣式。

Definition at line 430 of file src/ftxui/dom/table.cpp.

◆ Separator()

void Separator ( BorderStyle border = LIGHT)

在選取範圍內繪製一些分隔線。

Parameters
border要應用的邊框樣式。

Definition at line 362 of file src/ftxui/dom/table.cpp.

◆ SeparatorVertical()

void SeparatorVertical ( BorderStyle border = LIGHT)

在選取範圍內繪製一些垂直分隔線。

Parameters
border要應用的邊框樣式。

Definition at line 377 of file src/ftxui/dom/table.cpp.

◆ SeparatorHorizontal()

void SeparatorHorizontal ( BorderStyle border = LIGHT)

在選取範圍內繪製一些水平分隔線。

Parameters
border要應用的邊框樣式。

Definition at line 390 of file src/ftxui/dom/table.cpp.


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