jfxrt

(str3))
    {
      localCycleMethod = CycleMethod.REFLECT;
      localParser.shift();
    }
    double d1 = 0.0D;
    if (!proportional)
    {
      double d2 = value - value;
      double d3 = value - value;
      d1 = Math.sqrt(d2 * d2 + d3 * d3);
    }
    Stop[] arrayOfStop = localParser.parseStops(proportional, d1);
    return new LinearGradient(value, value, value, value, proportional, localCycleMethod, arrayOfStop);
  }
}

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

import java.util.Arrays;
import java.util.List;
import javafx.util.Builder;

public final class LinearGradientBuilder
  implements Builder<LinearGradient>
{
  private CycleMethod cycleMethod;
  private double endX = 1.0D;
  private double endY = 1.0D;
  private boolean proportional = true;
  private double startX;
  private double startY;
  private List<Stop> stops;
  
  public static LinearGradientBuilder create()
  {
    return new LinearGradientBuilder();
  }
  
  public LinearGradientBuilder cycleMethod(CycleMethod paramCycleMethod)
  {
    cycleMethod = paramCycleMethod;
    return this;
  }
  
  public LinearGradientBuilder endX(double paramDouble)
  {
    endX = paramDouble;
    return this;
  }
  
  public LinearGradientBuilder endY(double paramDouble)
  {
    endY = paramDouble;
    return this;
  }
  
  public LinearGradientBuilder proportional(boolean paramBoolean)
  {
    proportional = paramBoolean;
    return this;
  }
  
  public LinearGradientBuilder startX(double paramDouble)
  {
    startX = paramDouble;
    return this;
  }
  
  public LinearGradientBuilder startY(double paramDouble)
  {
    startY = paramDouble;
    return this;
  }
  
  public LinearGradientBuilder stops(List<Stop> paramList)
  {
    stops = paramList;
    return this;
  }
  
  public LinearGradientBuilder stops(Stop... paramVarArgs)
  {
    return stops(Arrays.asList(paramVarArgs));
  }
  
  public LinearGradient build()
  {
    LinearGradient localLinearGradient = new LinearGradient(startX, startY, endX, endY, proportional, cycleMethod, stops);
    return localLinearGradient;
  }
}

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

public abstract class Paint
{
  @Deprecated
  public abstract Object impl_getPlatformPaint();
  
  public static Paint valueOf(String paramString)
  {
    if (paramString == null) {
      throw new NullPointerException("paint must be specified");
    }
    if (paramString.startsWith("linear-gradient(")) {
      return LinearGradient.valueOf(paramString);
    }
    if (paramString.startsWith("radial-gradient(")) {
      return RadialGradient.valueOf(paramString);
    }
    return Color.valueOf(paramString);
  }
}

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

class RadialGradient$1 {}

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

import com.sun.javafx.scene.paint.GradientUtils;
import com.sun.javafx.scene.paint.GradientUtils.Parser;
import com.sun.javafx.scene.paint.GradientUtils.Point;
import com.sun.javafx.tk.Toolkit;
import java.util.Iterator;
import java.util.List;

public final class RadialGradient
  extends Paint
{
  private double focusAngle;
  private double focusDistance;
  private double centerX;
  private double centerY;
  private double radius;
  private boolean proportional;
  private CycleMethod cycleMethod;
  private List<Stop> stops;
  private Object platformPaint;
  private int hash;
  
  public final double getFocusAngle()
  {
    return focusAngle;
  }
  
  public final double getFocusDistance()
  {
    return focusDistance;
  }
  
  public final double getCenterX()
  {
    return centerX;
  }
  
  public final double getCenterY()
  {
    return centerY;
  }
  
  public final double getRadius()
  {
    return radius;
  }
  
  public final boolean isProportional()
  {
    return proportional;
  }
  
  public final CycleMethod getCycleMethod()
  {
    return cycleMethod;
  }
  
  public final List<Stop> getStops()
  {
    return stops;
  }
  
  public RadialGradient(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, double paramDouble5, boolean paramBoolean, CycleMethod paramCycleMethod, Stop... paramVarArgs)
  {
    focusAngle = paramDouble1;
    focusDistance = paramDouble2;
    centerX = paramDouble3;
    centerY = paramDouble4;
    radius = paramDouble5;
    proportional = paramBoolean;
    cycleMethod = (paramCycleMethod == null ? CycleMethod.NO_CYCLE : paramCycleMethod);
    stops = Stop.normalize(paramVarArgs);
  }
  
  public RadialGradient(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, double paramDouble5, boolean paramBoolean, CycleMethod paramCycleMethod, List<Stop> paramList)
  {
    focusAngle = paramDouble1;
    focusDistance = paramDouble2;
    centerX = paramDouble3;
    centerY = paramDouble4;
    radius = paramDouble5;
    proportional = paramBoolean;
    cycleMethod = (paramCycleMethod == null ? CycleMethod.NO_CYCLE : paramCycleMethod);
    stops = Stop.normalize(paramList);
  }
  
  @Deprecated
  public Object impl_getPlatformPaint()
  {
    if (platformPaint == null) {
      platformPaint = Toolkit.getToolkit().getPaint(this);
    }
    return platformPaint;
  }
  
  public boolean equals(Object paramObject)
  {
    if (paramObject == this) {
      return true;
    }
    if ((paramObject instanceof RadialGradient))
    {
      RadialGradient localRadialGradient = (RadialGradient)paramObject;
      if ((focusAngle != focusAngle) || (focusDistance != focusDistance) || (centerX != centerX) || (centerY != centerY) || (radius != radius) || (proportional != proportional) || (cycleMethod != cycleMethod)) {
        return false;
      }
      return stops.equals(stops);
    }
    return false;
  }
  
  public int hashCode()
  {
    if (hash == 0)
    {
      long l = 17L;
      l = 37L * l + Double.doubleToLongBits(focusAngle);
      l = 37L * l + Double.doubleToLongBits(focusDistance);
      l = 37L * l + Double.doubleToLongBits(centerX);
      l = 37L * l + Double.doubleToLongBits(centerY);
      l = 37L * l + Double.doubleToLongBits(radius);
      l = 37L * l + (proportional ? '?' : '?');
      l = 37L * l + cycleMethod.hashCode();
      Iterator localIterator = stops.iterator();
      while (localIterator.hasNext())
      {
        Stop localStop = (Stop)localIterator.next();
        l = 37L * l + localStop.hashCode();
      }
      hash = ((int)(l ^ l >> 32));
    }
    return hash;
  }
  
  public String toString()
  {
    StringBuilder localStringBuilder = new StringBuilder("radial-gradient(focus-angle ").append(focusAngle).append("deg, focus-distance ").append(focusDistance * 100.0D).append("% , center ").append(GradientUtils.lengthToString(centerX, proportional)).append(" ").append(GradientUtils.lengthToString(centerY, proportional)).append(", radius ").append(GradientUtils.lengthToString(radius, proportional)).append(", ");
    switch (cycleMethod)
    {
    case REFLECT: 
      localStringBuilder.append("reflect").append(", ");
      break;
    case REPEAT: 
      localStringBuilder.append("repeat").append(", ");
    }
    Iterator localIterator = stops.iterator();
    while (localIterator.hasNext())
    {
      Stop localStop = (Stop)localIterator.next();
      localStringBuilder.append(localStop).append(", ");
    }
    localStringBuilder.delete(localStringBuilder.length() - 2, localStringBuilder.length());
    localStringBuilder.append(")");
    return localStringBuilder.toString();
  }
  
  public static RadialGradient valueOf(String paramString)
  {
    if (paramString == null) {
      throw new NullPointerException("gradient must be specified");
    }
    String str1 = "radial-gradient(";
    String str2 = ")";
    if (paramString.startsWith(str1))
    {
      if (!paramString.endsWith(str2)) {
        throw new IllegalArgumentException("Invalid gradient specification, must end with \"" + str2 + '"');
      }
      paramString = paramString.substring(str1.length(), paramString.length() - str2.length());
    }
    GradientUtils.Parser localParser = new GradientUtils.Parser(paramString);
    if (localParser.getSize() < 2) {
      throw new IllegalArgumentException("Invalid gradient specification");
    }
    double d1 = 0.0D;
    double d2 = 0.0D;
    String[] arrayOfString = localParser.splitCurrentToken();
    if ("focus-angle".equals(arrayOfString[0]))
    {
      GradientUtils.Parser.checkNumberOfArguments(arrayOfString, 1);
      d1 = GradientUtils.Parser.parseAngle(arrayOfString[1]);
      localParser.shift();
    }
    arrayOfString = localParser.splitCurrentToken();
    if ("focus-distance".equals(arrayOfString[0]))
    {
      GradientUtils.Parser.checkNumberOfArguments(arrayOfString, 1);
      d2 = GradientUtils.Parser.parsePercentage(arrayOfString[1]);
      localParser.shift();
    }
    arrayOfString = localParser.splitCurrentToken();
    GradientUtils.Point localPoint1;
    GradientUtils.Point localPoint2;
    if ("center".equals(arrayOfString[0]))
    {
      GradientUtils.Parser.checkNumberOfArguments(arrayOfString, 2);
      localPoint1 = localParser.parsePoint(arrayOfString[1]);
      localPoint2 = localParser.parsePoint(arrayOfString[2]);
      localParser.shift();
    }
    else
    {
      localPoint1 = GradientUtils.Point.MIN;
      localPoint2 = GradientUtils.Point.MIN;
    }
    arrayOfString = localParser.splitCurrentToken();
    GradientUtils.Point localPoint3;
    if ("radius".equals(arrayOfString[0]))
    {
      GradientUtils.Parser.checkNumberOfArguments(arrayOfString, 1);
      localPoint3 = localParser.parsePoint(arrayOfString[1]);
      localParser.shift();
    }
    else
    {
      throw new IllegalArgumentException("Invalid gradient specification: radius must be specified");
    }
    CycleMethod localCycleMethod = CycleMethod.NO_CYCLE;
    String str3 = localParser.getCurrentToken();
    if ("repeat".equals(str3))
    {
      localCycleMethod = CycleMethod.REPEAT;
      localParser.shift();
    }
    else if ("reflect".equals(str3))
    {
      localCycleMethod = CycleMethod.REFLECT;
      localParser.shift();
    }
    Stop[] arrayOfStop = localParser.parseStops(proportional, value);
    return new RadialGradient(d1, d2, value, value, value, proportional, localCycleMethod, arrayOfStop);
  }
}

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

import java.util.Arrays;
import java.util.List;
import javafx.util.Builder;

public final class RadialGradientBuilder
  implements Builder<RadialGradient>
{
  private double centerX;
  private double centerY;
  private CycleMethod cycleMethod;
  private double focusAngle;
  private double focusDistance;
  private boolean proportional = true;
  private double radius = 1.0D;
  private List<Stop> stops;
  
  public static RadialGradientBuilder create()
  {
    return new RadialGradientBuilder();
  }
  
  public RadialGradientBuilder centerX(double paramDouble)
  {
    centerX = paramDouble;
    return this;
  }
  
  public RadialGradientBuilder centerY(double paramDouble)
  {
    centerY = paramDouble;
    return this;
  }
  
  public RadialGradientBuilder cycleMethod(CycleMethod paramCycleMethod)
  {
    cycleMethod = paramCycleMethod;
    return this;
  }
  
  public RadialGradientBuilder focusAngle(double paramDouble)
  {
    focusAngle = paramDouble;
    return this;
  }
  
  public RadialGradientBuilder focusDistance(double paramDouble)
  {
    focusDistance = paramDouble;
    return this;
  }
  
  public RadialGradientBuilder proportional(boolean paramBoolean)
  {
    proportional = paramBoolean;
    return this;
  }
  
  public RadialGradientBuilder radius(double paramDouble)
  {
    radius = paramDouble;
    return this;
  }
  
  public RadialGradientBuilder stops(List<Stop> paramList)
  {
    stops = paramList;
    return this;
  }
  
  public RadialGradientBuilder stops(Stop... paramVarArgs)
  {
    return stops(Arrays.asList(paramVarArgs));
  }
  
  public RadialGradient build()
  {
    RadialGradient localRadialGradient = new RadialGradient(focusAngle, focusDistance, centerX, centerY, radius, proportional, cycleMethod, stops);
    return localRadialGradient;
  }
}

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

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;

public final class Stop
{
  static final List<Stop> NO_STOPS = Collections.unmodifiableList(Arrays.asList(new Stop[] { new Stop(0.0D, Color.TRANSPARENT), new Stop(1.0D, Color.TRANSPARENT) }));
  private double offset;
  private Color color;
  private int hash = 0;
  
  static List<Stop> normalize(Stop[] paramArrayOfStop)
  {
    List localList = paramArrayOfStop == null ? null : Arrays.asList(paramArrayOfStop);
    return normalize(localList);
  }
  
  static List<Stop> normalize(List<Stop> paramList)
  {
    if (paramList == null) {
      return NO_STOPS;
    }
    Object localObject1 = null;
    Object localObject2 = null;
    ArrayList localArrayList = new ArrayList(paramList.size());
    Object localObject3 = paramList.iterator();
    while (((Iterator)localObject3).hasNext())
    {
      Stop localStop1 = (Stop)((Iterator)localObject3).next();
      if ((localStop1 != null) && (localStop1.getColor() != null))
      {
        double d = localStop1.getOffset();
        if (d <= 0.0D)
        {
          if ((localObject1 == null) || (d >= ((Stop)localObject1).getOffset())) {
            localObject1 = localStop1;
          }
        }
        else if (d >= 1.0D)
        {
          if ((localObject2 == null) || (d < ((Stop)localObject2).getOffset())) {
            localObject2 = localStop1;
          }
        }
        else if (d == d)
        {
          for (int i = localArrayList.size() - 1; i >= 0; i--)
          {
            Stop localStop2 = (Stop)localArrayList.get(i);
            if (localStop2.getOffset() <= d)
            {
              if (localStop2.getOffset() == d)
              {
                if ((i > 0) && (((Stop)localArrayList.get(i - 1)).getOffset() == d)) {
                  localArrayList.set(i, localStop1);
                } else {
                  localArrayList.add(i + 1, localStop1);
                }
              }
              else {
                localArrayList.add(i + 1, localStop1);
              }
              localStop1 = null;
              break;
            }
          }
          if (localStop1 != null) {
            localArrayList.add(0, localStop1);
          }
        }
      }
    }
    if (localObject1 == null)
    {
      if (localArrayList.isEmpty())
      {
        if (localObject2 == null) {
          return NO_STOPS;
        }
        localObject3 = ((Stop)localObject2).getColor();
      }
      else
      {
        localObject3 = ((Stop)localArrayList.get(0)).getColor();
        if ((localObject2 == null) && (localArrayList.size() == 1)) {
          localArrayList.clear();
        }
      }
      localObject1 = new Stop(0.0D, (Color)localObject3);
    }
    else if (((Stop)localObject1).getOffset() < 0.0D)
    {
      localObject1 = new Stop(0.0D, ((Stop)localObject1).getColor());
    }
    localArrayList.add(0, localObject1);
    if (localObject2 == null) {
      localObject2 = new Stop(1.0D, ((Stop)localArrayList.get(localArrayList.size() - 1)).getColor());
    } else if (((Stop)localObject2).getOffset() > 1.0D) {
      localObject2 = new Stop(1.0D, ((Stop)localObject2).getColor());
    }
    localArrayList.add(localObject2);
    return Collections.unmodifiableList(localArrayList);
  }
  
  public final double getOffset()
  {
    return offset;
  }
  
  public final Color getColor()
  {
    return color;
  }
  
  public Stop(double paramDouble, Color paramColor)
  {
    offset = paramDouble;
    color = paramColor;
  }
  
  public boolean equals(Object paramObject)
  {
    if (paramObject == null) {
      return false;
    }
    if (paramObject == this) {
      return true;
    }
    if ((paramObject instanceof Stop))
    {
      Stop localStop = (Stop)paramObject;
      return (offset == offset) && (color == null ? color == null : color.equals(color));
    }
    return false;
  }
  
  public int hashCode()
  {
    if (hash == 0)
    {
      long l = 17L;
      l = 37L * l + Double.doubleToLongBits(offset);
      l = 37L * l + color.hashCode();
      hash = ((int)(l ^ l >> 32));
    }
    return hash;
  }
  
  public String toString()
  {
    return color + " " + offset * 100.0D + "%";
  }
}

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

import javafx.util.Builder;

public final class StopBuilder
  implements Builder<Stop>
{
  private Color color = Color.BLACK;
  private double offset;
  
  public static StopBuilder create()
  {
    return new StopBuilder();
  }
  
  public StopBuilder color(Color paramColor)
  {
    color = paramColor;
    return this;
  }
  
  public StopBuilder offset(double paramDouble)
  {
    offset = paramDouble;
    return this;
  }
  
  public Stop build()
  {
    Stop localStop = new Stop(offset, color);
    return localStop;
  }
}

/* Location:
 * Qualified Name:     javafx.scene.paint.StopBuilder
 * 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 Arc$1
  extends DoublePropertyBase
{
  Arc$1(Arc paramArc) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Arc.access$000(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "centerX";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Arc.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 Arc$2
  extends DoublePropertyBase
{
  Arc$2(Arc paramArc) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Arc.access$100(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "centerY";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Arc.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 Arc$3
  extends DoublePropertyBase
{
  Arc$3(Arc paramArc) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Arc.access$200(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "radiusX";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Arc.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 Arc$4
  extends DoublePropertyBase
{
  Arc$4(Arc paramArc) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Arc.access$300(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "radiusY";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Arc.4
 * 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 Arc$5
  extends DoublePropertyBase
{
  Arc$5(Arc paramArc) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Arc.access$400(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "startAngle";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Arc.5
 * 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 Arc$6
  extends DoublePropertyBase
{
  Arc$6(Arc paramArc) {}
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Arc.access$500(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "length";
  }
}

/* Location:
 * Qualified Name:     javafx.scene.shape.Arc.6
 * 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 Arc$7
  extends ObjectPropertyBase<ArcType>
{
  Arc$7(Arc paramArc, ArcType paramArcType)
  {
    super(paramArcType);
  }
  
  public void invalidated()
  {
    this$0.impl_markDirty(DirtyBits.NODE_GEOMETRY);
    Arc.access$600(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "type";
  }
}

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

class Arc$8 {}

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

import com.sun.javafx.geom.Arc2D;
import com.sun.javafx.scene.DirtyBits;
import com.sun.javafx.sg.PGArc;
import com.sun.javafx.sg.PGArc.ArcType;
import com.sun.javafx.sg.PGNode;
import com.sun.javafx.tk.Toolkit;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.DoublePropertyBase;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.ObjectPropertyBase;

public class Arc
  extends Shape
{
  private final Arc2D shape = new Arc2D();
  private DoubleProperty centerX;
  private DoubleProperty centerY;
  private DoubleProperty radiusX = new DoublePropertyBase()
  {
    public void invalidated()
    {
      impl_markDirty(DirtyBits.NODE_GEOMETRY);
      impl_geomChanged();
    }
    
    public Object getBean()
    {
      return Arc.this;
    }
    
    public String getName()
    {
      return "radiusX";
    }
  };
  private DoubleProperty radiusY = new DoublePropertyBase()
  {
    public void invalidated()
    {
      impl_markDirty(DirtyBits.NODE_GEOMETRY);
      impl_geomChanged();
    }
    
    public Object getBean()
    {
      return Arc.this;
    }
    
    public String getName()
    {
      return "radiusY";
    }
  };
  private DoubleProperty startAngle;
  private DoubleProperty length = new DoublePropertyBase()
  {
    public void invalidated()
    {
      impl_markDirty(DirtyBits.NODE_GEOMETRY);
      impl_geomChanged();
    }
    
    public Object getBean()
    {
      return Arc.this;
    }
    
    public String getName()
    {
      return "length";
    }
  };
  private ObjectProperty<ArcType> type;
  
  static PGArc.ArcType toPGArcType(ArcType paramArcType)
  {
    switch (paramArcType)
    {
    case OPEN: 
      return PGArc.ArcType.OPEN;
    case CHORD: 
      return PGArc.ArcType.CHORD;
    }
    return PGArc.ArcType.ROUND;
  }
  
  public Arc() {}
  
  public Arc(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, double paramDouble5, double paramDouble6)
  {
    setCenterX(paramDouble1);
    setCenterY(paramDouble2);
    setRadiusX(paramDouble3);
    setRadiusY(paramDouble4);
    setStartAngle(paramDouble5);
    setLength(paramDouble6);
  }
  
  public final void setCenterX(double paramDouble)
  {
    if ((centerX != null) || (paramDouble != 0.0D)) {
      centerXProperty().set(paramDouble);
    }
  }
  
  public final double getCenterX()
  {
    return centerX == null ? 0.0D : centerX.get();
  }
  
  public final DoubleProperty centerXProperty()
  {
    if (centerX == null) {
      centerX = new DoublePropertyBase()
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_GEOMETRY);
          impl_geomChanged();
        }
        
        public Object getBean()
        {
          return Arc.this;
        }
        
        public String getName()
        {
          return "centerX";
        }
      };
    }
    return centerX;
  }
  
  public final void setCenterY(double paramDouble)
  {
    if ((centerY != null) || (paramDouble != 0.0D)) {
      centerYProperty().set(paramDouble);
    }
  }
  
  public final double getCenterY()
  {
    return centerY == null ? 0.0D : centerY.get();
  }
  
  public final DoubleProperty centerYProperty()
  {
    if (centerY == null) {
      centerY = new DoublePropertyBase()
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_GEOMETRY);
          impl_geomChanged();
        }
        
        public Object getBean()
        {
          return Arc.this;
        }
        
        public String getName()
        {
          return "centerY";
        }
      };
    }
    return centerY;
  }
  
  public final void setRadiusX(double paramDouble)
  {
    radiusX.set(paramDouble);
  }
  
  public final double getRadiusX()
  {
    return radiusX.get();
  }
  
  public final DoubleProperty radiusXProperty()
  {
    return radiusX;
  }
  
  public final void setRadiusY(double paramDouble)
  {
    radiusY.set(paramDouble);
  }
  
  public final double getRadiusY()
  {
    return radiusY.get();
  }
  
  public final DoubleProperty radiusYProperty()
  {
    return radiusY;
  }
  
  public final void setStartAngle(double paramDouble)
  {
    if ((startAngle != null) || (paramDouble != 0.0D)) {
      startAngleProperty().set(paramDouble);
    }
  }
  
  public final double getStartAngle()
  {
    return startAngle == null ? 0.0D : startAngle.get();
  }
  
  public final DoubleProperty startAngleProperty()
  {
    if (startAngle == null) {
      startAngle = new DoublePropertyBase()
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_GEOMETRY);
          impl_geomChanged();
        }
        
        public Object getBean()
        {
          return Arc.this;
        }
        
        public String getName()
        {
          return "startAngle";
        }
      };
    }
    return startAngle;
  }
  
  public final void setLength(double paramDouble)
  {
    length.set(paramDouble);
  }
  
  public final double getLength()
  {
    return length.get();
  }
  
  public final DoubleProperty lengthProperty()
  {
    return length;
  }
  
  public final void setType(ArcType paramArcType)
  {
    if ((type != null) || (paramArcType != ArcType.OPEN)) {
      typeProperty().set(paramArcType);
    }
  }
  
  public final ArcType getType()
  {
    return type == null ? ArcType.OPEN : (ArcType)type.get();
  }
  
  public final ObjectProperty<ArcType> typeProperty()
  {
    if (type == null) {
      type = new ObjectPropertyBase(ArcType.OPEN)
      {
        public void invalidated()
        {
          impl_markDirty(DirtyBits.NODE_GEOMETRY);
          impl_geomChanged();
        }
        
        public Object getBean()
        {
          return Arc.this;
        }
        
        public String getName()
        {
          return "type";
        }
      };
    }
    return type;
  }
  
  @Deprecated
  protected PGNode impl_createPGNode()
  {
    return Toolkit.getToolkit().createPGArc();
  }
  
  PGArc getPGArc()
  {
    return (PGArc)impl_getPGNode();
  }
  
  @Deprecated
  public Arc2D impl_configShape()
  {
    int i;
    switch (getType())
    {
    case OPEN: 
      i = 0;
      break;
    case CHORD: 
      i = 1;
      break;
    default: 
      i = 2;
    }
    shape.setArc((float)(getCenterX() - getRadiusX()), (float)(getCenterY() - getRadiusY()), (float)(getRadiusX() * 2.0D), (float)(getRadiusY() * 2.0D), (float)getStartAngle(), (float)getLength(), i);
    return shape;
  }
  
  @Deprecated
  public void impl_updatePG()
  {
    super.impl_updatePG();
    if (impl_isDirty(DirtyBits.NODE_GEOMETRY))
    {
      PGArc localPGArc = getPGArc();
      localPGArc.updateArc((float)getCenterX(), (float)getCenterY(), (float)getRadiusX(), (float)getRadiusY(), (float)getStartAngle(), (float)getLength(), toPGArcType(getType()));
    }
  }
}

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

import javafx.util.Builder;

public class ArcBuilder<B extends ArcBuilder<B>>
  extends ShapeBuilder<B>
  implements Builder<Arc>
{
  private int __set;
  private double centerX;
  private double centerY;
  private double length;
  private double radiusX;
  private double radiusY;
  private double startAngle;
  private ArcType type;
  
  public static ArcBuilder<?> create()
  {
    return new ArcBuilder();
  }
  
  public void applyTo(Arc paramArc)
  {
    super.applyTo(paramArc);
    int i = __set;
    if ((i & 0x1) != 0) {
      paramArc.setCenterX(centerX);
    }
    if ((i & 0x2) != 0) {
      paramArc.setCenterY(centerY);
    }
    if ((i & 0x4) != 0) {
      paramArc.setLength(length);
    }
    if ((i & 0x8) != 0) {
      paramArc.setRadiusX(radiusX);
    }
    if ((i & 0x10) != 0) {
      paramArc.setRadiusY(radiusY);
    }
    if ((i & 0x20) != 0) {
      paramArc.setStartAngle(startAngle);
    }
    if ((i & 0x40) != 0) {
      paramArc.setType(type);
    }
  }
  
  public B centerX(double paramDouble)
  {
    centerX = paramDouble;
    __set |= 0x1;
    return this;
  }
  
  public B centerY(double paramDouble)
  {
    centerY = paramDouble;
    __set |= 0x2;
    return this;
  }
  
  public B length(double paramDouble)
  {
    length = paramDouble;
    __set |= 0x4;
    return this;
  }
  
  public B radiusX(double paramDouble)
  {
    radiusX = paramDouble;
    __set |= 0x8;
    return this;
  }
  
  public B radiusY(double paramDouble)
  {
    radiusY = paramDouble;
    __set |= 0x10;
    return this;
  }
  
  public B startAngle(double paramDouble)
  {
    startAngle = paramDouble;
    __set |= 0x20;
    return this;
  }
  
  public B type(ArcType paramArcType)
  {
    type = paramArcType;
    __set |= 0x40;
    return this;
  }
  
  public Arc build()
  {
    Arc localArc = new Arc();
    applyTo(localArc);
    return localArc;
  }
}

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

import javafx.beans.property.DoublePropertyBase;

class ArcTo$1
  extends DoublePropertyBase
{
  ArcTo$1(ArcTo paramArcTo) {}
  
  public void invalidated()
  {
    this$0.u();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "radiusX";
  }
}

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

import javafx.beans.property.DoublePropertyBase;

class ArcTo$2
  extends DoublePropertyBase
{
  ArcTo$2(ArcTo paramArcTo) {}
  
  public void invalidated()
  {
    this$0.u();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "radiusY";
  }
}

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

import javafx.beans.property.DoublePropertyBase;

class ArcTo$3
  extends DoublePropertyBase
{
  ArcTo$3(ArcTo paramArcTo) {}
  
  public void invalidated()
  {
    this$0.u();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "XAxisRotation";
  }
}

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

import javafx.beans.property.BooleanPropertyBase;

class ArcTo$4
  extends BooleanPropertyBase
{
  ArcTo$4(ArcTo paramArcTo) {}
  
  public void invalidated()
  {
    this$0.u();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "largeArcFlag";
  }
}

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

import javafx.beans.property.BooleanPropertyBase;

class ArcTo$5
  extends BooleanPropertyBase
{
  ArcTo$5(ArcTo paramArcTo) {}
  
  public void invalidated()
  {
    this$0.u();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "sweepFlag";
  }
}

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

import javafx.beans.property.DoublePropertyBase;

class ArcTo$6
  extends DoublePropertyBase
{
  ArcTo$6(ArcTo paramArcTo) {}
  
  public void invalidated()
  {
    this$0.u();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "x";
  }
}

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

import javafx.beans.property.DoublePropertyBase;

class ArcTo$7
  extends DoublePropertyBase
{
  ArcTo$7(ArcTo paramArcTo) {}
  
  public void invalidated()
  {
    this$0.u();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "y";
  }
}

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

import com.sun.javafx.geom.Arc2D;
import com.sun.javafx.geom.Path2D;
import com.sun.javafx.geom.PathIterator;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.javafx.sg.PGPath;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.BooleanPropertyBase;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.DoublePropertyBase;

public class ArcTo
  extends PathElement
{
  private DoubleProperty radiusX = new DoublePropertyBase()
  {
    public void invalidated()
    {
      u();
    }
    
    public Object getBean()
    {
      return ArcTo.this;
    }
    
    public String getName()
    {
      return "radiusX";
    }
  };
  private DoubleProperty radiusY = new DoublePropertyBase()
  {
    public void invalidated()
    {
      u();
    }
    
    public Object getBean()
    {
      return ArcTo.this;
    }
    
    public String getName()
    {
      return "radiusY";
    }
  };
  private DoubleProperty xAxisRotation;
  private BooleanProperty largeArcFlag;
  private BooleanProperty sweepFlag;
  private DoubleProperty x;
  private DoubleProperty y;
  
  public ArcTo() {}
  
  public ArcTo(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, double paramDouble5, boolean paramBoolean1, boolean paramBoolean2)
  {
    setRadiusX(paramDouble1);
    setRadiusY(paramDouble2);
    setXAxisRotation(paramDouble3);
    setX(paramDouble4);
    setY(paramDouble5);
    setLargeArcFlag(paramBoolean1);
    setSweepFlag(paramBoolean2);
  }
  
  public final void setRadiusX(double paramDouble)
  {
    radiusX.set(paramDouble);
  }
  
  public final double getRadiusX()
  {
    return radiusX.get();
  }
  
  public final DoubleProperty radiusXProperty()
  {
    return radiusX;
  }
  
  public final void setRadiusY(double paramDouble)
  {
    radiusY.set(paramDouble);
  }
  
  public final double getRadiusY()
  {
    return radiusY.get();
  }
  
  public final DoubleProperty radiusYProperty()
  {
    return radiusY;
  }
  
  public final void setXAxisRotation(double paramDouble)
  {
    if ((xAxisRotation != null) || (paramDouble != 0.0D)) {
      XAxisRotationProperty().set(paramDouble);
    }
  }
  
  public final double getXAxisRotation()
  {
    return xAxisRotation == null ? 0.0D : xAxisRotation.get();
  }
  
  public final DoubleProperty XAxisRotationProperty()
  {
    if (xAxisRotation == null) {
      xAxisRotation = new DoublePropertyBase()
      {
        public void invalidated()
        {
          u();
        }
        
        public Object getBean()
        {
          return ArcTo.this;
        }
        
        public String getName()
        {
          return "XAxisRotation";
        }
      };
    }
    return xAxisRotation;
  }
  
  public final void setLargeArcFlag(boolean paramBoolean)
  {
    if ((largeArcFlag != null) || (paramBoolean)) {
      largeArcFlagProperty().set(paramBoolean);
    }
  }
  
  public final boolean isLargeArcFlag()
  {
    return largeArcFlag == null ? false : largeArcFlag.get();
  }
  
  public final BooleanProperty largeArcFlagProperty()
  {
    if (largeArcFlag == null) {
      largeArcFlag = new BooleanPropertyBase()
      {
        public void invalidated()
        {
          u();
        }
        
        public Object getBean()
        {
          return ArcTo.this;
        }
        
        public String getName()
        {
          return "largeArcFlag";
        }
      };
    }
    return largeArcFlag;
  }
  
  public final void setSweepFlag(boolean paramBoolean)
  {
    if ((sweepFlag != null) || (paramBoolean)) {
      sweepFlagProperty().set(paramBoolean);
    }
  }
  
  public final boolean isSweepFlag()
  {
    return sweepFlag == null ? false : sweepFlag.get();
  }
  
  public final BooleanProperty sweepFlagProperty()
  {
    if (sweepFlag == null) {
      sweepFlag = new BooleanPropertyBase()
      {
        public void invalidated()
        {
          u();
        }
        
        public Object getBean()
        {
          return ArcTo.this;
        }
        
        public String getName()
        {
          return "sweepFlag";
        }
      };
    }
    return sweepFlag;
  }
  
  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()
        {
          u();
        }
        
        public Object getBean()
        {
          return ArcTo.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()
        {
          u();
        }
        
        public Object getBean()
        {
          return ArcTo.this;
        }
        
        public String getName()
        {
          return "y";
        }
      };
    }
    return y;
  }
  
  void addTo(PGPath paramPGPath)
  {
    addArcTo(paramPGPath, null, paramPGPath.getCurrentX(), paramPGPath.getCurrentY());
  }
  
  @Deprecated
  public void impl_addTo(Path2D paramPath2D)
  {
    addArcTo(null, paramPath2D, paramPa
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