Package org.openfaces.component.chart

Examples of org.openfaces.component.chart.ChartMenu


import java.util.List;

public class ChartMenuRenderer extends PopupMenuRenderer {
    @Override
    public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
        ChartMenu menu = (ChartMenu) component;
        if (menu.getChildren().size() == 0) {
            List<UIComponent> menuItems = menu.getChildren();
            menuItems.add(new SaveChartMenuItem());
            menuItems.add(new PrintChartMenuItem());
        }

        super.encodeBegin(context, component);
View Full Code Here

TOP

Related Classes of org.openfaces.component.chart.ChartMenu

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.