Interface ISpecificationNode


  • @OpenApiAll
    public interface ISpecificationNode
    The interface of specification tree node.
    • Method Detail

      • getID

        java.lang.String getID()
        Returns ID of the node.
        Returns:
        node id.
      • getIcon

        @CheckForNull
        javax.swing.Icon getIcon()
        Returns the icon of the node.
        Returns:
        node icon.
      • getText

        java.lang.String getText()
        Returns displaying text of the node.
        Returns:
        displaying text.
      • createSpecificationComponent

        ISpecificationComponent createSpecificationComponent​(Element element)
        Creates specification component of the node for given element.
        Parameters:
        element - element to create component for.
        Returns:
        specification component.
      • propertyChanged

        void propertyChanged​(Element element,
                             java.beans.PropertyChangeEvent event)
        This method gets called when a property of the element is changed.
        Parameters:
        element - element which represented by node.
        event - a PropertyChangeEvent object describing the event source and the property that has changed.
      • updateNode

        boolean updateNode()
        Method is called when node should be updated. Implementation must check if node really needs to be updated.
        Returns:
        true if node was updated, otherwise - false.
      • dispose

        void dispose()
        Method is called when the node is disposed.