story.dbcore.gui
Interface TreeView

All Known Implementing Classes:
DefaultTreeView, ReferencesTreeView

public interface TreeView

An interface for writing routines to create a cosmetic representation for nodes in a Forest tree.


Method Summary
 boolean hierarchicalTree(TreeType type)
          Should the tree for a certain type organize its nodes hierarchically, putting SUBTYPEOF and INSTANCEOF nodes inside their respective parents, or list all nodes without hierarchy?
 java.lang.String[] nodeBin(TreeType type, NodeAddress node)
          How should nodes be sorted in the tree?
 java.lang.String nodeText(TreeType type, NodeAddress node)
          Given a node, what should the text of the node be in the Forest tree?
 boolean triggersReload(NodeType type, AttributeID ID)
          If the argued attribute is changed to a new value, should the Forest reload its tree models?
 boolean useBins(TreeType type)
          Should nodeBin() be used or should all the nodes just be listed without bins?
 

Method Detail

nodeText

java.lang.String nodeText(TreeType type,
                          NodeAddress node)
Given a node, what should the text of the node be in the Forest tree?


nodeBin

java.lang.String[] nodeBin(TreeType type,
                           NodeAddress node)
How should nodes be sorted in the tree?


useBins

boolean useBins(TreeType type)
Should nodeBin() be used or should all the nodes just be listed without bins?


triggersReload

boolean triggersReload(NodeType type,
                       AttributeID ID)
If the argued attribute is changed to a new value, should the Forest reload its tree models?


hierarchicalTree

boolean hierarchicalTree(TreeType type)
Should the tree for a certain type organize its nodes hierarchically, putting SUBTYPEOF and INSTANCEOF nodes inside their respective parents, or list all nodes without hierarchy?



Copyright © 2011 David K. Elson. All Rights Reserved.