rtop
|
Base class in heirarchy of UI objects responsible to storing the content associated with a panel and providing an API to manipulate it. More...
#include <panel2.h>
Public Member Functions | |
SimplePanelData (int) | |
SimplePanelData constructor. More... | |
int | uUid () const |
returns unique identifier of this object More... | |
void | setWin (WINDOW *win_in) |
sets reference to ncurses WINDOW associated with panel More... | |
void | setPanel (PANEL *panel_in) |
sets reference to ncurses PANEL associated with this panel data structure More... | |
void | setDimensions (int h, int w) |
set internal width, height variables corresponding to panel window dimensions More... | |
void | setLeftNbr (SimplePanelData *) |
set pointer to left neighbour panel More... | |
void | setRightNbr (SimplePanelData *) |
set pointer to right neighbour panel More... | |
SimplePanelData * | leftNbr () |
returns pointer to left neighbour panel More... | |
SimplePanelData * | rightNbr () |
returns pointer to right neighbour panel More... | |
void | moveTo (int, int) |
move panel window to desired x,y pos on stdscr. More... | |
virtual void | show () |
refreshes contents of associated BrowsePanel data structure and makes panel visible More... | |
virtual void | show2 () |
makes panel visible More... | |
virtual void | hide () |
hides panel More... | |
WINDOW * | window () const |
returns pointer to ncurses WINDOW associated with panel More... | |
virtual void | selectionOn () |
mock More... | |
virtual void | selectionOff () |
mock More... | |
virtual void | toggleEditMode () |
mock More... | |
virtual void | editModeOn () |
mock More... | |
virtual void | editModeOff () |
mock More... | |
virtual void | setEditingColor (int) |
mock More... | |
virtual void | setSelectionColor (int) |
mock More... | |
virtual void | setBasicColor (int) |
mock More... | |
virtual void | setHeaderColor (int) |
mock More... | |
virtual void | setHeader (std::string) |
mock More... | |
virtual void | Down () |
mock More... | |
virtual void | Up () |
mock More... | |
virtual void | Top () |
mock More... | |
virtual void | refreshItemList () |
mock More... | |
virtual void | refreshItemList2 (std::vector< InfoProc< std::string >> &, std::string, const std::vector< int > &, int &) |
mock More... | |
virtual void | resolveKey (int) |
mock More... | |
virtual void | moveIntoLeftNbr () |
mock More... | |
virtual void | moveIntoRightNbr () |
mock More... | |
virtual void | insertIntoLeftNbr () |
mock More... | |
virtual void | insertIntoRightNbr () |
mock More... | |
virtual void | addIntoLeftNbr () |
mock More... | |
virtual void | addIntoRightNbr () |
mock More... | |
virtual void | remove () |
mock More... | |
virtual std::vector< std::string > | displayedKeys () const |
mock More... | |
virtual void | deleteColumn () |
mock More... | |
virtual void | insertColumn () |
mock More... | |
virtual void | refresh () |
mock More... | |
virtual void | moveLeft () |
mock More... | |
virtual void | moveRight () |
mock More... | |
virtual void | syncColors () |
mock More... | |
Protected Attributes | |
int | uuid |
int | width |
width and height in panel window in ncurses units. More... | |
int | height |
PANEL * | panel |
panel to which the data structure is associated More... | |
WINDOW * | win |
window attached to the panel More... | |
SimplePanelData * | r_next |
pointer to panel data structures correponding to left/right neighbour of this panel More... | |
SimplePanelData * | l_next |
StateMachine | smKeys |
Keys statemachine. More... | |
Friends | |
class | XMLTree |
Base class in heirarchy of UI objects responsible to storing the content associated with a panel and providing an API to manipulate it.
encapsulates the idea of a panel which is a square region on the screen. Its API allows moving this region, setting its neighbours and specifying its size and changing its visibility
rtop::SimplePanelData::SimplePanelData | ( | int | id | ) |
SimplePanelData constructor.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
mock
Reimplemented in rtop::ProcViewPanel, rtop::EditPanelData< T >, and rtop::BrowsePanelData< T >.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
mock
Reimplemented in rtop::EditPanelData< T >, and rtop::BrowsePanelData< T >.
|
inlinevirtual |
mock
Reimplemented in rtop::EditPanelData< T >, and rtop::BrowsePanelData< T >.
SimplePanelData * rtop::SimplePanelData::leftNbr | ( | ) |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
void rtop::SimplePanelData::moveTo | ( | int | y, |
int | x | ||
) |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
mock
Reimplemented in rtop::ProcViewPanel, rtop::EditPanelData< T >, and rtop::BrowsePanelData< T >.
SimplePanelData * rtop::SimplePanelData::rightNbr | ( | ) |
|
inlinevirtual |
mock
Reimplemented in rtop::EditPanelData< T >, and rtop::BrowsePanelData< T >.
|
inlinevirtual |
mock
Reimplemented in rtop::EditPanelData< T >, and rtop::BrowsePanelData< T >.
|
inlinevirtual |
void rtop::SimplePanelData::setDimensions | ( | int | h, |
int | w | ||
) |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
mock
Reimplemented in rtop::ProcViewPanel, rtop::EditPanelData< T >, and rtop::BrowsePanelData< T >.
void rtop::SimplePanelData::setLeftNbr | ( | SimplePanelData * | panel | ) |
|
inline |
void rtop::SimplePanelData::setRightNbr | ( | SimplePanelData * | panel | ) |
|
inlinevirtual |
|
inline |
|
virtual |
refreshes contents of associated BrowsePanel data structure and makes panel visible
Reimplemented in rtop::ProcViewPanel.
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
mock
Reimplemented in rtop::ProcViewPanel, rtop::EditPanelData< T >, and rtop::BrowsePanelData< T >.
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |