jfxrt

dTo((float)(getControlX() + d1), (float)(getControlY() + d2), (float)(getX() + d1), (float)(getY() + d2));
    }
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.QuadCurveTo
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import javafx.util.Builder;

public class QuadCurveToBuilder<B extends QuadCurveToBuilder<B>>
  extends PathElementBuilder<B>
  implements Builder<QuadCurveTo>
{
  private int __set;
  private double controlX;
  private double controlY;
  private double x;
  private double y;
  
  public static QuadCurveToBuilder<?> create()
  {
    return new QuadCurveToBuilder();
  }
  
  public void applyTo(QuadCurveTo paramQuadCurveTo)
  {
    super.applyTo(paramQuadCurveTo);
    int i = __set;
    if ((i & 0x1) != 0) {
      paramQuadCurveTo.setControlX(controlX);
    }
    if ((i & 0x2) != 0) {
      paramQuadCurveTo.setControlY(controlY);
    }
    if ((i & 0x4) != 0) {
      paramQuadCurveTo.setX(x);
    }
    if ((i & 0x8) != 0) {
      paramQuadCurveTo.setY(y);
    }
  }
  
  public B controlX(double paramDouble)
  {
    controlX = paramDouble;
    __set |= 0x1;
    return this;
  }
  
  public B controlY(double paramDouble)
  {
    controlY = paramDouble;
    __set |= 0x2;
    return this;
  }
  
  public B x(double paramDouble)
  {
    x = paramDouble;
    __set |= 0x4;
    return this;
  }
  
  public B y(double paramDouble)
  {
    y = paramDouble;
    __set |= 0x8;
    return this;
  }
  
  public QuadCurveTo build()
  {
    QuadCurveTo localQuadCurveTo = new QuadCurveTo();
    applyTo(localQuadCurveTo);
    return localQuadCurveTo;
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.QuadCurveToBuilder
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.scene.DirtyBits;
import javafx.beans.property.DoublePropertyBase;

class Rectangle$1
  extends DoublePropertyBase
{
  Rectangle$1(Rectangle paramRectangle) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Rectangle.access$000(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "x";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.scene.DirtyBits;
import javafx.beans.property.DoublePropertyBase;

class Rectangle$2
  extends DoublePropertyBase
{
  Rectangle$2(Rectangle paramRectangle) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Rectangle.access$100(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "y";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.scene.DirtyBits;
import javafx.beans.property.DoublePropertyBase;

class Rectangle$3
  extends DoublePropertyBase
{
  Rectangle$3(Rectangle paramRectangle) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Rectangle.access$200(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "width";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.3
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.scene.DirtyBits;
import javafx.beans.property.DoublePropertyBase;

class Rectangle$4
  extends DoublePropertyBase
{
  Rectangle$4(Rectangle paramRectangle) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Rectangle.access$300(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "height";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.4
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableDoubleProperty;
import com.sun.javafx.css.StyleableProperty;
import com.sun.javafx.scene.DirtyBits;

class Rectangle$5
  extends StyleableDoubleProperty
{
  Rectangle$5(Rectangle paramRectangle) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Rectangle.StyleableProperties.access$400();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "arcWidth";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.5
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableDoubleProperty;
import com.sun.javafx.css.StyleableProperty;
import com.sun.javafx.scene.DirtyBits;

class Rectangle$6
  extends StyleableDoubleProperty
{
  Rectangle$6(Rectangle paramRectangle) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Rectangle.StyleableProperties.access$500();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "arcHeight";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.6
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleConverter;
import com.sun.javafx.css.StyleableProperty;
import javafx.beans.property.DoubleProperty;
import javafx.beans.value.WritableValue;

final class Rectangle$StyleableProperties$1
  extends StyleableProperty<Rectangle, Number>
{
  Rectangle$StyleableProperties$1(String paramString, StyleConverter paramStyleConverter, Number paramNumber)
  {
    super(paramString, paramStyleConverter, paramNumber);
  }
  
  public boolean isSettable(Rectangle paramRectangle)
  {
    return (Rectangle.access$600(paramRectangle) == null) || (!Rectangle.access$600(paramRectangle).isBound());
  }
  
  public WritableValue<Number> getWritableValue(Rectangle paramRectangle)
  {
    return paramRectangle.arcHeightProperty();
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.StyleableProperties.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleConverter;
import com.sun.javafx.css.StyleableProperty;
import javafx.beans.property.DoubleProperty;
import javafx.beans.value.WritableValue;

final class Rectangle$StyleableProperties$2
  extends StyleableProperty<Rectangle, Number>
{
  Rectangle$StyleableProperties$2(String paramString, StyleConverter paramStyleConverter, Number paramNumber)
  {
    super(paramString, paramStyleConverter, paramNumber);
  }
  
  public boolean isSettable(Rectangle paramRectangle)
  {
    return (Rectangle.access$700(paramRectangle) == null) || (!Rectangle.access$700(paramRectangle).isBound());
  }
  
  public WritableValue<Number> getWritableValue(Rectangle paramRectangle)
  {
    return paramRectangle.arcWidthProperty();
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.StyleableProperties.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleConverter;
import com.sun.javafx.css.StyleableProperty;
import com.sun.javafx.css.converters.SizeConverter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javafx.beans.property.DoubleProperty;
import javafx.beans.value.WritableValue;

class Rectangle$StyleableProperties
{
  private static final StyleableProperty<Rectangle, Number> ARC_HEIGHT = new StyleableProperty("-fx-arc-height", SizeConverter.getInstance(), Double.valueOf(0.0D))
  {
    public boolean isSettable(Rectangle paramAnonymousRectangle)
    {
      return (Rectangle.access$600(paramAnonymousRectangle) == null) || (!Rectangle.access$600(paramAnonymousRectangle).isBound());
    }
    
    public WritableValue<Number> getWritableValue(Rectangle paramAnonymousRectangle)
    {
      return paramAnonymousRectangle.arcHeightProperty();
    }
  };
  private static final StyleableProperty<Rectangle, Number> ARC_WIDTH = new StyleableProperty("-fx-arc-width", SizeConverter.getInstance(), Double.valueOf(0.0D))
  {
    public boolean isSettable(Rectangle paramAnonymousRectangle)
    {
      return (Rectangle.access$700(paramAnonymousRectangle) == null) || (!Rectangle.access$700(paramAnonymousRectangle).isBound());
    }
    
    public WritableValue<Number> getWritableValue(Rectangle paramAnonymousRectangle)
    {
      return paramAnonymousRectangle.arcWidthProperty();
    }
  };
  private static final List<StyleableProperty> STYLEABLES;
  
  static
  {
    ArrayList localArrayList = new ArrayList(Shape.impl_CSS_STYLEABLES());
    Collections.addAll(localArrayList, new StyleableProperty[] { ARC_HEIGHT, ARC_WIDTH });
    STYLEABLES = Collections.unmodifiableList(localArrayList);
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle.StyleableProperties
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleConverter;
import com.sun.javafx.css.StyleableDoubleProperty;
import com.sun.javafx.css.StyleableProperty;
import com.sun.javafx.css.converters.SizeConverter;
import com.sun.javafx.geom.BaseBounds;
import com.sun.javafx.geom.RoundRectangle2D;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.javafx.scene.DirtyBits;
import com.sun.javafx.sg.PGNode;
import com.sun.javafx.sg.PGRectangle;
import com.sun.javafx.sg.PGShape.Mode;
import com.sun.javafx.sg.PGShape.StrokeLineJoin;
import com.sun.javafx.tk.Toolkit;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.DoublePropertyBase;
import javafx.beans.value.WritableValue;
import javafx.scene.paint.Paint;

public class Rectangle
  extends Shape
{
  private final RoundRectangle2D shape = new RoundRectangle2D();
  private static final int NON_RECTILINEAR_TYPE_MASK = -72;
  private DoubleProperty x;
  private DoubleProperty y;
  private DoubleProperty width = new DoublePropertyBase()
  {
    public void invalidated()
    {
      impl_markDirty(DirtyBits.NODE_GEOMETRY);
      impl_geomChanged();
    }
    
    public Object getBean()
    {
      return Rectangle.this;
    }
    
    public String getName()
    {
      return "width";
    }
  };
  private DoubleProperty height = new DoublePropertyBase()
  {
    public void invalidated()
    {
      impl_markDirty(DirtyBits.NODE_GEOMETRY);
      impl_geomChanged();
    }
    
    public Object getBean()
    {
      return Rectangle.this;
    }
    
    public String getName()
    {
      return "height";
    }
  };
  private DoubleProperty arcWidth;
  private DoubleProperty arcHeight;
  
  public Rectangle() {}
  
  public Rectangle(double paramDouble1, double paramDouble2)
  {
    setWidth(paramDouble1);
    setHeight(paramDouble2);
  }
  
  public Rectangle(double paramDouble1, double paramDouble2, Paint paramPaint)
  {
    setWidth(paramDouble1);
    setHeight(paramDouble2);
    setFill(paramPaint);
  }
  
  public Rectangle(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    this(paramDouble3, paramDouble4);
    setX(paramDouble1);
    setY(paramDouble2);
  }
  
  public final void setX(double paramDouble)
  {
    if ((x != null) || (paramDouble != 0.0D)) {
      xProperty().set(paramDouble);
    }
  }
  
  public final double getX()
  {
    return x == null ? 0.0D : x.get();
  }
  
  public final DoubleProperty xProperty()
  {
    if (x == null) {
      x = new DoublePropertyBase()
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_GEOMETRY);
          impl_geomChanged();
        }
        
        public Object getBean()
        {
          return Rectangle.this;
        }
        
        public String getName()
        {
          return "x";
        }
      };
    }
    return x;
  }
  
  public final void setY(double paramDouble)
  {
    if ((y != null) || (paramDouble != 0.0D)) {
      yProperty().set(paramDouble);
    }
  }
  
  public final double getY()
  {
    return y == null ? 0.0D : y.get();
  }
  
  public final DoubleProperty yProperty()
  {
    if (y == null) {
      y = new DoublePropertyBase()
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_GEOMETRY);
          impl_geomChanged();
        }
        
        public Object getBean()
        {
          return Rectangle.this;
        }
        
        public String getName()
        {
          return "y";
        }
      };
    }
    return y;
  }
  
  public final void setWidth(double paramDouble)
  {
    width.set(paramDouble);
  }
  
  public final double getWidth()
  {
    return width.get();
  }
  
  public final DoubleProperty widthProperty()
  {
    return width;
  }
  
  public final void setHeight(double paramDouble)
  {
    height.set(paramDouble);
  }
  
  public final double getHeight()
  {
    return height.get();
  }
  
  public final DoubleProperty heightProperty()
  {
    return height;
  }
  
  public final void setArcWidth(double paramDouble)
  {
    if ((arcWidth != null) || (paramDouble != 0.0D)) {
      arcWidthProperty().set(paramDouble);
    }
  }
  
  public final double getArcWidth()
  {
    return arcWidth == null ? 0.0D : arcWidth.get();
  }
  
  public final DoubleProperty arcWidthProperty()
  {
    if (arcWidth == null) {
      arcWidth = new StyleableDoubleProperty()
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_GEOMETRY);
        }
        
        public StyleableProperty getStyleableProperty()
        {
          return Rectangle.StyleableProperties.access$400();
        }
        
        public Object getBean()
        {
          return Rectangle.this;
        }
        
        public String getName()
        {
          return "arcWidth";
        }
      };
    }
    return arcWidth;
  }
  
  public final void setArcHeight(double paramDouble)
  {
    if ((arcHeight != null) || (paramDouble != 0.0D)) {
      arcHeightProperty().set(paramDouble);
    }
  }
  
  public final double getArcHeight()
  {
    return arcHeight == null ? 0.0D : arcHeight.get();
  }
  
  public final DoubleProperty arcHeightProperty()
  {
    if (arcHeight == null) {
      arcHeight = new StyleableDoubleProperty()
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_GEOMETRY);
        }
        
        public StyleableProperty getStyleableProperty()
        {
          return Rectangle.StyleableProperties.access$500();
        }
        
        public Object getBean()
        {
          return Rectangle.this;
        }
        
        public String getName()
        {
          return "arcHeight";
        }
      };
    }
    return arcHeight;
  }
  
  @Deprecated
  protected PGNode impl_createPGNode()
  {
    return Toolkit.getToolkit().createPGRectangle();
  }
  
  PGRectangle getPGRect()
  {
    return (PGRectangle)impl_getPGNode();
  }
  
  @Deprecated
  public static List<StyleableProperty> impl_CSS_STYLEABLES()
  {
    return StyleableProperties.STYLEABLES;
  }
  
  @Deprecated
  public List<StyleableProperty> impl_getStyleableProperties()
  {
    return impl_CSS_STYLEABLES();
  }
  
  @Deprecated
  protected PGShape.StrokeLineJoin toPGLineJoin(StrokeLineJoin paramStrokeLineJoin)
  {
    if ((getArcWidth() > 0.0D) && (getArcHeight() > 0.0D)) {
      return PGShape.StrokeLineJoin.BEVEL;
    }
    return super.toPGLineJoin(paramStrokeLineJoin);
  }
  
  @Deprecated
  public BaseBounds impl_computeGeomBounds(BaseBounds paramBaseBounds, BaseTransform paramBaseTransform)
  {
    if (impl_mode == PGShape.Mode.EMPTY) {
      return paramBaseBounds.makeEmpty();
    }
    if ((getArcWidth() > 0.0D) && (getArcHeight() > 0.0D) && ((paramBaseTransform.getType() & 0xFFFFFFB8) != 0)) {
      return computeShapeBounds(paramBaseBounds, paramBaseTransform, impl_configShape());
    }
    double d2;
    double d1;
    if ((impl_mode == PGShape.Mode.FILL) || (getStrokeType() == StrokeType.INSIDE))
    {
      d1 = d2 = 0.0D;
    }
    else
    {
      d1 = getStrokeWidth();
      if (getStrokeType() == StrokeType.CENTERED) {
        d1 /= 2.0D;
      }
      d2 = 0.0D;
    }
    return computeBounds(paramBaseBounds, paramBaseTransform, d1, d2, getX(), getY(), getWidth(), getHeight());
  }
  
  @Deprecated
  public RoundRectangle2D impl_configShape()
  {
    if ((getArcWidth() > 0.0D) && (getArcHeight() > 0.0D)) {
      shape.setRoundRect((float)getX(), (float)getY(), (float)getWidth(), (float)getHeight(), (float)getArcWidth(), (float)getArcHeight());
    } else {
      shape.setRoundRect((float)getX(), (float)getY(), (float)getWidth(), (float)getHeight(), 0.0F, 0.0F);
    }
    return shape;
  }
  
  @Deprecated
  public void impl_updatePG()
  {
    super.impl_updatePG();
    if (impl_isDirty(DirtyBits.NODE_GEOMETRY))
    {
      PGRectangle localPGRectangle = getPGRect();
      localPGRectangle.updateRectangle((float)getX(), (float)getY(), (float)getWidth(), (float)getHeight(), (float)getArcWidth(), (float)getArcHeight());
    }
  }
  
  private static class StyleableProperties
  {
    private static final StyleableProperty<Rectangle, Number> ARC_HEIGHT = new StyleableProperty("-fx-arc-height", SizeConverter.getInstance(), Double.valueOf(0.0D))
    {
      public boolean isSettable(Rectangle paramAnonymousRectangle)
      {
        return (arcHeight == null) || (!arcHeight.isBound());
      }
      
      public WritableValue<Number> getWritableValue(Rectangle paramAnonymousRectangle)
      {
        return paramAnonymousRectangle.arcHeightProperty();
      }
    };
    private static final StyleableProperty<Rectangle, Number> ARC_WIDTH = new StyleableProperty("-fx-arc-width", SizeConverter.getInstance(), Double.valueOf(0.0D))
    {
      public boolean isSettable(Rectangle paramAnonymousRectangle)
      {
        return (arcWidth == null) || (!arcWidth.isBound());
      }
      
      public WritableValue<Number> getWritableValue(Rectangle paramAnonymousRectangle)
      {
        return paramAnonymousRectangle.arcWidthProperty();
      }
    };
    private static final List<StyleableProperty> STYLEABLES;
    
    static
    {
      ArrayList localArrayList = new ArrayList(Shape.impl_CSS_STYLEABLES());
      Collections.addAll(localArrayList, new StyleableProperty[] { ARC_HEIGHT, ARC_WIDTH });
      STYLEABLES = Collections.unmodifiableList(localArrayList);
    }
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Rectangle
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import javafx.util.Builder;

public class RectangleBuilder<B extends RectangleBuilder<B>>
  extends ShapeBuilder<B>
  implements Builder<Rectangle>
{
  private int __set;
  private double arcHeight;
  private double arcWidth;
  private double height;
  private double width;
  private double x;
  private double y;
  
  public static RectangleBuilder<?> create()
  {
    return new RectangleBuilder();
  }
  
  public void applyTo(Rectangle paramRectangle)
  {
    super.applyTo(paramRectangle);
    int i = __set;
    if ((i & 0x1) != 0) {
      paramRectangle.setArcHeight(arcHeight);
    }
    if ((i & 0x2) != 0) {
      paramRectangle.setArcWidth(arcWidth);
    }
    if ((i & 0x4) != 0) {
      paramRectangle.setHeight(height);
    }
    if ((i & 0x8) != 0) {
      paramRectangle.setWidth(width);
    }
    if ((i & 0x10) != 0) {
      paramRectangle.setX(x);
    }
    if ((i & 0x20) != 0) {
      paramRectangle.setY(y);
    }
  }
  
  public B arcHeight(double paramDouble)
  {
    arcHeight = paramDouble;
    __set |= 0x1;
    return this;
  }
  
  public B arcWidth(double paramDouble)
  {
    arcWidth = paramDouble;
    __set |= 0x2;
    return this;
  }
  
  public B height(double paramDouble)
  {
    height = paramDouble;
    __set |= 0x4;
    return this;
  }
  
  public B width(double paramDouble)
  {
    width = paramDouble;
    __set |= 0x8;
    return this;
  }
  
  public B x(double paramDouble)
  {
    x = paramDouble;
    __set |= 0x10;
    return this;
  }
  
  public B y(double paramDouble)
  {
    y = paramDouble;
    __set |= 0x20;
    return this;
  }
  
  public Rectangle build()
  {
    Rectangle localRectangle = new Rectangle();
    applyTo(localRectangle);
    return localRectangle;
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.RectangleBuilder
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.scene.DirtyBits;
import javafx.beans.property.ObjectPropertyBase;

class SVGPath$1
  extends ObjectPropertyBase<FillRule>
{
  SVGPath$1(SVGPath paramSVGPath, FillRule paramFillRule)
  {
    super(paramFillRule);
  }
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.SHAPE_FILLRULE);
    SVGPath.access$000(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "fillRule";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.SVGPath.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.scene.DirtyBits;
import javafx.beans.property.StringPropertyBase;

class SVGPath$2
  extends StringPropertyBase
{
  SVGPath$2(SVGPath paramSVGPath, String paramString)
  {
    super(paramString);
  }
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_CONTENTS);
    SVGPath.access$100(this$0);
    SVGPath.access$202(this$0, null);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "content";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.SVGPath.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.Logging;
import com.sun.javafx.geom.Path2D;
import com.sun.javafx.logging.PlatformLogger;
import com.sun.javafx.scene.DirtyBits;
import com.sun.javafx.sg.PGNode;
import com.sun.javafx.sg.PGSVGPath;
import com.sun.javafx.tk.Toolkit;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.ObjectPropertyBase;
import javafx.beans.property.StringProperty;
import javafx.beans.property.StringPropertyBase;

public class SVGPath
  extends Shape
{
  private ObjectProperty<FillRule> fillRule;
  private Path2D path2d;
  private StringProperty content;
  private Object svgPathObject;
  
  public final void setFillRule(FillRule paramFillRule)
  {
    if ((fillRule != null) || (paramFillRule != FillRule.NON_ZERO)) {
      fillRuleProperty().set(paramFillRule);
    }
  }
  
  public final FillRule getFillRule()
  {
    return fillRule == null ? FillRule.NON_ZERO : (FillRule)fillRule.get();
  }
  
  public final ObjectProperty<FillRule> fillRuleProperty()
  {
    if (fillRule == null) {
      fillRule = new ObjectPropertyBase(FillRule.NON_ZERO)
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.SHAPE_FILLRULE);
          impl_geomChanged();
        }
        
        public Object getBean()
        {
          return SVGPath.this;
        }
        
        public String getName()
        {
          return "fillRule";
        }
      };
    }
    return fillRule;
  }
  
  public final void setContent(String paramString)
  {
    contentProperty().set(paramString);
  }
  
  public final String getContent()
  {
    return content == null ? "" : (String)content.get();
  }
  
  public final StringProperty contentProperty()
  {
    if (content == null) {
      content = new StringPropertyBase("")
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_CONTENTS);
          impl_geomChanged();
          path2d = null;
        }
        
        public Object getBean()
        {
          return SVGPath.this;
        }
        
        public String getName()
        {
          return "content";
        }
      };
    }
    return content;
  }
  
  @Deprecated
  protected PGNode impl_createPGNode()
  {
    return Toolkit.getToolkit().createPGSVGPath();
  }
  
  @Deprecated
  public PGSVGPath impl_getPGSVGPath()
  {
    return (PGSVGPath)impl_getPGNode();
  }
  
  @Deprecated
  public Path2D impl_configShape()
  {
    if (path2d == null) {
      path2d = createSVGPath2D();
    } else {
      path2d.setWindingRule(getFillRule() == FillRule.NON_ZERO ? 1 : 0);
    }
    return path2d;
  }
  
  @Deprecated
  public void impl_updatePG()
  {
    super.impl_updatePG();
    if ((impl_isDirty(DirtyBits.SHAPE_FILLRULE)) || (impl_isDirty(DirtyBits.NODE_CONTENTS)))
    {
      if (impl_getPGSVGPath().acceptsPath2dOnUpdate())
      {
        if (svgPathObject == null) {
          svgPathObject = new Path2D();
        }
        Path2D localPath2D = (Path2D)svgPathObject;
        localPath2D.setTo(impl_configShape());
      }
      else
      {
        svgPathObject = createSVGPathObject();
      }
      impl_getPGSVGPath().setContent(svgPathObject);
    }
  }
  
  public String toString()
  {
    return "SVGPath[" + getContent() + "]";
  }
  
  private Path2D createSVGPath2D()
  {
    try
    {
      return Toolkit.getToolkit().createSVGPath2D(this);
    }
    catch (RuntimeException localRuntimeException)
    {
      Logging.getJavaFXLogger().warning("Failed to configure svg path \"{0}\": {1}", new Object[] { getContent(), localRuntimeException.getMessage() });
    }
    return Toolkit.getToolkit().createSVGPath2D(new SVGPath());
  }
  
  private Object createSVGPathObject()
  {
    try
    {
      return Toolkit.getToolkit().createSVGPathObject(this);
    }
    catch (RuntimeException localRuntimeException)
    {
      Logging.getJavaFXLogger().warning("Failed to configure svg path \"{0}\": {1}", new Object[] { getContent(), localRuntimeException.getMessage() });
    }
    return Toolkit.getToolkit().createSVGPathObject(new SVGPath());
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.SVGPath
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import javafx.util.Builder;

public class SVGPathBuilder<B extends SVGPathBuilder<B>>
  extends ShapeBuilder<B>
  implements Builder<SVGPath>
{
  private int __set;
  private String content;
  private FillRule fillRule;
  
  public static SVGPathBuilder<?> create()
  {
    return new SVGPathBuilder();
  }
  
  public void applyTo(SVGPath paramSVGPath)
  {
    super.applyTo(paramSVGPath);
    int i = __set;
    if ((i & 0x1) != 0) {
      paramSVGPath.setContent(content);
    }
    if ((i & 0x2) != 0) {
      paramSVGPath.setFillRule(fillRule);
    }
  }
  
  public B content(String paramString)
  {
    content = paramString;
    __set |= 0x1;
    return this;
  }
  
  public B fillRule(FillRule paramFillRule)
  {
    fillRule = paramFillRule;
    __set |= 0x2;
    return this;
  }
  
  public SVGPath build()
  {
    SVGPath localSVGPath = new SVGPath();
    applyTo(localSVGPath);
    return localSVGPath;
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.SVGPathBuilder
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableObjectProperty;
import com.sun.javafx.css.StyleableProperty;
import com.sun.javafx.scene.DirtyBits;
import javafx.scene.paint.Paint;

class Shape$1
  extends StyleableObjectProperty<Paint>
{
  Shape$1(Shape paramShape, Paint paramPaint)
  {
    super(paramPaint);
  }
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.SHAPE_FILL);
    Shape.access$000(this$0);
    this$0.impl_strokeOrFillChanged();
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$100();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "fill";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableObjectProperty;
import com.sun.javafx.css.StyleableProperty;
import com.sun.javafx.scene.DirtyBits;
import javafx.scene.paint.Paint;

class Shape$2
  extends StyleableObjectProperty<Paint>
{
  Shape$2(Shape paramShape) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.SHAPE_STROKE);
    Shape.access$000(this$0);
    this$0.impl_strokeOrFillChanged();
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$200();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "stroke";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableBooleanProperty;
import com.sun.javafx.css.StyleableProperty;
import com.sun.javafx.scene.DirtyBits;

class Shape$3
  extends StyleableBooleanProperty
{
  Shape$3(Shape paramShape, boolean paramBoolean)
  {
    super(paramBoolean);
  }
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_SMOOTH);
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$300();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "smooth";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.3
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableObjectProperty;
import com.sun.javafx.css.StyleableProperty;

class Shape$StrokeAttributes$1
  extends StyleableObjectProperty<StrokeType>
{
  Shape$StrokeAttributes$1(Shape.StrokeAttributes paramStrokeAttributes, StrokeType paramStrokeType)
  {
    super(paramStrokeType);
  }
  
  public void invalidated()
  {
    Shape.StrokeAttributes.access$1400(this$1, Shape.StyleableProperties.access$1300());
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$1300();
  }
  
  public Object getBean()
  {
    return this$1.this$0;
  }
  
  public String getName()
  {
    return "strokeType";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.StrokeAttributes.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableDoubleProperty;
import com.sun.javafx.css.StyleableProperty;

class Shape$StrokeAttributes$2
  extends StyleableDoubleProperty
{
  Shape$StrokeAttributes$2(Shape.StrokeAttributes paramStrokeAttributes, double paramDouble)
  {
    super(paramDouble);
  }
  
  public void invalidated()
  {
    Shape.StrokeAttributes.access$1400(this$1, Shape.StyleableProperties.access$1500());
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$1500();
  }
  
  public Object getBean()
  {
    return this$1.this$0;
  }
  
  public String getName()
  {
    return "strokeWidth";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.StrokeAttributes.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableObjectProperty;
import com.sun.javafx.css.StyleableProperty;

class Shape$StrokeAttributes$3
  extends StyleableObjectProperty<StrokeLineJoin>
{
  Shape$StrokeAttributes$3(Shape.StrokeAttributes paramStrokeAttributes, StrokeLineJoin paramStrokeLineJoin)
  {
    super(paramStrokeLineJoin);
  }
  
  public void invalidated()
  {
    Shape.StrokeAttributes.access$1400(this$1, Shape.StyleableProperties.access$1700());
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$1700();
  }
  
  public Object getBean()
  {
    return this$1.this$0;
  }
  
  public String getName()
  {
    return "strokeLineJoin";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.StrokeAttributes.3
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableObjectProperty;
import com.sun.javafx.css.StyleableProperty;

class Shape$StrokeAttributes$4
  extends StyleableObjectProperty<StrokeLineCap>
{
  Shape$StrokeAttributes$4(Shape.StrokeAttributes paramStrokeAttributes, StrokeLineCap paramStrokeLineCap)
  {
    super(paramStrokeLineCap);
  }
  
  public void invalidated()
  {
    Shape.StrokeAttributes.access$1400(this$1, Shape.StyleableProperties.access$1900());
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$1900();
  }
  
  public Object getBean()
  {
    return this$1.this$0;
  }
  
  public String getName()
  {
    return "strokeLineCap";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.StrokeAttributes.4
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableDoubleProperty;
import com.sun.javafx.css.StyleableProperty;

class Shape$StrokeAttributes$5
  extends StyleableDoubleProperty
{
  Shape$StrokeAttributes$5(Shape.StrokeAttributes paramStrokeAttributes, double paramDouble)
  {
    super(paramDouble);
  }
  
  public void invalidated()
  {
    Shape.StrokeAttributes.access$1400(this$1, Shape.StyleableProperties.access$2000());
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$2000();
  }
  
  public Object getBean()
  {
    return this$1.this$0;
  }
  
  public String getName()
  {
    return "strokeMiterLimit";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.StrokeAttributes.5
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableDoubleProperty;
import com.sun.javafx.css.StyleableProperty;

class Shape$StrokeAttributes$6
  extends StyleableDoubleProperty
{
  Shape$StrokeAttributes$6(Shape.StrokeAttributes paramStrokeAttributes, double paramDouble)
  {
    super(paramDouble);
  }
  
  public void invalidated()
  {
    Shape.StrokeAttributes.access$1400(this$1, Shape.StyleableProperties.access$2100());
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$2100();
  }
  
  public Object getBean()
  {
    return this$1.this$0;
  }
  
  public String getName()
  {
    return "strokeDashOffset";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.StrokeAttributes.6
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.collections.TrackableObservableList;
import javafx.collections.ListChangeListener.Change;

class Shape$StrokeAttributes$7
  extends TrackableObservableList<Double>
{
  Shape$StrokeAttributes$7(Shape.StrokeAttributes paramStrokeAttributes) {}
  
  protected void onChanged(ListChangeListener.Change<Double> paramChange)
  {
    Shape.StrokeAttributes.access$1400(this$1, Shape.StyleableProperties.access$2200());
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.StrokeAttributes.7
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.css.StyleableObjectProperty;
import com.sun.javafx.css.StyleableProperty;
import java.util.List;
import javafx.collections.ObservableList;

class Shape$StrokeAttributes$8
  extends StyleableObjectProperty<Double[]>
{
  Shape$StrokeAttributes$8(Shape.StrokeAttributes paramStrokeAttributes) {}
  
  public void set(Double[] paramArrayOfDouble)
  {
    ObservableList localObservableList = this$1.dashArrayProperty();
    localObservableList.clear();
    if ((paramArrayOfDouble != null) && (paramArrayOfDouble.length > 0)) {
      localObservableList.addAll(paramArrayOfDouble);
    }
  }
  
  public Double[] get()
  {
    ObservableList localObservableList = this$1.dashArrayProperty();
    return (Double[])localObservableList.toArray(new Double[localObservableList.size()]);
  }
  
  public Object getBean()
  {
    return this$1.this$0;
  }
  
  public String getName()
  {
    return "cssDashArray";
  }
  
  public StyleableProperty getStyleableProperty()
  {
    return Shape.StyleableProperties.access$2200();
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Shape.StrokeAttributes.8
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.scene.shape;

import com.sun.javafx.collections.TrackableObservableList;
import com.sun.javafx.css.StyleableDoubleProperty;
import com.sun.javafx.css.StyleableObjectProperty;
import com.sun.javafx.css.StyleableProperty;
import com.sun.javafx.scene.DirtyBits;
import java.util.List;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.ObjectProperty;
import javafx.collections.ListChangeListener.Change;
import javafx.collections.ObservableList;

final class Shape$StrokeAttributes
{
  private ObjectProperty<StrokeType> type;
  private DoubleProperty width;
  private ObjectProperty<StrokeLineJoin> lineJoin;
  private ObjectProperty<StrokeLineCap> lineCap;
  private DoubleProperty miterLimit;
  private DoubleProperty dashOffset;
  private ObservableList<Double> dashArray;
  private ObjectProperty<Double[]> cssDashArray = null;
  
  private Shape$StrokeAttributes(Shape paramShape) {}
  
  public final StrokeType getType()
  {
    return type == null ? Shape.access$1200() : (StrokeType)type.get();
  }
  
  public final ObjectProperty<StrokeType> typeProperty()
  {
    if (type == null) {
      type = new StyleableObjectProperty(Shape.access$1200())
      {
        public void invalidated()
        {
          Shape.StrokeAttributes.this.invalidated(Shape.StyleableProperties.access$1300());
        }
        
        public StyleableProperty getStyleableProperty()
        {
          return Shape.StyleableProperties.access$1300();
        }
        
        public Object getBean()
        {
          return this$0;
        }
        
        public String getName()
        {
          return "strokeType";
        }
      };
    }
    return type;
  }
  
  public double getWidth()
  {
    return width == null ? 1.0D : width.get();
  }
  
  public final DoubleProperty widthProperty()
  {
    if (width == null) {
      width = new StyleableDoubleProperty(1.0D)
      {
        public void invalidated()
        {
          Shape.StrokeAttributes.this.invalidated(Shape.StyleableProperties.access$1500());
        }
        
        public StyleableProperty getStyleableProperty()
        {
          return Shape.StyleableProperties.access$1500();
        }
        
        public Object getBean()
        {
          return this$0;
        }
        
        public String getName()
        {
          return "strokeWidth";
        }
      };
    }
    return width;
  }
  
  public StrokeLineJoin getLineJoin()
  {
    return lineJoin == null ? Shape.access$1600() : (StrokeLineJoin)lineJoin.get();
  }
  
  public final ObjectProperty<StrokeLineJoin> lineJoinProperty()
  {
    if (lineJoin == null) {
      lineJoin = new StyleableObjectProperty(Shape.access$1600())
      {
        public void invalidated()
        {
          Shape.StrokeAttributes.this.invalidated(Shape.StyleableProperties.access$1700());
        }
        
        public StyleableProperty getStyleableProperty()
        {
          return Shape.StyleableProperties.access$1700();
        }
        
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd