com.alibaba.dubbo.qos.textui
Class TTree

java.lang.Object
  extended by com.alibaba.dubbo.qos.textui.TTree
All Implemented Interfaces:
TComponent

public class TTree
extends Object
implements TComponent

树形控件 Created by oldmanpushcart@gmail.com on 15/5/26.


Constructor Summary
TTree(boolean isPrintCost, String title)
           
 
Method Summary
 TTree begin()
           
 TTree begin(Object data)
          创建一个分支节点
 TTree end()
          结束一个分支节点
 Object get()
           
 boolean isTop()
           
 String rendering()
          渲染组件内容
 TTree set(Object data)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTree

public TTree(boolean isPrintCost,
             String title)
Method Detail

rendering

public String rendering()
Description copied from interface: TComponent
渲染组件内容

Specified by:
rendering in interface TComponent

isTop

public boolean isTop()

begin

public TTree begin(Object data)
创建一个分支节点

Parameters:
data - 节点数据
Returns:
this

begin

public TTree begin()

get

public Object get()

set

public TTree set(Object data)

end

public TTree end()
结束一个分支节点

Returns:
this


Copyright © 2012–2017 Alibaba. All rights reserved.