当前位置: 首页>>代码示例>>Java>>正文


Java HtmlPanelGroup类代码示例

本文整理汇总了Java中javax.faces.component.html.HtmlPanelGroup的典型用法代码示例。如果您正苦于以下问题:Java HtmlPanelGroup类的具体用法?Java HtmlPanelGroup怎么用?Java HtmlPanelGroup使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


HtmlPanelGroup类属于javax.faces.component.html包,在下文中一共展示了HtmlPanelGroup类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: DataCenterViewer

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public DataCenterViewer() {
    super();
    this.groupHostMachinePanelBodyList = new ArrayList<HtmlPanelGroup>();
    this.groupExternalStoragePanelBodyList = new ArrayList<HtmlPanelGroup>();
    this.groupFirewallPanelBodyList = new ArrayList<HtmlPanelGroup>();
    this.groupRouterPanelBodyList = new ArrayList<HtmlPanelGroup>();

    this.indexHMMonitorInfoList = new ArrayList<Integer>();
    this.indexHMLocalNetworkList = new ArrayList<Integer>();
    this.countHMLocalNetworkList = new ArrayList<Integer>();
    this.indexHMLocalStorageList = new ArrayList<Integer>();
    this.countHMLocalStorageList = new ArrayList<Integer>();
    this.indexHMSharedStorageList = new ArrayList<Integer>();
    this.indexESMonitorInfoList = new ArrayList<Integer>();
    this.indexESLocalNetworkList = new ArrayList<Integer>();
    this.countESLocalNetworkList = new ArrayList<Integer>();
    this.indexESSharedStorageList = new ArrayList<Integer>();
    this.indexRMonitorInfoList = new ArrayList<Integer>();
    this.indexRLocalNetworkList = new ArrayList<Integer>();
    this.countRLocalNetworkList = new ArrayList<Integer>();
    this.indexFMonitorInfoList = new ArrayList<Integer>();
    this.indexFLocalNetworkList = new ArrayList<Integer>();
    this.countFLocalNetworkList = new ArrayList<Integer>();
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:26,代码来源:DataCenterViewer.java

示例2: addPanelGroupHostMachine

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void addPanelGroupHostMachine() {
    this.dataCenterController.getGroupHostMachineList().add(
            indexHostMachine, new GroupHostMachine());
    this.groupHostMachinePanelBodyList.add(indexHostMachine,
            new HtmlPanelGroup());
    this.indexHMLocalStorageList.add(indexHostMachine, 0);
    this.countHMLocalStorageList.add(indexHostMachine, 0);
    this.indexHMMonitorInfoList.add(indexHostMachine, 0);
    this.indexHMLocalNetworkList.add(indexHostMachine, 0);
    this.countHMLocalNetworkList.add(indexHostMachine, 0);
    this.indexHMSharedStorageList.add(indexHostMachine, 0);
    CCUtility.setFirstPanel(this.indexHostMachine, panelDataCenterBody,
            "groupHostMachine", "dataCenter");
    this.indexHostMachine++;
    this.countHostMachine++;
    controlForButtonCreateXML();

}
 
开发者ID:disit,项目名称:iclos,代码行数:19,代码来源:DataCenterViewer.java

示例3: addPanelLocalNetworkGroupExternalStorage

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void addPanelLocalNetworkGroupExternalStorage(
        final HtmlPanelGroup htmlPanelParent, final Integer indexPanelParent) {
    final int indexLocalNetwork = indexESLocalNetworkList
            .get(indexPanelParent);
    this.groupExternalStoragePanelBodyList.set(indexPanelParent,
            htmlPanelParent);
    this.dataCenterController.getGroupExternalStorageList()
            .get(indexPanelParent).getLocalNetworkList()
            .add(indexLocalNetwork, new LocalNetwork());
    CCUtility.setSecondPanel(indexLocalNetwork, indexPanelParent,
            htmlPanelParent, "localNetwork", "groupExternalStorage",
            "dataCenter");
    this.indexESLocalNetworkList.set(indexPanelParent,
            indexLocalNetwork + 1);
    this.countESLocalNetworkList.set(indexPanelParent,
            this.countESLocalNetworkList.get(indexPanelParent) + 1);
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:19,代码来源:DataCenterViewer.java

示例4: addPanelLocalNetworkGroupFirewall

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void addPanelLocalNetworkGroupFirewall(
        final HtmlPanelGroup htmlPanelParent, final Integer indexPanelParent) {
    final int indexLocalNetwork = indexFLocalNetworkList
            .get(indexPanelParent);
    this.groupFirewallPanelBodyList.set(indexPanelParent, htmlPanelParent);
    this.dataCenterController.getGroupFirewallList().get(indexPanelParent)
            .getLocalNetworkList()
            .add(indexLocalNetwork, new LocalNetwork());
    CCUtility.setSecondPanel(indexLocalNetwork, indexPanelParent,
            htmlPanelParent, "localNetwork", "groupFirewall", "dataCenter");
    this.indexFLocalNetworkList
            .set(indexPanelParent, indexLocalNetwork + 1);
    this.countFLocalNetworkList.set(indexPanelParent,
            this.countFLocalNetworkList.get(indexPanelParent) + 1);
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:17,代码来源:DataCenterViewer.java

示例5: addPanelLocalNetworkGroupHostMachine

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void addPanelLocalNetworkGroupHostMachine(
        final HtmlPanelGroup htmlPanelParent, final Integer indexPanelParent) {
    final int indexLocalNetwork = indexHMLocalNetworkList
            .get(indexPanelParent);
    this.groupHostMachinePanelBodyList.set(indexPanelParent,
            htmlPanelParent);
    this.dataCenterController.getGroupHostMachineList()
            .get(indexPanelParent).getLocalNetworkList()
            .add(indexLocalNetwork, new LocalNetwork());
    CCUtility.setSecondPanel(indexLocalNetwork, indexPanelParent,
            htmlPanelParent, "localNetwork", "groupHostMachine",
            "dataCenter");
    this.indexHMLocalNetworkList.set(indexPanelParent,
            indexLocalNetwork + 1);
    this.countHMLocalNetworkList.set(indexPanelParent,
            this.countHMLocalNetworkList.get(indexPanelParent) + 1);
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:19,代码来源:DataCenterViewer.java

示例6: addPanelLocalStorageGroupHostMachine

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void addPanelLocalStorageGroupHostMachine(
        final HtmlPanelGroup htmlPanelParent, final Integer indexPanelParent) {
    final int indexLocalStorage = indexHMLocalStorageList
            .get(indexPanelParent);
    this.groupHostMachinePanelBodyList.set(indexPanelParent,
            htmlPanelParent);
    this.dataCenterController.getGroupHostMachineList()
            .get(indexPanelParent).getLocalStorageList()
            .add(indexLocalStorage, new LocalStorage());
    CCUtility.setSecondPanel(indexLocalStorage, indexPanelParent,
            htmlPanelParent, "localStorage", "groupHostMachine",
            "dataCenter");
    this.indexHMLocalStorageList.set(indexPanelParent,
            indexLocalStorage + 1);
    this.countHMLocalStorageList.set(indexPanelParent,
            this.countHMLocalStorageList.get(indexPanelParent) + 1);
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:19,代码来源:DataCenterViewer.java

示例7: removePanelSlAgreement

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void removePanelSlAgreement(final String idPanelToRemove,
        final Integer indexPanelToRemove) {
    UIComponent uiPanelToRemove = panelBusinessConfigurationBody
            .findComponent(idPanelToRemove);
    panelBusinessConfigurationBody.getChildren().remove(uiPanelToRemove);
    for (HtmlPanelGroup panelSlObjectiveBody : this.slObjectiveSlAgreementPanelBodyList.get(indexPanelToRemove)) {
        if (panelSlObjectiveBody != null) {
            this.removePanelSlObjectiveSlAgreement(idPanelToRemove,
                    panelSlObjectiveBody.getId(), indexPanelToRemove,
                    this.slObjectiveSlAgreementPanelBodyList.get(indexPanelToRemove)
                            .indexOf(panelSlObjectiveBody));
        }
    }

    this.slAgreementPanelBodyList.set(indexPanelToRemove, null);
    this.businessConfigurationController.getBusinessConfiguration()
            .getSlAgreementList().set(indexPanelToRemove, null);
    this.indexSASlObjectiveList.set(indexPanelToRemove, null);
    this.countSlAgreement--;
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:22,代码来源:BusinessConfigurationViewer.java

示例8: addInputTextSharedStorageGroupHostMachine

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void addInputTextSharedStorageGroupHostMachine(
        final HtmlPanelGroup htmlPanelParent, final Integer indexPanelParent) {
    final int indexSharedStorage = indexHMSharedStorageList
            .get(indexPanelParent);
    this.groupHostMachinePanelBodyList.set(indexPanelParent,
            htmlPanelParent);
    this.dataCenterController.getGroupHostMachineList()
            .get(indexPanelParent).getSharedStorageList()
            .add(indexSharedStorage, "");
    Map<String, ValueExpression> mapValueExpression = new HashMap<String, ValueExpression>();
    final String idCC = "ccInputTextSharedStorage" + indexSharedStorage;
    mapValueExpression.put("preAddon", CCUtility.createValueExpression(
            "urn:cloudicaro:SharedStorageVolume:", String.class));
    mapValueExpression.put("placeholder", CCUtility.createValueExpression(
            "Insert localUri of SharedStorage used by this host ",
            String.class));
    mapValueExpression.put("value", CCUtility.createValueExpression(
            "#{dataCenterController.groupHostMachineList.get("
                    + indexPanelParent + ").sharedStorageList["
                    + indexSharedStorage + "]}", Object.class));
    CCUtility.includeCompositeComponent(htmlPanelParent, "inputComponent",
            "inputTextBS.xhtml", idCC, mapValueExpression);
    this.indexHMSharedStorageList.set(indexPanelParent,
            indexSharedStorage + 1);
}
 
开发者ID:disit,项目名称:iclos,代码行数:26,代码来源:DataCenterViewer.java

示例9: removePanelLocalNetworkGroupExternalStorage

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void removePanelLocalNetworkGroupExternalStorage(
        final String idPanelParent, final String panelToRemove,
        final Integer indexPanelParent, final Integer indexPanelToRemove) {
    for (HtmlPanelGroup panelParentContainer : this.groupExternalStoragePanelBodyList) {
        if (panelParentContainer != null
                && panelParentContainer.getId().equals(idPanelParent)) {
            panelParentContainer.getChildren().remove(
                    panelParentContainer.findComponent(panelToRemove));
            this.dataCenterController.getGroupExternalStorageList()
                    .get(indexPanelParent).getLocalNetworkList()
                    .set(indexPanelToRemove, null);
            this.countESLocalNetworkList.set(indexPanelParent,
                    this.countESLocalNetworkList.get(indexPanelParent) - 1);
        }
    }
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:18,代码来源:DataCenterViewer.java

示例10: removePanelLocalNetworkGroupFirewall

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void removePanelLocalNetworkGroupFirewall(
        final String idPanelParent, final String panelToRemove,
        final Integer indexPanelParent, final Integer indexPanelToRemove) {
    for (HtmlPanelGroup panelParentContainer : this.groupFirewallPanelBodyList) {
        if (panelParentContainer != null
                && panelParentContainer.getId().equals(idPanelParent)) {
            panelParentContainer.getChildren().remove(
                    panelParentContainer.findComponent(panelToRemove));
            this.dataCenterController.getGroupFirewallList()
                    .get(indexPanelParent).getLocalNetworkList()
                    .set(indexPanelToRemove, null);
            this.countFLocalNetworkList.set(indexPanelParent,
                    this.countFLocalNetworkList.get(indexPanelParent) - 1);
        }
    }
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:18,代码来源:DataCenterViewer.java

示例11: removePanelLocalNetworkGroupHostMachine

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void removePanelLocalNetworkGroupHostMachine(
        final String idPanelParent, final String panelToRemove,
        final Integer indexPanelParent, final Integer indexPanelToRemove) {
    for (HtmlPanelGroup panelParentContainer : this.groupHostMachinePanelBodyList) {
        if (panelParentContainer != null
                && panelParentContainer.getId().equals(idPanelParent)) {
            panelParentContainer.getChildren().remove(
                    panelParentContainer.findComponent(panelToRemove));
            this.dataCenterController.getGroupHostMachineList()
                    .get(indexPanelParent).getLocalNetworkList()
                    .set(indexPanelToRemove, null);
            this.countHMLocalNetworkList.set(indexPanelParent,
                    this.countHMLocalNetworkList.get(indexPanelParent) - 1);
        }
    }
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:18,代码来源:DataCenterViewer.java

示例12: removePanelSlAgreementIcaroTenant

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void removePanelSlAgreementIcaroTenant(final String idPanelParent,
        final String panelToRemove, final Integer indexPanelParent,
        final Integer indexPanelToRemove) {
    for (HtmlPanelGroup panelParentContainer : this.icaroTenantPanelBodyList) {
        if (panelParentContainer != null
                && panelParentContainer.getId().equals(idPanelParent)) {
            panelParentContainer.getChildren().remove(
                    panelParentContainer.findComponent(panelToRemove));
            this.slAgreementIcaroTenantPanelBodyList.get(indexPanelParent)
                    .set(indexPanelToRemove, null);
            this.businessConfigurationController.getBusinessConfiguration()
                    .getIcaroTenantList().get(indexPanelParent)
                    .getSlAgreementList().set(indexPanelToRemove, null);
            this.indexITSASlObjectiveList.get(indexPanelParent).set(
                    indexPanelToRemove, null);
            this.countITSlAgreementList.set(indexPanelParent,
                    this.countITSlAgreementList.get(indexPanelParent) - 1);
        }

    }
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:23,代码来源:BusinessConfigurationViewer.java

示例13: removePanelMonitorInfoIcaroServiceIA

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void removePanelMonitorInfoIcaroServiceIA(
        final String idPanelParent, final String panelToRemove,
        final Integer indexPanelGParent, final Integer indexPanelParent,
        final Integer indexPanelToRemove) {
    for (HtmlPanelGroup panelParentContainer : this.icaroServicePanelBodyList
            .get(indexPanelGParent)) {
        if (panelParentContainer != null
                && panelParentContainer.getId().equals(idPanelParent)) {
            panelParentContainer.getChildren().remove(
                    panelParentContainer.findComponent(panelToRemove));
            this.businessConfigurationController.getBusinessConfiguration()
                    .getIcaroApplicationList().get(indexPanelGParent)
                    .getIcaroServiceList().get(indexPanelParent)
                    .getMonitorInfoList().set(indexPanelToRemove, null);
        }

    }

}
 
开发者ID:disit,项目名称:iclos,代码行数:20,代码来源:BusinessConfigurationViewer.java

示例14: removePanelSlMetricSlObjectiveSA

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void removePanelSlMetricSlObjectiveSA(final String idPanelParent,
        final String panelToRemove, final Integer indexPanelGParent,
        final Integer indexPanelParent, final Integer indexPanelToRemove) {
    for (HtmlPanelGroup panelParentContainer : this.slObjectiveSlAgreementPanelBodyList
            .get(indexPanelGParent)) {
        if (panelParentContainer != null
                && panelParentContainer.getId().equals(idPanelParent)) {
            panelParentContainer.getChildren().remove(
                    panelParentContainer.findComponent(panelToRemove));
            this.businessConfigurationController.getBusinessConfiguration()
                    .getSlAgreementList().get(indexPanelGParent)
                    .getSlObjectiveList().get(indexPanelParent)
                    .getSlMetricList().set(indexPanelToRemove, null);
            this.countSASOSlMetricList.get(indexPanelGParent).set(
                    indexPanelParent,
                    this.countSASOSlMetricList.get(indexPanelGParent).get(
                            indexPanelParent) + 1);
        }

    }
    controlForButtonCreateXML();
}
 
开发者ID:disit,项目名称:iclos,代码行数:23,代码来源:BusinessConfigurationViewer.java

示例15: removePanelIcaroTenant

import javax.faces.component.html.HtmlPanelGroup; //导入依赖的package包/类
public void removePanelIcaroTenant(final String idPanelToRemove,
        final Integer indexPanelToRemove) {
    UIComponent uiPanelToRemove = panelBusinessConfigurationBody
            .findComponent(idPanelToRemove);
    panelBusinessConfigurationBody.getChildren().remove(uiPanelToRemove);
    for (HtmlPanelGroup panelSlAgreementBody : this.slAgreementIcaroTenantPanelBodyList
            .get(indexPanelToRemove)) {
        if (panelSlAgreementBody != null) {
            this.removePanelSlAgreementIcaroTenant(idPanelToRemove,
                    panelSlAgreementBody.getId(), indexPanelToRemove,
                    this.slAgreementIcaroTenantPanelBodyList.get(indexPanelToRemove)
                            .indexOf(panelSlAgreementBody));
        }
    }
    this.icaroTenantPanelBodyList.set(indexPanelToRemove, null);
    this.businessConfigurationController.getBusinessConfiguration()
            .getIcaroTenantList().set(indexPanelToRemove, null);
    this.indexITMonitorInfoList.set(indexPanelToRemove, null);
    this.indexITSlAgreementList.set(indexPanelToRemove, null);
}
 
开发者ID:disit,项目名称:iclos,代码行数:21,代码来源:BusinessConfigurationViewer.java


注:本文中的javax.faces.component.html.HtmlPanelGroup类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。