Architecture Diagrams for /JabRef/jabref  WARNING: Processor stopped at maximum of 1350 files. Some objects might not be visible.[edit]
Packages / org.jabref.model / ChainNode

abstract class ChainNode

Represents a node in a chain. We view a chain as a vertical hierarchy and thus refer to the previous node as parent and the next node is a child. In usual implementations, nodes function as wrappers around a data object. Thus normally they have a value property which allows access to the value stored in the node. In contrast to this approach, the ChainNode<T> class is designed to be used as a base class which provides the tree traversing functionality via inheritance. Example usage: private class BasicChainNode extends ChainNode<BasicChainNode> { public BasicChainNode() { super(BasicChainNode.class); } }
Class fields and methodsA
abstract class ChainNode
Represents a node in a chain. We view a chain as a vertical hierarchy a...
constructor ChainNode(derivingClass)
method addAtEnd(node)
method addAtEnd()
method getChild()
method getParent()
method isAncestorOf(anotherNode)
method moveTo(target)
method removeChild()
method setChild(child)
method setParent(parent)
Constructs a chain node without parent and no child.
Adds the given node at the end of the chain. E.g., "A > B > C" + "D" ->...
Returns this node's child or an empty Optional if this node has no child.
Returns this node's parent or an empty Optional if this node has no par...
Returns true if this node is an ancestor of the given node. <p> A node ...
Removes this node from its parent and makes it a child of the specified...
Removes the child from this node's child list, giving it an empty parent.
Adds the node as the child. Also sets the parent of the given node to t...
Sets the parent node of this node. <p> This method does not set this no...