Package javafx.beans.property

Examples of javafx.beans.property.BooleanPropertyBase


    public final void setSelected(final boolean ON) {
        selectedProperty().set(ON);
    }
    public final BooleanProperty selectedProperty() {
        if (null == selected) {
            selected = new BooleanPropertyBase() {
                @Override protected void invalidated() {
                    if (null != getToggleGroup()) {
                        if (get()) {
                            getToggleGroup().selectToggle(IconSwitch.this);
                        } else if (getToggleGroup().getSelectedToggle() == IconSwitch.this) {
View Full Code Here


    public final void setSelected(final boolean SELECTED) {
        selectedProperty().set(SELECTED);
    }
    public final BooleanProperty selectedProperty() {
        if (null == selected) {
            selected = new BooleanPropertyBase() {
                @Override protected void invalidated() {
                    if (null != getToggleGroup()) {
                        if (get()) {
                            getToggleGroup().selectToggle(OnOffSwitch.this);
                        } else if (getToggleGroup().getSelectedToggle() == OnOffSwitch.this) {
View Full Code Here

        openProperty().set(OPEN);
        rotate();
    }
    public final BooleanProperty openProperty() {
        if (null == open) {
            open = new BooleanPropertyBase(false) {
                @Override protected void invalidated() { pseudoClassStateChanged(OPEN_PSEUDO_CLASS, get()); }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "open"; }
            };
        }
View Full Code Here

    public final void setNoFrame(final boolean NO_FRAME) {
        noFrameProperty().set(NO_FRAME);
    }
    public final BooleanProperty noFrameProperty() {
        if (null == noFrame) {
            noFrame = new BooleanPropertyBase(false) {
                @Override protected void invalidated() {
                    pseudoClassStateChanged(NO_FRAME_PSEUDO_CLASS, get());
                }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "noFrame"; }
View Full Code Here

    public final void setNoFrame(final boolean NO_FRAME) {
        noFrameProperty().set(NO_FRAME);
    }
    public final BooleanProperty noFrameProperty() {
        if (null == noFrame) {
            noFrame = new BooleanPropertyBase(false) {
                @Override protected void invalidated() {
                    pseudoClassStateChanged(NO_FRAME_PSEUDO_CLASS, get());
                }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "noFrame"; }
View Full Code Here

    public final void setInteractive(final boolean INTERACTIVE) {
        interactiveProperty().set(INTERACTIVE);
    }
    public final BooleanProperty interactiveProperty() {
        if (null == interactive) {
            interactive = new BooleanPropertyBase(false) {
                @Override protected void invalidated() { pseudoClassStateChanged(INTERACTIVE_PSEUDO_CLASS, get()); }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "interactive"; }
            };
        }
View Full Code Here

    public final void setGreenOn(final boolean GREEN_ON) {
        greenOnProperty().set(GREEN_ON);
    }
    public final BooleanProperty greenOnProperty() {
        if (null == greenOn) {
            greenOn = new BooleanPropertyBase(false) {
                @Override protected void invalidated() { pseudoClassStateChanged(GREEN_ON_PSEUDO_CLASS, get()); }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "greenOn"; }
            };
        }
View Full Code Here

    public final void setYellowOn(final boolean YELLOW_ON) {
        yellowOnProperty().set(YELLOW_ON);
    }
    public final BooleanProperty yellowOnProperty() {
        if (null == yellowOn) {
            yellowOn = new BooleanPropertyBase(false) {
                @Override protected void invalidated() { pseudoClassStateChanged(YELLOW_ON_PSEUDO_CLASS, get()); }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "yellowOn"; }
            };
        }
View Full Code Here

    public final void setRedOn(final boolean RED_ON) {
        redOnProperty().set(RED_ON);
    }
    public final BooleanProperty redOnProperty() {
        if (null == redOn) {
            redOn = new BooleanPropertyBase(false) {
                @Override protected void invalidated() { pseudoClassStateChanged(RED_ON_PSEUDO_CLASS, get()); }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "redOn"; }
            };
        }
View Full Code Here

            autoScale.set(AUTO_SCALE);
        }
    }
    public final BooleanProperty autoScaleProperty() {
        if (null == autoScale) {           
            autoScale = new BooleanPropertyBase(_autoScale) {
                @Override protected void invalidated() {
                    if (get()) {
                        exactMinValue = getMinValue();
                        exactMaxValue = getMaxValue();
                    } else {
View Full Code Here

TOP

Related Classes of javafx.beans.property.BooleanPropertyBase

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.