Package com.eagerlogic.cubee.client.style.styles

Examples of com.eagerlogic.cubee.client.style.styles.ColorBackground


            Panel pnlSep = new Panel();
            pnlSep.widthProperty().bind(clientWidthProperty());
            // TODO set styleable
            pnlSep.heightProperty().set(1);
            // TODO set styleable
            pnlSep.backgroundProperty().set(new ColorBackground(Color.BLACK));
            root.getChildren().add(pnlSep);
           
            root.addEmptyCell(2);
        }
       
View Full Code Here


        this.modal = modal;
        this.autoClose = autoClose;
        this.glassColor = glassColor;
        this.popupRoot = new Panel();
        if (glassColor != null) {
            this.popupRoot.backgroundProperty().set(new ColorBackground(glassColor));
        }
        if (modal || autoClose) {
            this.popupRoot.getElement().getStyle().setProperty("pointerEvents", "all");
        } else {
            this.popupRoot.getElement().getStyle().setProperty("pointerEvents", "none");
View Full Code Here

        this.contentPanel = new Panel();
        this.contentPanel.getElement().getStyle().setProperty("pointerEvents", "none");
        this.contentPanel.widthProperty().bind(this.clientWidthProperty());
        this.contentPanel.heightProperty().bind(this.clientHeightProperty());
        this.contentPanel.pointerTransparentProperty().set(true);
        this.contentPanel.backgroundProperty().set(new ColorBackground(Color.getRgbColor(0xf0f0f0)));
        this.getChildren().add(this.contentPanel);

        this.popupPanel = new Panel();
        this.popupPanel.getElement().getStyle().setProperty("pointerEvents", "none");
        this.popupPanel.widthProperty().bind(this.clientWidthProperty());
View Full Code Here

    public CheckBox() {
        root = new HBox();
        this.getChildren().add(root);

        tickBox = new Panel();
        tickBox.backgroundProperty().set(new ColorBackground(Color.WHITE));
        tickBox.borderProperty().set(new Border(1, Color.LIGHT_GRAY, 0));
        tickBox.widthProperty().set(10);
        tickBox.heightProperty().set(10);
        tickBox.handlePointerProperty().set(false);
        root.getChildren().add(tickBox);
View Full Code Here

    }

    @Override
    protected void init(int selectedIndex, T[] items, boolean emptySelectionEnabled, String emptySelectionText) {
        Panel root = new Panel();
        root.backgroundProperty().set(new ColorBackground(Color.WHITE));
        root.borderProperty().set(new Border(1, Color.getRgbColor(0x202020), 5));
        this.setRootComponent(root);

        VBox vbMain = new VBox();
        root.getChildren().add(vbMain);
View Full Code Here

            @Override
            public ABackground calculate() {
                if (separatorDotColor.get() == null) {
                    return null;
                }
                return new ColorBackground(separatorDotColor.get());
            }
        });
        res.widthProperty().bind(new AExpression<Integer>() {

            {
View Full Code Here

            @Override
            public ABackground calculate() {
                if (separatorDotColor.get() == null) {
                    return null;
                }
                return new ColorBackground(separatorDotColor.get());
            }
        });
        res.widthProperty().bind(new AExpression<Integer>() {

            {
View Full Code Here

        }
        this.items = items;

        this.root = new Panel();
        this.setRootComponent(root);
        this.backgroundProperty().set(new ColorBackground(Color.WHITE));

        VBox vb = new VBox();
        root.getChildren().add(vb);
        root.shadowProperty().set(new BoxShadow(2, 2, 10, 0, Color.getRgbColor(0x808080), false));
        root.borderProperty().set(new Border(1, Color.LIGHT_GRAY, 0));
View Full Code Here

        horizontalLine = new Panel();
        horizontalLine.widthProperty().set(5);
        horizontalLine.heightProperty().set(1);
        horizontalLine.translateXProperty().set(2);
        horizontalLine.translateYProperty().set(4);
        horizontalLine.backgroundProperty().set(new ColorBackground(Color.GRAY));
        horizontalLine.handlePointerProperty().set(false);
        this.getChildren().add(horizontalLine);
       
        verticalLine = new Panel();
        verticalLine.widthProperty().set(1);
        verticalLine.heightProperty().set(5);
        verticalLine.translateXProperty().set(4);
        verticalLine.translateYProperty().set(2);
        verticalLine.backgroundProperty().set(new ColorBackground(Color.GRAY));
        verticalLine.handlePointerProperty().set(false);
        this.getChildren().add(verticalLine);
       
        expandedProperty().addChangeListener(new IChangeListener() {
View Full Code Here

        this.popupRoot.getElement().getStyle().setTop(0.0, com.google.gwt.dom.client.Style.Unit.PX);
        this.popupRoot.getElement().getStyle().setRight(0.0, com.google.gwt.dom.client.Style.Unit.PX);
        this.popupRoot.getElement().getStyle().setBottom(0.0, com.google.gwt.dom.client.Style.Unit.PX);
        this.popupRoot.getElement().getStyle().setPosition(com.google.gwt.dom.client.Style.Position.FIXED);
        if (glassColor != null) {
            this.popupRoot.backgroundProperty().set(new ColorBackground(glassColor));
        }
        if (modal || autoClose) {
            this.popupRoot.getElement().getStyle().setProperty("pointerEvents", "all");
        } else {
            this.popupRoot.getElement().getStyle().setProperty("pointerEvents", "none");
View Full Code Here

TOP

Related Classes of com.eagerlogic.cubee.client.style.styles.ColorBackground

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.