Package org.aiotrade.lib.securities.dataserver

Examples of org.aiotrade.lib.securities.dataserver.QuoteContract.freq()


        QuoteServer quoteServerTemplate = quoteContractTemplate.lookupServiceTemplate(QuoteServer.class, "DataServers").get();

        dataSourceComboBox.setSelectedItem(quoteServerTemplate);

        timeUnitField.setModel(new DefaultComboBoxModel(TUnit.values()));
        timeUnitField.setSelectedItem(quoteContractTemplate.freq().unit());
        unitTimesField.setValue(quoteContractTemplate.freq().nUnits());

        refreshable.setSelected(quoteContractTemplate.isRefreshable());
        refreshInterval.setValue(quoteContractTemplate.refreshInterval());
View Full Code Here


        dataSourceComboBox.setSelectedItem(quoteServerTemplate);

        timeUnitField.setModel(new DefaultComboBoxModel(TUnit.values()));
        timeUnitField.setSelectedItem(quoteContractTemplate.freq().unit());
        unitTimesField.setValue(quoteContractTemplate.freq().nUnits());

        refreshable.setSelected(quoteContractTemplate.isRefreshable());
        refreshInterval.setValue(quoteContractTemplate.refreshInterval());

        pathField.setText(quoteContractTemplate.urlString());
View Full Code Here

        SecInfo info = new SecInfo();
        info.uniSymbol_$eq(symbol);
        sec.secInfo_$eq(info);
        Content content = sec.content();
        content.addDescriptor(quoteContract);
        QuoteSer ser = sec.serOf(quoteContract.freq()).get();
        if (!ser.isLoaded()) {
            sec.loadSer(ser);
        }

        ChartingController controller = ChartingController$.MODULE$.apply(sec, sec.serOf(quoteContract.freq()).get());
View Full Code Here

        QuoteSer ser = sec.serOf(quoteContract.freq()).get();
        if (!ser.isLoaded()) {
            sec.loadSer(ser);
        }

        ChartingController controller = ChartingController$.MODULE$.apply(sec, sec.serOf(quoteContract.freq()).get());
        previewContainer = controller.createChartViewContainer(AnalysisChartViewContainer.class, this);

        previewPanel.setLayout(new BorderLayout());
        previewPanel.add(previewContainer, BorderLayout.CENTER);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.