openshot-audio
0.1.7
|
Public Types | |
enum | { nameCol = 1, typeCol = 2, categoryCol = 3, manufacturerCol = 4, descCol = 5 } |
Public Member Functions | |
TableModel (PluginListComponent &c, KnownPluginList &l) | |
int | getNumRows () override |
void | paintRowBackground (Graphics &g, int, int, int, bool rowIsSelected) override |
void | paintCell (Graphics &g, int row, int columnId, int width, int height, bool) override |
void | deleteKeyPressed (int) override |
void | sortOrderChanged (int newSortColumnId, bool isForwards) override |
![]() | |
TableListBoxModel () | |
virtual | ~TableListBoxModel () |
virtual Component * | refreshComponentForCell (int rowNumber, int columnId, bool isRowSelected, Component *existingComponentToUpdate) |
virtual void | cellClicked (int rowNumber, int columnId, const MouseEvent &) |
virtual void | cellDoubleClicked (int rowNumber, int columnId, const MouseEvent &) |
virtual void | backgroundClicked (const MouseEvent &) |
virtual int | getColumnAutoSizeWidth (int columnId) |
virtual String | getCellTooltip (int rowNumber, int columnId) |
virtual void | selectedRowsChanged (int lastRowSelected) |
virtual void | returnKeyPressed (int lastRowSelected) |
virtual void | listWasScrolled () |
virtual var | getDragSourceDescription (const SparseSet< int > ¤tlySelectedRows) |
Static Public Member Functions | |
static String | getPluginDescription (const PluginDescription &desc) |
Public Attributes | |
PluginListComponent & | owner |
KnownPluginList & | list |
|
inline |
|
inlineoverridevirtual |
Override this to be informed when the delete key is pressed.
Reimplemented from juce::TableListBoxModel.
|
inlineoverridevirtual |
This must return the number of rows currently in the table.
If the number of rows changes, you must call TableListBox::updateContent() to cause it to refresh the list.
Implements juce::TableListBoxModel.
|
inlinestatic |
|
inlineoverridevirtual |
This must draw one of the cells.
The graphics context's origin will already be set to the top-left of the cell, whose size is specified by (width, height).
Note that the rowNumber value may be greater than the number of rows in your list, so be careful that you don't assume it's less than getNumRows().
Implements juce::TableListBoxModel.
|
inlineoverridevirtual |
This must draw the background behind one of the rows in the table.
The graphics context has its origin at the row's top-left, and your method should fill the area specified by the width and height parameters.
Note that the rowNumber value may be greater than the number of rows in your list, so be careful that you don't assume it's less than getNumRows().
Implements juce::TableListBoxModel.
|
inlineoverridevirtual |
This callback is made when the table's sort order is changed.
This could be because the user has clicked a column header, or because the TableHeaderComponent::setSortColumnId() method was called.
If you implement this, your method should re-sort the table using the given column as the key.
Reimplemented from juce::TableListBoxModel.
KnownPluginList& juce::PluginListComponent::TableModel::list |
PluginListComponent& juce::PluginListComponent::TableModel::owner |