Package com.lightcrafts.model

Examples of com.lightcrafts.model.LayerMode


    private void setMode(LayerMode mode) {
        combo.setSelectedItem(mode);
    }

    private void updateOperation() {
        final LayerMode mode = getMode();
        final double opacity = getOpacity();
        final LayerConfig config = new LayerConfig(mode, opacity);
        op.setLayerConfig(config);
        if (opacity == 1.0 && mode.getName().equals("Normal"))
            pcs.firePropertyChange(BLENDING_MODES, Boolean.TRUE, Boolean.FALSE);
        else
            pcs.firePropertyChange(BLENDING_MODES, Boolean.FALSE, Boolean.TRUE);
    }
View Full Code Here

TOP

Related Classes of com.lightcrafts.model.LayerMode

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.