代码搜索:JTree
找到约 1,656 项符合「JTree」的源代码
代码结果 1,656
www.eeworm.com/read/127767/14336087
txt e1027. converting a node in a jtree component to a treepath.txt
// If expanded, return only paths of nodes that are expanded.
public TreePath[] getPaths(JTree tree, boolean expanded) {
TreeNode root = (TreeNode)tree.getModel().getRoot();
www.eeworm.com/read/127767/14336621
txt e1031. setting the row height of a jtree component.txt
The tree component's row height property controls the height of every displayed node. If the row height is greater than 0, all rows will be given the specified height. However, if the rows can be of d
www.eeworm.com/read/127767/14337405
txt e1033. listening for selection events in a jtree component.txt
This example adds a listener for selection events to a tree component.
tree.addTreeSelectionListener(new TreeSelectionListener() {
public void valueChanged(TreeSelectionEvent evt) {
www.eeworm.com/read/140847/5779177
m old.water1.m
% Compare the speeds of various inference engines on the water DBN
[bnet, onodes] = mk_water_dbn;
T = 3;
engine = {};
engine{end+1} = jtree_unrolled_dbn_inf_engine(bnet, T, onodes);
engine{end+1} =
www.eeworm.com/read/140847/5779596
m marginal_nodes.m
function marginal = marginal_nodes(engine, nodes, t)
% MARGINAL_NODES Compute the marginal on the specified query nodes (jtree_unrolled_dbn)
% marginal = marginal_nodes(engine, nodes, t)
%
% 't' speci
www.eeworm.com/read/133943/5897361
m old.water1.m
% Compare the speeds of various inference engines on the water DBN
[bnet, onodes] = mk_water_dbn;
T = 3;
engine = {};
engine{end+1} = jtree_unrolled_dbn_inf_engine(bnet, T, onodes);
engine{end+1} =
www.eeworm.com/read/133943/5897778
m marginal_nodes.m
function marginal = marginal_nodes(engine, nodes, t)
% MARGINAL_NODES Compute the marginal on the specified query nodes (jtree_unrolled_dbn)
% marginal = marginal_nodes(engine, nodes, t)
%
% 't' speci
www.eeworm.com/read/160391/5571221
m old.water1.m
% Compare the speeds of various inference engines on the water DBN
[bnet, onodes] = mk_water_dbn;
T = 3;
engine = {};
engine{end+1} = jtree_unrolled_dbn_inf_engine(bnet, T, onodes);
engine{
www.eeworm.com/read/160391/5571641
m marginal_nodes.m
function marginal = marginal_nodes(engine, nodes, t)
% MARGINAL_NODES Compute the marginal on the specified query nodes (jtree_unrolled_dbn)
% marginal = marginal_nodes(engine, nodes, t)
%
% 't' s
www.eeworm.com/read/127767/14335991
txt e1029. expanding or collapsing all nodes in a jtree component.txt
// If expand is true, expands all nodes in the tree.
// Otherwise, collapses all nodes in the tree.
public void expandAll(JTree tree, boolean expand) {
TreeNode root = (TreeNode)tre