|
| TopLevelItem (KeyMappingEditorComponent &kec) |
|
| ~TopLevelItem () |
|
bool | mightContainSubItems () override |
|
String | getUniqueName () const override |
|
void | changeListenerCallback (ChangeBroadcaster *) override |
|
void | buttonClicked (Button *) override |
|
| TreeViewItem () |
|
virtual | ~TreeViewItem () |
|
int | getNumSubItems () const noexcept |
|
TreeViewItem * | getSubItem (int index) const noexcept |
|
void | clearSubItems () |
|
void | addSubItem (TreeViewItem *newItem, int insertPosition=-1) |
|
template<class ElementComparator > |
void | addSubItemSorted (ElementComparator &comparator, TreeViewItem *newItem) |
|
void | removeSubItem (int index, bool deleteItem=true) |
|
template<class ElementComparator > |
void | sortSubItems (ElementComparator &comparator) |
|
TreeView * | getOwnerView () const noexcept |
|
TreeViewItem * | getParentItem () const noexcept |
|
bool | isOpen () const noexcept |
|
void | setOpen (bool shouldBeOpen) |
|
bool | isSelected () const noexcept |
|
void | setSelected (bool shouldBeSelected, bool deselectOtherItemsFirst, NotificationType shouldNotify=sendNotification) |
|
Rectangle< int > | getItemPosition (bool relativeToTreeViewTopLeft) const noexcept |
|
void | treeHasChanged () const noexcept |
|
void | repaintItem () const |
|
int | getRowNumberInTree () const noexcept |
|
bool | areAllParentsOpen () const noexcept |
|
void | setLinesDrawnForSubItems (bool shouldDrawLines) noexcept |
|
virtual void | itemOpennessChanged (bool isNowOpen) |
|
virtual int | getItemWidth () const |
|
virtual int | getItemHeight () const |
|
virtual bool | canBeSelected () const |
|
virtual Component * | createItemComponent () |
|
virtual void | paintItem (Graphics &g, int width, int height) |
|
virtual void | paintOpenCloseButton (Graphics &, const Rectangle< float > &area, Colour backgroundColour, bool isMouseOver) |
|
virtual void | paintHorizontalConnectingLine (Graphics &, const Line< float > &line) |
|
virtual void | paintVerticalConnectingLine (Graphics &, const Line< float > &line) |
|
virtual void | itemClicked (const MouseEvent &e) |
|
virtual void | itemDoubleClicked (const MouseEvent &e) |
|
virtual void | itemSelectionChanged (bool isNowSelected) |
|
virtual String | getTooltip () |
|
virtual var | getDragSourceDescription () |
|
virtual bool | isInterestedInFileDrag (const StringArray &files) |
|
virtual void | filesDropped (const StringArray &files, int insertIndex) |
|
virtual bool | isInterestedInDragSource (const DragAndDropTarget::SourceDetails &dragSourceDetails) |
|
virtual void | itemDropped (const DragAndDropTarget::SourceDetails &dragSourceDetails, int insertIndex) |
|
void | setDrawsInLeftMargin (bool canDrawInLeftMargin) noexcept |
|
void | setDrawsInRightMargin (bool canDrawInRightMargin) noexcept |
|
XmlElement * | getOpennessState () const |
|
void | restoreOpennessState (const XmlElement &xml) |
|
int | getIndexInParent () const noexcept |
|
bool | isLastOfSiblings () const noexcept |
|
String | getItemIdentifierString () const |
|
virtual | ~Listener () |
|
virtual void | buttonStateChanged (Button *) |
|
String juce::KeyMappingEditorComponent::TopLevelItem::getUniqueName |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns a string to uniquely identify this item.
If you're planning on using the TreeView::getOpennessState() method, then these strings will be used to identify which nodes are open. The string should be unique amongst the item's sibling items, but it's ok for there to be duplicates at other levels of the tree.
If you're not going to store the state, then it's ok not to bother implementing this method.
Reimplemented from juce::TreeViewItem.