ColumnBehavior

Trait ColumnBehavior 

Source
pub trait ColumnBehavior {
Show 15 methods // Required methods fn viewport_manager(&self) -> &RefCell<Option<ViewportManager>>; fn buffer_mut(&mut self) -> &mut dyn BufferAPI; fn buffer(&self) -> &dyn BufferAPI; fn state_container(&self) -> &AppStateContainer; // Provided methods fn is_in_results_mode(&self) -> bool { ... } fn apply_column_navigation_result( &mut self, result: NavigationResult, direction: &str, ) { ... } fn apply_column_operation_result(&mut self, result: ColumnOperationResult) { ... } fn hide_current_column(&mut self) { ... } fn unhide_all_columns(&mut self) { ... } fn move_current_column_left(&mut self) { ... } fn move_current_column_right(&mut self) { ... } fn move_column_left(&mut self) { ... } fn move_column_right(&mut self) { ... } fn goto_first_column(&mut self) { ... } fn goto_last_column(&mut self) { ... }
}
Expand description

Trait that provides column operation behavior for TUI components This extracts column operation methods from EnhancedTui to reduce coupling

Required Methods§

Provided Methods§

Source

fn is_in_results_mode(&self) -> bool

Source

fn apply_column_navigation_result( &mut self, result: NavigationResult, direction: &str, )

Source

fn apply_column_operation_result(&mut self, result: ColumnOperationResult)

Source

fn hide_current_column(&mut self)

Hide the currently selected column

Source

fn unhide_all_columns(&mut self)

Unhide all columns

Source

fn move_current_column_left(&mut self)

Move the current column left in the view

Source

fn move_current_column_right(&mut self)

Move the current column right in the view

Source

fn move_column_left(&mut self)

Navigate to the column on the left

Source

fn move_column_right(&mut self)

Navigate to the column on the right

Source

fn goto_first_column(&mut self)

Navigate to the first column

Source

fn goto_last_column(&mut self)

Navigate to the last column

Implementors§