| 62 | * The TreePalette will have items TreePaletteItems and will be generic by it's items. |
| 63 | * It's clear that the TreePaletteItems and the ListPaletteItems will have some common methods -> the interaction ones, so they will have a common predecessor the InteractableItem. |
| 64 | * The InteractableItem is abstract class with the following methods with default implementations to do nothing: |
| 65 | * {{{public void clicked()}}} -> Can be implemented to execute action when the item is clicked. |
| 66 | * {{{public void doubleClicked()}}} -> Can be implemented to execute action when the item is double clicked. |
| 67 | * {{{public void selected()}}} -> Can be implemented to execute action when the item is selected. |
| 68 | * {{{public Transferable draggedOut()}}} -> Implemented if the item can be dragged out. |
| 69 | * {{{public void keyPressed(KeyEvent e)}}} -> Implemented if action is executed when key is pressed and the item is selected. |