@OpenApiAll
public interface ISpecificationNode
Modifier and Type | Method and Description |
---|---|
ISpecificationComponent |
createSpecificationComponent(Element element)
Creates specification component of the node and given element.
|
void |
dispose()
Method is called when the node is disposed.
|
javax.swing.Icon |
getIcon()
Returns the icon of the node.
|
java.lang.String |
getID()
Returns ID of the node.
|
java.lang.String |
getText()
Returns displaying text of the node.
|
void |
propertyChanged(Element element,
java.beans.PropertyChangeEvent event)
This method gets called when a property is of the element is changed.
|
boolean |
updateNode()
Method is colled when node should be updated.
|
java.lang.String getID()
javax.swing.Icon getIcon()
java.lang.String getText()
ISpecificationComponent createSpecificationComponent(Element element)
element
- element to create component for.void propertyChanged(Element element, java.beans.PropertyChangeEvent event)
element
- element which represented by node.event
- a PropertyChangeEvent object describing the event source and the property that has changed.boolean updateNode()
true
if node was updated, otherwise - false
.void dispose()