net.ontopia.topicmaps.nav2.portlets.pojos
Class YahooTree

java.lang.Object
  extended by net.ontopia.topicmaps.nav2.portlets.pojos.YahooTree

public class YahooTree
extends java.lang.Object

PUBLIC: This component can create a two-level view of the top of a tree, similar to the old Yahoo directory taxonomy that's still used by dmoz. The structure is a list of rows where each row contains up to n (configurable) top-level nodes, and each top-level node contains the immediate children of the top-level node.

The object is independent of a specific topic map transaction, and can thus be configured once and reused across transactions.


Nested Class Summary
 class YahooTree.TreeNode
           
 
Constructor Summary
YahooTree()
           
 
Method Summary
 int getColumns()
           
 java.util.List<java.util.List<YahooTree.TreeNode>> makeModel(TopicMapIF topicmap)
           
 void setChildQuery(java.lang.String query)
           
 void setColumns(int columns)
           
 void setTopQuery(java.lang.String topquery)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YahooTree

public YahooTree()
Method Detail

setTopQuery

public void setTopQuery(java.lang.String topquery)

setChildQuery

public void setChildQuery(java.lang.String query)

setColumns

public void setColumns(int columns)

getColumns

public int getColumns()

makeModel

public java.util.List<java.util.List<YahooTree.TreeNode>> makeModel(TopicMapIF topicmap)


Copyright © 2000-2012 Ontopia.