Examples of DoublePropertyBase


Examples of javafx.beans.property.DoublePropertyBase

            angleRange.set(ANGLE_RANGE);
        }
    }
    public final DoubleProperty angleRangeProperty() {
        if (null == angleRange) {           
            angleRange = new DoublePropertyBase(_angleRange) {
                @Override protected void invalidated() { set(clamp(0d, 360d, get())); }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "angleRange"; }
            };
        }
View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase

   * @see #setRadius(double)
   * @see #getRadius()
   */
  public final DoubleProperty radiusProperty() {
    if (this.radius == null) {
      this.radius = new DoublePropertyBase(DEFAULT_RADIUS) {
        @Override
        public String getName() {
          return "radius";
        }

View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase

   * @see #setFrameWidth(double)
   * @see #getFrameWidth()
   */
  public final DoubleProperty frameWidthProperty() {
    if (this.frameWidth == null) {
      this.frameWidth = new DoublePropertyBase(DEFAULT_FRAME_WIDTH) {
        @Override
        public String getName() {
          return "frameWidth";
        }

View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase

   * @see #setScaleFactor(double)
   * @see #getScaleFactor()
   */
  public final DoubleProperty scaleFactorProperty() {
    if (this.scaleFactor == null) {
      this.scaleFactor = new DoublePropertyBase(DEFAULT_SCALE_FACTOR) {
        @Override
        public String getName() {
          return "scaleFactor";
        }

View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase

   * @see #setScopeLineWidth(double)
   * @see #getScopeLineWidth()
   */
  public final DoubleProperty scopeLineWidthProperty() {
    if (this.scopeLineWidth == null) {
      this.scopeLineWidth = new DoublePropertyBase(DEFAULT_SCOPELINE_WIDTH) {
        @Override
        public String getName() {
          return "scopeLineWidth";
        }

View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase


    // ******************** Constructors **************************************
    public Gauge() {
        getStyleClass().add("gauge");
        value                    = new DoublePropertyBase(0) {           
            @Override public void set(final double VALUE) {               
                limit.set(VALUE < getMinValue() ? Limit.UNDERRUN : VALUE > getMaxValue() ? Limit.EXCEEDED : Limit.IN_RANGE);
                super.set(clamp(getMinValue(), getMaxValue(), VALUE));
            }
            @Override public Object getBean() { return this; }
View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase

            threshold.set(THRESHOLD);
        }
    }
    public final DoubleProperty thresholdProperty() {
        if (null == threshold) {           
            threshold = new DoublePropertyBase(_threshold) {               
                @Override public void set(final double THRESHOLD) {
                    super.set(clamp(getMinValue(), getMaxValue(), get()));
                }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "threshold"; }
View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase

            startAngle.set(START_ANGLE);
        }
    }
    public final DoubleProperty startAngleProperty() {
        if (null == startAngle) {           
            startAngle = new DoublePropertyBase(_startAngle) {               
                @Override public void set(final double START_ANGLE) {
                    super.set(clamp(0d, 360d, get()));
                }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "startAngle"; }
View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase

            angleRange.set(ANGLE_RANGE);
        }
    }
    public final DoubleProperty angleRangeProperty() {
        if (null == angleRange) {           
            angleRange = new DoublePropertyBase(_angleRange) {               
                @Override public void set(final double ANGLE_RANGE) {
                    super.set(clamp(0d, 360d, get()));
                }
                @Override public Object getBean() { return this; }
                @Override public String getName() { return "angleRange"; }
View Full Code Here

Examples of javafx.beans.property.DoublePropertyBase

    // ******************** Constructors **************************************
    public OneEightyGauge() {       
        getStyleClass().add("one-eighty-gauge");

        value             = new DoublePropertyBase(0) {
            @Override public void set(final double VALUE) {               
                super.set(clamp(getMinValue(), getMaxValue(), VALUE));
            }
            @Override public Object getBean() { return this; }
            @Override public String getName() { return "value"; }
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.