Examples of toIndex()


Examples of org.locationtech.udig.style.advanced.utils.Alignments.toIndex()

        anchorVerticalCombo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
        anchorVerticalCombo.setItems(Alignments.toVerticalStrings());
        anchorVerticalCombo.addSelectionListener(this);
        String anchorY = textSymbolizerWrapper.getAnchorY();
        Alignments vertAlign = Alignments.verticalAlignmentfromDouble(anchorY);
        anchorVerticalCombo.select(vertAlign.toIndex());

        anchorHorizontalCombo = new Combo(mainComposite, SWT.DROP_DOWN | SWT.READ_ONLY);
        anchorHorizontalCombo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
        anchorHorizontalCombo.setItems(Alignments.toHorizontalStrings());
        anchorHorizontalCombo.addSelectionListener(this);
View Full Code Here

Examples of org.locationtech.udig.style.advanced.utils.Alignments.toIndex()

        anchorHorizontalCombo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
        anchorHorizontalCombo.setItems(Alignments.toHorizontalStrings());
        anchorHorizontalCombo.addSelectionListener(this);
        String anchorX = textSymbolizerWrapper.getAnchorX();
        Alignments horAlign = Alignments.horizontalAlignmentfromDouble(anchorX);
        anchorHorizontalCombo.select(horAlign.toIndex());

        // displacement
        Label displacementLabel = new Label(mainComposite, SWT.NONE);
        displacementLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
        displacementLabel.setText(Messages.PointLabelsParametersComposite_11);
View Full Code Here

Examples of org.locationtech.udig.style.advanced.utils.Alignments.toIndex()

        haloRadiusSpinner.setSelection(tmp);

        // anchor
        String anchorY = textSymbolizerWrapper.getAnchorY();
        Alignments vertAlign = Alignments.verticalAlignmentfromDouble(anchorY);
        anchorVerticalCombo.select(vertAlign.toIndex());

        String anchorX = textSymbolizerWrapper.getAnchorX();
        Alignments horAlign = Alignments.horizontalAlignmentfromDouble(anchorX);
        anchorHorizontalCombo.select(horAlign.toIndex());
View Full Code Here

Examples of org.locationtech.udig.style.advanced.utils.Alignments.toIndex()

        Alignments vertAlign = Alignments.verticalAlignmentfromDouble(anchorY);
        anchorVerticalCombo.select(vertAlign.toIndex());

        String anchorX = textSymbolizerWrapper.getAnchorX();
        Alignments horAlign = Alignments.horizontalAlignmentfromDouble(anchorX);
        anchorHorizontalCombo.select(horAlign.toIndex());

        // displacement
        String displacementX = textSymbolizerWrapper.getDisplacementX();
        String displacementY = textSymbolizerWrapper.getDisplacementY();
        Double tmpXdisplacement = Utilities.isNumber(displacementX, Double.class);
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.