DeckPane
classin packageklyn.gui.terminal
public class DeckPane extends Widget:
└ Widget
└ DeckPane
Stack of views where one card is active.
Attributes inherited from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Properties
Modifier and Type Member Description
public readonly property activeKey
activeKey as String:
No summary.
Properties inherited from Widget: lastRenderFrame, position, size
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public DeckPane No summary.
Methods
Modifier and Type Member Description
public activeView
activeView() as Widget:
No summary.
public addCard
addCard(key as String, view as Object) as Void:
No summary.
public hasCard
hasCard(key as String) as Boolean:
No summary.
public override paint
paint() as Void:
No summary.
public showCard
showCard(key as String) as Void:
No summary.
Methods inherited from Widget: add, baseAnsiStyle, captureRenderFrame, children, clearChildren, handleEvent, handleMouseEvent, paint, paintToFrame, performLayout, refresh, renderAnsiSnapshot, renderPlainSnapshot, scrollbarThumbGlyph, scrollbarTrackGlyph
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml