亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? graphbean.java

?? 一個比較好的jsf spring hibernate的例子
?? JAVA
字號:
/* * $Id: GraphBean.java,v 1.7 2007/04/27 22:00:25 ofung Exp $ *//* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. *  * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. *  * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CDDL") (collectively, the "License").  You * may not use this file except in compliance with the License. You can obtain * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html * or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific * language governing permissions and limitations under the License. *  * When distributing the software, include this License Header Notice in each * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt. * Sun designates this particular file as subject to the "Classpath" exception * as provided by Sun in the GPL Version 2 section of the License file that * accompanied this code.  If applicable, add the following below the License * Header, with the fields enclosed by brackets [] replaced by your own * identifying information: "Portions Copyrighted [year] * [name of copyright owner]" *  * Contributor(s): *  * If you wish your version of this file to be governed by only the CDDL or * only the GPL Version 2, indicate your decision by adding "[Contributor] * elects to include this software in this distribution under the [CDDL or GPL * Version 2] license."  If you don't indicate a single choice of license, a * recipient has the option to distribute your version of this file under * either the CDDL, the GPL Version 2 or to extend the choice of license to * its licensees as provided above.  However, if you add GPL Version 2 code * and therefore, elected the GPL Version 2 license, then the option applies * only if the new code is made subject to such option by the copyright * holder. */package demo.model;import javax.faces.event.ActionEvent;import java.util.Iterator;import java.util.logging.Level;import java.util.logging.Logger;import com.sun.javaee.blueprints.components.ui.components.GraphComponent;import com.sun.javaee.blueprints.components.ui.model.Graph;import com.sun.javaee.blueprints.components.ui.model.Node;/** <p>Backing file bean for TreeControl demo.</p> */public class GraphBean {    private static Logger LOGGER = Logger.getLogger("demo.model");            Graph menuGraph = null;    Graph treeGraph = null;    public GraphBean() {    }    public Graph getMenuGraph() {        // Construct a preconfigured customer list lazily.        if (menuGraph == null) {            Node root = new Node("Menu 2", "Menu", null, null, false, true);            menuGraph = new Graph(root);            Node file = new Node("File", "File 2", "/demo-test.faces", null,                                 true, true);            root.addChild(file);            file.addChild(                  new Node("File-New", "New 2", "/demo-test.faces", null, true,                           false));            file.addChild(                  new Node("File-Open",                           "Open 2",                           "/demo-test.faces",                           null,                           true,                           false));            Node close = new Node("File-Close", "Close 2", "/demo-test.faces",                                  null, false, false);            file.addChild(close);            file.addChild(                  new Node("File-Exit",                           "Exit 2",                           "/demo-test.faces",                           null,                           true,                           false));            Node edit = new Node("Edit", "Edit 2", "/demo-test.faces", null,                                 true, false);            root.addChild(edit);            edit.addChild(                  new Node("Edit-Cut", "Cut 2", "/demo-test.faces", null, true,                           false));            edit.addChild(                  new Node("Edit-Copy",                           "Copy 2",                           "/demo-test.faces",                           null,                           true,                           false));            edit.addChild(                  new Node("Edit-Paste", "Paste 2", "/demo-test.faces", null,                           false, false));            menuGraph.setSelected(close);        }        return menuGraph;    }    public void setMenuGraph(Graph newMenuGraph) {        this.menuGraph = newMenuGraph;    }    public Graph getTreeGraph() {        // Construct a preconfigured Graph lazily.        if (treeGraph == null) {            Node root = new Node("Menu 4", "Menu 4", null, null, false, true);            treeGraph = new Graph(root);            Node file = new Node("File", "File 4", "/demo-test.faces", null,                                 true, true);            root.addChild(file);            file.addChild(                  new Node("File-New", "New 4", "/demo-test.faces", null, true,                           false));            file.addChild(                  new Node("File-Open",                           "Open 4",                           "/demo-test.faces",                           null,                           true,                           false));            Node close = new Node("File-Close", "Close 4", "/demo-test.faces",                                  null, false, false);            file.addChild(close);            file.addChild(                  new Node("File-Exit",                           "Exit 4",                           "/demo-test.faces",                           null,                           true,                           false));            Node edit = new Node("Edit", "Edit 4", "/demo-test.faces", null,                                 true, false);            root.addChild(edit);            edit.addChild(                  new Node("Edit-Cut", "Cut 4", "/demo-test.faces", null, true,                           false));            edit.addChild(                  new Node("Edit-Copy",                           "Copy 4",                           "/demo-test.faces",                           null,                           true,                           false));            edit.addChild(                  new Node("Edit-Paste", "Paste 4", "/demo-test.faces", null,                           false, false));            treeGraph.setSelected(close);        }        return treeGraph;    }    public void setTreeGraph(Graph newTreeGraph) {        this.treeGraph = newTreeGraph;    }    /*     * Processes the event queued on the graph component when a particular     * node in the tree control is to be expanded or collapsed.     */    public void processGraphEvent(ActionEvent event) {        if (LOGGER.isLoggable(Level.FINE)) {            LOGGER.fine("TRACE: GraphBean.processGraphEvent ");        }        Graph graph = null;        GraphComponent component = (GraphComponent) event.getSource();        String path = (String) component.getAttributes().get("path");        // Acquire the root node of the graph representing the menu        graph = (Graph) component.getValue();        if (graph == null) {            if (LOGGER.isLoggable(Level.SEVERE)) {                LOGGER.severe("ERROR: Graph could not located in scope ");            }        }        // Toggle the expanded state of this node        Node node = graph.findNode(path);        if (node == null) {            if (LOGGER.isLoggable(Level.SEVERE)) {                LOGGER.severe("ERROR: Node " + path + "could not be located. ");            }            return;        }        boolean current = node.isExpanded();        node.setExpanded(!current);        if (!current) {            Node parent = node.getParent();            if (parent != null) {                Iterator kids = parent.getChildren();                while (kids.hasNext()) {                    Node kid = (Node) kids.next();                    if (kid != node) {                        kid.setExpanded(false);                    }                }            }        }    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久免费的精品国产v∧| 中文字幕一区二区三区蜜月| 精品国产一区二区三区忘忧草| 日韩欧美国产一区二区在线播放| 国产日韩亚洲欧美综合| 亚洲日本中文字幕区| 麻豆精品一二三| eeuss鲁片一区二区三区 | 久久久高清一区二区三区| 国产精品网站一区| 日韩中文欧美在线| 国产一区二区主播在线| 欧美在线999| 欧美激情一区在线观看| 亚洲成a人片综合在线| 国产精品18久久久久| 欧美日韩亚洲综合一区| 国产精品成人免费精品自在线观看| 视频在线观看91| 91九色02白丝porn| 国产精品无码永久免费888| 蜜臀av一区二区在线免费观看| 不卡一区中文字幕| 精品久久免费看| 午夜精品久久久久| 91国偷自产一区二区三区成为亚洲经典| 日韩一区二区在线看片| 亚洲v日本v欧美v久久精品| 97精品久久久午夜一区二区三区 | 日韩成人精品在线| 在线观看视频91| 亚洲一区成人在线| 不卡一区二区三区四区| 国产欧美一区二区精品性色超碰 | 色综合中文字幕| 中文字幕一区二区三区视频| 在线观看亚洲精品视频| 国产精品久久久久久户外露出| 精品在线播放免费| 26uuu久久综合| 国内精品久久久久影院色| 26uuu精品一区二区在线观看| 久久国产精品无码网站| 久久亚洲二区三区| 国产91精品一区二区麻豆亚洲| 国产精品拍天天在线| 91伊人久久大香线蕉| 亚洲一区二区中文在线| 欧美性xxxxxx少妇| 一区二区欧美精品| 欧美性生活影院| 麻豆一区二区三区| 亚洲国产高清aⅴ视频| 色一区在线观看| 五月天一区二区三区| 2020国产精品自拍| 成人sese在线| 天天综合日日夜夜精品| 久久色成人在线| 欧洲生活片亚洲生活在线观看| 蜜桃精品视频在线| 日本一区二区三级电影在线观看| 色成年激情久久综合| 免费成人在线网站| 中文字幕一区不卡| 91精品国产欧美一区二区18 | 欧美日韩大陆一区二区| 久久99精品一区二区三区| 综合电影一区二区三区| 精品区一区二区| 欧美视频一区在线观看| 国产精品一区二区三区乱码| 亚洲永久精品国产| 国产日韩欧美一区二区三区乱码 | 亚洲精品日日夜夜| 久久免费看少妇高潮| 欧美日韩免费视频| 9久草视频在线视频精品| 国产在线精品一区二区| 一卡二卡欧美日韩| 国产精品久久久久三级| 麻豆精品视频在线| 亚洲综合一区二区三区| 日韩一区二区高清| 精品婷婷伊人一区三区三| 成人黄页在线观看| 国产91精品一区二区| 韩国v欧美v亚洲v日本v| 蜜桃视频一区二区三区在线观看| 亚洲网友自拍偷拍| 一区二区三区四区五区视频在线观看| 国产精品狼人久久影院观看方式| 2020国产精品久久精品美国| 精品国产一区二区亚洲人成毛片 | 午夜视频在线观看一区二区三区| 亚洲最色的网站| 亚洲国产一区二区三区| 日韩国产精品91| 免费欧美在线视频| 国产一区二区调教| 风流少妇一区二区| 91网上在线视频| 色呦呦国产精品| 3751色影院一区二区三区| 欧美电影在线免费观看| 91亚洲精品久久久蜜桃网站| 国产精品亚洲一区二区三区妖精| 国产一区视频导航| 99在线精品观看| 欧美日免费三级在线| 欧美第一区第二区| 欧美精品一区男女天堂| 国产精品进线69影院| 亚洲一区中文在线| 久久97超碰色| 91在线你懂得| 欧美一级片免费看| 国产精品对白交换视频| 三级在线观看一区二区| 粗大黑人巨茎大战欧美成人| 欧美视频你懂的| 国产精品国产精品国产专区不片| 亚洲伊人色欲综合网| 国产aⅴ综合色| 欧美一卡二卡在线| 亚洲美女屁股眼交| 一区二区三区四区不卡视频 | 在线视频一区二区免费| 精品美女一区二区三区| 亚洲一区视频在线观看视频| 国产精品1区2区3区在线观看| 欧美亚洲动漫精品| 亚洲欧美日韩在线不卡| 久久超碰97人人做人人爱| 91激情五月电影| 亚洲三级小视频| 国产不卡在线一区| 久久综合狠狠综合久久激情 | 亚洲123区在线观看| 色欧美日韩亚洲| 亚洲色图都市小说| 成人精品gif动图一区| 久久综合久久综合久久| 久久国产综合精品| 51精品久久久久久久蜜臀| 亚洲一区二区三区四区在线免费观看 | 欧美成人女星排名| 免费高清成人在线| 欧美精品一区二区三区久久久| 视频一区在线播放| 56国语精品自产拍在线观看| 亚洲不卡av一区二区三区| 欧美人与禽zozo性伦| 亚洲大型综合色站| 在线观看91av| 久久99精品久久久久久国产越南 | 三级久久三级久久久| 欧美精品一二三区| 麻豆精品新av中文字幕| 久久精品人人做人人综合| 成人av在线资源网站| 亚洲久本草在线中文字幕| 欧美日韩国产综合久久| 国产精品久久久久7777按摩 | 久久久99免费| 成人app在线| 午夜天堂影视香蕉久久| 欧美电影免费观看完整版| 成人永久看片免费视频天堂| 综合在线观看色| 日韩一级黄色大片| 91在线观看美女| 秋霞电影网一区二区| 国产精品美女久久久久久久久久久| 91丝袜美腿高跟国产极品老师| 三级在线观看一区二区| 国产女人aaa级久久久级 | 欧美日韩一区二区不卡| 国产黄人亚洲片| 丝袜亚洲另类欧美| 欧美国产精品中文字幕| 欧美日韩国产bt| 99久久综合精品| 国产一区二区精品久久| 日韩综合在线视频| 国产精品剧情在线亚洲| 欧美成人精品福利| 欧美日韩亚洲国产综合| 99久久精品99国产精品| 国产成人高清在线| 美女任你摸久久| 亚瑟在线精品视频| 亚洲欧美视频一区| 国产精品卡一卡二| 国产欧美精品一区二区色综合| 精品国产一二三区| 日韩免费观看2025年上映的电影| 欧美午夜精品免费| 欧美伊人精品成人久久综合97| 成人国产在线观看|