Documentation ¶
Index ¶
- func Max(a, b int) int
- func Min(a, b int) int
- type Alignment
- type Cell
- type Color
- type Cursor
- type Record
- type SeparatorConfig
- type SeparatorLine
- type SeparatorLineFull
- func (s *SeparatorLineFull) GetBottomCenterLine() rune
- func (s *SeparatorLineFull) GetBottomLeftLine() rune
- func (s *SeparatorLineFull) GetBottomRightLine() rune
- func (s *SeparatorLineFull) GetCrossLine() rune
- func (s *SeparatorLineFull) GetHorizontalLine() rune
- func (s *SeparatorLineFull) GetLeftCenterLine() rune
- func (s *SeparatorLineFull) GetRightCenterLine() rune
- func (s *SeparatorLineFull) GetTopCenterLine() rune
- func (s *SeparatorLineFull) GetTopLeftLine() rune
- func (s *SeparatorLineFull) GetTopRightLine() rune
- func (s *SeparatorLineFull) GetVerticalLine() rune
- type SeparatorLineHalf
- func (s *SeparatorLineHalf) GetBottomCenterLine() rune
- func (s *SeparatorLineHalf) GetBottomLeftLine() rune
- func (s *SeparatorLineHalf) GetBottomRightLine() rune
- func (s *SeparatorLineHalf) GetCrossLine() rune
- func (s *SeparatorLineHalf) GetHorizontalLine() rune
- func (s *SeparatorLineHalf) GetLeftCenterLine() rune
- func (s *SeparatorLineHalf) GetRightCenterLine() rune
- func (s *SeparatorLineHalf) GetTopCenterLine() rune
- func (s *SeparatorLineHalf) GetTopLeftLine() rune
- func (s *SeparatorLineHalf) GetTopRightLine() rune
- func (s *SeparatorLineHalf) GetVerticalLine() rune
- type SeparatorLineType
- type SortCondition
- type SortOrder
- type TermTable
- func (tt *TermTable) AddRecord(record Record)
- func (tt *TermTable) AddRecords(records []Record)
- func (tt *TermTable) CountRecord() int
- func (tt *TermTable) GetCursor() *Cursor
- func (tt *TermTable) GetRecord(r int) (record Record)
- func (tt *TermTable) HasBorderLine() bool
- func (tt *TermTable) Render()
- func (tt *TermTable) SetBorderLine(enabled bool)
- func (tt *TermTable) SetRecord(r int, record Record)
- func (tt *TermTable) Sort(sortConditions []SortCondition)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cell ¶
type Cell struct {
// contains filtered or unexported fields
}
func (*Cell) GetTextAlign ¶
func (*Cell) SetTextAlign ¶
type SeparatorConfig ¶
type SeparatorConfig struct {
// contains filtered or unexported fields
}
func (*SeparatorConfig) GetType ¶
func (sc *SeparatorConfig) GetType() SeparatorLineType
func (*SeparatorConfig) Separator ¶
func (sc *SeparatorConfig) Separator() SeparatorLine
func (*SeparatorConfig) SetType ¶
func (sc *SeparatorConfig) SetType(sepType SeparatorLineType)
type SeparatorLine ¶
type SeparatorLineFull ¶
type SeparatorLineFull struct { }
func (*SeparatorLineFull) GetBottomCenterLine ¶
func (s *SeparatorLineFull) GetBottomCenterLine() rune
func (*SeparatorLineFull) GetBottomLeftLine ¶
func (s *SeparatorLineFull) GetBottomLeftLine() rune
func (*SeparatorLineFull) GetBottomRightLine ¶
func (s *SeparatorLineFull) GetBottomRightLine() rune
func (*SeparatorLineFull) GetCrossLine ¶
func (s *SeparatorLineFull) GetCrossLine() rune
func (*SeparatorLineFull) GetHorizontalLine ¶
func (s *SeparatorLineFull) GetHorizontalLine() rune
func (*SeparatorLineFull) GetLeftCenterLine ¶
func (s *SeparatorLineFull) GetLeftCenterLine() rune
func (*SeparatorLineFull) GetRightCenterLine ¶
func (s *SeparatorLineFull) GetRightCenterLine() rune
func (*SeparatorLineFull) GetTopCenterLine ¶
func (s *SeparatorLineFull) GetTopCenterLine() rune
func (*SeparatorLineFull) GetTopLeftLine ¶
func (s *SeparatorLineFull) GetTopLeftLine() rune
func (*SeparatorLineFull) GetTopRightLine ¶
func (s *SeparatorLineFull) GetTopRightLine() rune
func (*SeparatorLineFull) GetVerticalLine ¶
func (s *SeparatorLineFull) GetVerticalLine() rune
type SeparatorLineHalf ¶
type SeparatorLineHalf struct { }
func (*SeparatorLineHalf) GetBottomCenterLine ¶
func (s *SeparatorLineHalf) GetBottomCenterLine() rune
func (*SeparatorLineHalf) GetBottomLeftLine ¶
func (s *SeparatorLineHalf) GetBottomLeftLine() rune
func (*SeparatorLineHalf) GetBottomRightLine ¶
func (s *SeparatorLineHalf) GetBottomRightLine() rune
func (*SeparatorLineHalf) GetCrossLine ¶
func (s *SeparatorLineHalf) GetCrossLine() rune
func (*SeparatorLineHalf) GetHorizontalLine ¶
func (s *SeparatorLineHalf) GetHorizontalLine() rune
func (*SeparatorLineHalf) GetLeftCenterLine ¶
func (s *SeparatorLineHalf) GetLeftCenterLine() rune
func (*SeparatorLineHalf) GetRightCenterLine ¶
func (s *SeparatorLineHalf) GetRightCenterLine() rune
func (*SeparatorLineHalf) GetTopCenterLine ¶
func (s *SeparatorLineHalf) GetTopCenterLine() rune
func (*SeparatorLineHalf) GetTopLeftLine ¶
func (s *SeparatorLineHalf) GetTopLeftLine() rune
func (*SeparatorLineHalf) GetTopRightLine ¶
func (s *SeparatorLineHalf) GetTopRightLine() rune
func (*SeparatorLineHalf) GetVerticalLine ¶
func (s *SeparatorLineHalf) GetVerticalLine() rune
type SeparatorLineType ¶
type SeparatorLineType int
type SortCondition ¶
type SortCondition struct {
// contains filtered or unexported fields
}
func NewSortCondition ¶
func NewSortCondition(colNumber int, order SortOrder) *SortCondition
type TermTable ¶
type TermTable struct { UnFocusColor Color FocusColor Color BorderColor Color // contains filtered or unexported fields }
func NewTermTable ¶
func (*TermTable) AddRecords ¶
func (*TermTable) CountRecord ¶
func (*TermTable) HasBorderLine ¶
func (*TermTable) SetBorderLine ¶
func (*TermTable) Sort ¶
func (tt *TermTable) Sort(sortConditions []SortCondition)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.