Package DicomCanvas

Examples of DicomCanvas.Paintable


    public void setImage(AgregatorItem agregator) {
        this.item = agregator;
        calculateCanvasSize(agregator);
        if (agregator != null){
            lblTitle.setText(agregator.getName());
            Paintable image = null;

            if (agregator.getItemsType() == AgregatorItem.ItemsType.image && agregator.getImageModel().getImageCount() > 0) {
                image = agregator.getImageModel().getImage(0);
            } else if (agregator.getItemsType() == AgregatorItem.ItemsType.waveform) {
                image = agregator.getWaveModel().getDrawer();
View Full Code Here

TOP

Related Classes of DicomCanvas.Paintable

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.