Class GenericTreeElement<T>

java.lang.Object
io.github.astrapi69.swing.tree.GenericTreeElement<T>
All Implemented Interfaces:
Serializable

public class GenericTreeElement<T> extends Object implements Serializable
The class GenericTreeElement represents as the name already presume a tree element
See Also:
  • Field Details

  • Constructor Details

    • GenericTreeElement

      public GenericTreeElement()
  • Method Details

    • getDefaultContent

      public T getDefaultContent()
      Gets the default content object from the map
      Returns:
      the default content object from the map
    • setDefaultContent

      public GenericTreeElement<T> setDefaultContent(T defaultContent)
      Sets the default content object from the map to the given object
      Parameters:
      defaultContent - the default content object to set
      Returns:
      this object