Package org.openfaces.component.chart

Examples of org.openfaces.component.chart.PieSectorEvent


    public LineStyle getPieChartOutline() {
        return new LineStyle(Color.WHITE, new BasicStroke(2.25f));
    }

    public void quarterClickListener(ActionEvent event) {
        PieSectorEvent pEvent = (PieSectorEvent) event;
        selectedSector = pEvent.getSector();
    }
View Full Code Here


    private PieSectorInfo getSector() {
        return Faces.var("sector", PieSectorInfo.class);
    }

    public void quarterClickListener(ActionEvent event) {
        PieSectorEvent pEvent = (PieSectorEvent) event;
        selectedSector = pEvent.getSector();
    }
View Full Code Here

    public boolean getCondition() {
        return pieInfo != null && pieInfo.equals(pieView.getSector());
    }

    public void onSectorClickActionListener(ActionEvent event) {
        PieSectorEvent pEvent = (PieSectorEvent) event;
        sectorAction = true;
        pieInfo = pEvent.getSector();
        ChartModel model = (barView.getChart().getModel());
        if (model instanceof CitiesDataBean) {
            CitiesDataBean data = (CitiesDataBean) model;
            data.setCountry((String) pieInfo.getKey());
        }
View Full Code Here

TOP

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

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.