jfxrt

ScaleX((float)getScaleX());
    localDisplacementMap.setScaleY((float)getScaleY());
    localDisplacementMap.setOffsetX((float)getOffsetX());
    localDisplacementMap.setOffsetY((float)getOffsetY());
    localDisplacementMap.setWrap(isWrap());
  }
  
  @Deprecated
  public BaseBounds impl_getBounds(BaseBounds paramBaseBounds, BaseTransform paramBaseTransform, Node paramNode, BoundsAccessor paramBoundsAccessor)
  {
    paramBaseBounds = EffectUtils.getInputBounds(paramBaseBounds, BaseTransform.IDENTITY_TRANSFORM, paramNode, paramBoundsAccessor, getInput());
    return EffectUtils.transformBounds(paramBaseTransform, paramBaseBounds);
  }
  
  @Deprecated
  public Effect impl_copy()
  {
    DisplacementMap localDisplacementMap = new DisplacementMap(getMapData().impl_copy(), getOffsetX(), getOffsetY(), getScaleX(), getScaleY());
    localDisplacementMap.setInput(getInput());
    return localDisplacementMap;
  }
  
  private class MapDataChangeListener
    extends EffectChangeListener
  {
    FloatMap mapData;
    
    private MapDataChangeListener() {}
    
    public void register(FloatMap paramFloatMap)
    {
      mapData = paramFloatMap;
      super.register(mapData == null ? null : mapData.effectDirtyProperty());
    }
    
    public void invalidated(Observable paramObservable)
    {
      if (mapData.impl_isEffectDirty())
      {
        markDirty(EffectDirtyBits.EFFECT_DIRTY);
        effectBoundsChanged();
      }
    }
  }
}

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

import javafx.util.Builder;

public class DisplacementMapBuilder<B extends DisplacementMapBuilder<B>>
  implements Builder<DisplacementMap>
{
  private int __set;
  private Effect input;
  private FloatMap mapData;
  private double offsetX;
  private double offsetY;
  private double scaleX;
  private double scaleY;
  private boolean wrap;
  
  public static DisplacementMapBuilder<?> create()
  {
    return new DisplacementMapBuilder();
  }
  
  public void applyTo(DisplacementMap paramDisplacementMap)
  {
    int i = __set;
    if ((i & 0x1) != 0) {
      paramDisplacementMap.setInput(input);
    }
    if ((i & 0x2) != 0) {
      paramDisplacementMap.setMapData(mapData);
    }
    if ((i & 0x4) != 0) {
      paramDisplacementMap.setOffsetX(offsetX);
    }
    if ((i & 0x8) != 0) {
      paramDisplacementMap.setOffsetY(offsetY);
    }
    if ((i & 0x10) != 0) {
      paramDisplacementMap.setScaleX(scaleX);
    }
    if ((i & 0x20) != 0) {
      paramDisplacementMap.setScaleY(scaleY);
    }
    if ((i & 0x40) != 0) {
      paramDisplacementMap.setWrap(wrap);
    }
  }
  
  public B input(Effect paramEffect)
  {
    input = paramEffect;
    __set |= 0x1;
    return this;
  }
  
  public B mapData(FloatMap paramFloatMap)
  {
    mapData = paramFloatMap;
    __set |= 0x2;
    return this;
  }
  
  public B offsetX(double paramDouble)
  {
    offsetX = paramDouble;
    __set |= 0x4;
    return this;
  }
  
  public B offsetY(double paramDouble)
  {
    offsetY = paramDouble;
    __set |= 0x8;
    return this;
  }
  
  public B scaleX(double paramDouble)
  {
    scaleX = paramDouble;
    __set |= 0x10;
    return this;
  }
  
  public B scaleY(double paramDouble)
  {
    scaleY = paramDouble;
    __set |= 0x20;
    return this;
  }
  
  public B wrap(boolean paramBoolean)
  {
    wrap = paramBoolean;
    __set |= 0x40;
    return this;
  }
  
  public DisplacementMap build()
  {
    DisplacementMap localDisplacementMap = new DisplacementMap();
    applyTo(localDisplacementMap);
    return localDisplacementMap;
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.DoublePropertyBase;

class DropShadow$1
  extends DoublePropertyBase
{
  DropShadow$1(DropShadow paramDropShadow, double paramDouble)
  {
    super(paramDouble);
  }
  
  public void invalidated()
  {
    double d = this$0.getRadius();
    if (!DropShadow.access$000(this$0))
    {
      DropShadow.access$002(this$0, true);
      DropShadow.access$100(this$0, d);
      DropShadow.access$002(this$0, false);
      this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
      this$0.effectBoundsChanged();
    }
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "radius";
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.DoublePropertyBase;

class DropShadow$2
  extends DoublePropertyBase
{
  DropShadow$2(DropShadow paramDropShadow, double paramDouble)
  {
    super(paramDouble);
  }
  
  public void invalidated()
  {
    double d = this$0.getWidth();
    if (!DropShadow.access$000(this$0))
    {
      DropShadow.access$002(this$0, true);
      DropShadow.access$200(this$0, d);
      DropShadow.access$002(this$0, false);
      this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
      this$0.effectBoundsChanged();
    }
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "width";
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.DoublePropertyBase;

class DropShadow$3
  extends DoublePropertyBase
{
  DropShadow$3(DropShadow paramDropShadow, double paramDouble)
  {
    super(paramDouble);
  }
  
  public void invalidated()
  {
    double d = this$0.getHeight();
    if (!DropShadow.access$000(this$0))
    {
      DropShadow.access$002(this$0, true);
      DropShadow.access$300(this$0, d);
      DropShadow.access$002(this$0, false);
      this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
      this$0.effectBoundsChanged();
    }
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "height";
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.ObjectPropertyBase;

class DropShadow$4
  extends ObjectPropertyBase<BlurType>
{
  DropShadow$4(DropShadow paramDropShadow, BlurType paramBlurType)
  {
    super(paramBlurType);
  }
  
  public void invalidated()
  {
    this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
    this$0.effectBoundsChanged();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "blurType";
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.DoublePropertyBase;

class DropShadow$5
  extends DoublePropertyBase
{
  DropShadow$5(DropShadow paramDropShadow) {}
  
  public void invalidated()
  {
    this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "spread";
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.ObjectPropertyBase;
import javafx.scene.paint.Color;

class DropShadow$6
  extends ObjectPropertyBase<Color>
{
  DropShadow$6(DropShadow paramDropShadow, Color paramColor)
  {
    super(paramColor);
  }
  
  public void invalidated()
  {
    this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "color";
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.DoublePropertyBase;

class DropShadow$7
  extends DoublePropertyBase
{
  DropShadow$7(DropShadow paramDropShadow) {}
  
  public void invalidated()
  {
    this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
    this$0.effectBoundsChanged();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "offsetX";
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.DoublePropertyBase;

class DropShadow$8
  extends DoublePropertyBase
{
  DropShadow$8(DropShadow paramDropShadow) {}
  
  public void invalidated()
  {
    this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
    this$0.effectBoundsChanged();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "offsetY";
  }
}

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

import com.sun.javafx.Utils;
import com.sun.javafx.effect.EffectDirtyBits;
import com.sun.javafx.effect.EffectUtils;
import com.sun.javafx.geom.BaseBounds;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.javafx.scene.BoundsAccessor;
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;
import javafx.scene.Node;
import javafx.scene.paint.Color;

public class DropShadow
  extends Effect
{
  private boolean changeIsLocal;
  private ObjectProperty<Effect> input;
  private DoubleProperty radius;
  private DoubleProperty width;
  private DoubleProperty height;
  private ObjectProperty<BlurType> blurType;
  private DoubleProperty spread;
  private ObjectProperty<Color> color;
  private DoubleProperty offsetX;
  private DoubleProperty offsetY;
  
  public DropShadow() {}
  
  public DropShadow(double paramDouble, Color paramColor)
  {
    setRadius(paramDouble);
    setColor(paramColor);
  }
  
  public DropShadow(double paramDouble1, double paramDouble2, double paramDouble3, Color paramColor)
  {
    setRadius(paramDouble1);
    setOffsetX(paramDouble2);
    setOffsetY(paramDouble3);
    setColor(paramColor);
  }
  
  public DropShadow(BlurType paramBlurType, Color paramColor, double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    setBlurType(paramBlurType);
    setColor(paramColor);
    setRadius(paramDouble1);
    setSpread(paramDouble2);
    setOffsetX(paramDouble3);
    setOffsetY(paramDouble4);
  }
  
  com.sun.scenario.effect.DropShadow impl_createImpl()
  {
    return new com.sun.scenario.effect.DropShadow();
  }
  
  public final void setInput(Effect paramEffect)
  {
    inputProperty().set(paramEffect);
  }
  
  public final Effect getInput()
  {
    return input == null ? null : (Effect)input.get();
  }
  
  public final ObjectProperty<Effect> inputProperty()
  {
    if (input == null) {
      input = new Effect.EffectInputProperty(this, "input");
    }
    return input;
  }
  
  boolean impl_checkChainContains(Effect paramEffect)
  {
    Effect localEffect = getInput();
    if (localEffect == null) {
      return false;
    }
    if (localEffect == paramEffect) {
      return true;
    }
    return localEffect.impl_checkChainContains(paramEffect);
  }
  
  public final void setRadius(double paramDouble)
  {
    radiusProperty().set(paramDouble);
  }
  
  public final double getRadius()
  {
    return radius == null ? 10.0D : radius.get();
  }
  
  public final DoubleProperty radiusProperty()
  {
    if (radius == null) {
      radius = new DoublePropertyBase(10.0D)
      {
        public void invalidated()
        {
          double d = getRadius();
          if (!changeIsLocal)
          {
            changeIsLocal = true;
            DropShadow.this.updateRadius(d);
            changeIsLocal = false;
            markDirty(EffectDirtyBits.EFFECT_DIRTY);
            effectBoundsChanged();
          }
        }
        
        public Object getBean()
        {
          return DropShadow.this;
        }
        
        public String getName()
        {
          return "radius";
        }
      };
    }
    return radius;
  }
  
  private void updateRadius(double paramDouble)
  {
    double d = paramDouble * 2.0D + 1.0D;
    if ((width != null) && (width.isBound()))
    {
      if ((height == null) || (!height.isBound())) {
        setHeight(d * 2.0D - getWidth());
      }
    }
    else if ((height != null) && (height.isBound()))
    {
      setWidth(d * 2.0D - getHeight());
    }
    else
    {
      setWidth(d);
      setHeight(d);
    }
  }
  
  public final void setWidth(double paramDouble)
  {
    widthProperty().set(paramDouble);
  }
  
  public final double getWidth()
  {
    return width == null ? 21.0D : width.get();
  }
  
  public final DoubleProperty widthProperty()
  {
    if (width == null) {
      width = new DoublePropertyBase(21.0D)
      {
        public void invalidated()
        {
          double d = getWidth();
          if (!changeIsLocal)
          {
            changeIsLocal = true;
            DropShadow.this.updateWidth(d);
            changeIsLocal = false;
            markDirty(EffectDirtyBits.EFFECT_DIRTY);
            effectBoundsChanged();
          }
        }
        
        public Object getBean()
        {
          return DropShadow.this;
        }
        
        public String getName()
        {
          return "width";
        }
      };
    }
    return width;
  }
  
  private void updateWidth(double paramDouble)
  {
    double d;
    if ((radius == null) || (!radius.isBound()))
    {
      d = (paramDouble + getHeight()) / 2.0D;
      d = (d - 1.0D) / 2.0D;
      if (d < 0.0D) {
        d = 0.0D;
      }
      setRadius(d);
    }
    else if ((height == null) || (!height.isBound()))
    {
      d = getRadius() * 2.0D + 1.0D;
      setHeight(d * 2.0D - paramDouble);
    }
  }
  
  public final void setHeight(double paramDouble)
  {
    heightProperty().set(paramDouble);
  }
  
  public final double getHeight()
  {
    return height == null ? 21.0D : height.get();
  }
  
  public final DoubleProperty heightProperty()
  {
    if (height == null) {
      height = new DoublePropertyBase(21.0D)
      {
        public void invalidated()
        {
          double d = getHeight();
          if (!changeIsLocal)
          {
            changeIsLocal = true;
            DropShadow.this.updateHeight(d);
            changeIsLocal = false;
            markDirty(EffectDirtyBits.EFFECT_DIRTY);
            effectBoundsChanged();
          }
        }
        
        public Object getBean()
        {
          return DropShadow.this;
        }
        
        public String getName()
        {
          return "height";
        }
      };
    }
    return height;
  }
  
  private void updateHeight(double paramDouble)
  {
    double d;
    if ((radius == null) || (!radius.isBound()))
    {
      d = (getWidth() + paramDouble) / 2.0D;
      d = (d - 1.0D) / 2.0D;
      if (d < 0.0D) {
        d = 0.0D;
      }
      setRadius(d);
    }
    else if ((width == null) || (!width.isBound()))
    {
      d = getRadius() * 2.0D + 1.0D;
      setWidth(d * 2.0D - paramDouble);
    }
  }
  
  public final void setBlurType(BlurType paramBlurType)
  {
    blurTypeProperty().set(paramBlurType);
  }
  
  public final BlurType getBlurType()
  {
    return blurType == null ? BlurType.THREE_PASS_BOX : (BlurType)blurType.get();
  }
  
  public final ObjectProperty<BlurType> blurTypeProperty()
  {
    if (blurType == null) {
      blurType = new ObjectPropertyBase(BlurType.THREE_PASS_BOX)
      {
        public void invalidated()
        {
          markDirty(EffectDirtyBits.EFFECT_DIRTY);
          effectBoundsChanged();
        }
        
        public Object getBean()
        {
          return DropShadow.this;
        }
        
        public String getName()
        {
          return "blurType";
        }
      };
    }
    return blurType;
  }
  
  public final void setSpread(double paramDouble)
  {
    spreadProperty().set(paramDouble);
  }
  
  public final double getSpread()
  {
    return spread == null ? 0.0D : spread.get();
  }
  
  public final DoubleProperty spreadProperty()
  {
    if (spread == null) {
      spread = new DoublePropertyBase()
      {
        public void invalidated()
        {
          markDirty(EffectDirtyBits.EFFECT_DIRTY);
        }
        
        public Object getBean()
        {
          return DropShadow.this;
        }
        
        public String getName()
        {
          return "spread";
        }
      };
    }
    return spread;
  }
  
  public final void setColor(Color paramColor)
  {
    colorProperty().set(paramColor);
  }
  
  public final Color getColor()
  {
    return color == null ? Color.BLACK : (Color)color.get();
  }
  
  public final ObjectProperty<Color> colorProperty()
  {
    if (color == null) {
      color = new ObjectPropertyBase(Color.BLACK)
      {
        public void invalidated()
        {
          markDirty(EffectDirtyBits.EFFECT_DIRTY);
        }
        
        public Object getBean()
        {
          return DropShadow.this;
        }
        
        public String getName()
        {
          return "color";
        }
      };
    }
    return color;
  }
  
  public final void setOffsetX(double paramDouble)
  {
    offsetXProperty().set(paramDouble);
  }
  
  public final double getOffsetX()
  {
    return offsetX == null ? 0.0D : offsetX.get();
  }
  
  public final DoubleProperty offsetXProperty()
  {
    if (offsetX == null) {
      offsetX = new DoublePropertyBase()
      {
        public void invalidated()
        {
          markDirty(EffectDirtyBits.EFFECT_DIRTY);
          effectBoundsChanged();
        }
        
        public Object getBean()
        {
          return DropShadow.this;
        }
        
        public String getName()
        {
          return "offsetX";
        }
      };
    }
    return offsetX;
  }
  
  public final void setOffsetY(double paramDouble)
  {
    offsetYProperty().set(paramDouble);
  }
  
  public final double getOffsetY()
  {
    return offsetY == null ? 0.0D : offsetY.get();
  }
  
  public final DoubleProperty offsetYProperty()
  {
    if (offsetY == null) {
      offsetY = new DoublePropertyBase()
      {
        public void invalidated()
        {
          markDirty(EffectDirtyBits.EFFECT_DIRTY);
          effectBoundsChanged();
        }
        
        public Object getBean()
        {
          return DropShadow.this;
        }
        
        public String getName()
        {
          return "offsetY";
        }
      };
    }
    return offsetY;
  }
  
  private float getClampedWidth()
  {
    return (float)Utils.clamp(0.0D, getWidth(), 255.0D);
  }
  
  private float getClampedHeight()
  {
    return (float)Utils.clamp(0.0D, getHeight(), 255.0D);
  }
  
  private float getClampedSpread()
  {
    return (float)Utils.clamp(0.0D, getSpread(), 1.0D);
  }
  
  void impl_update()
  {
    Effect localEffect = getInput();
    if (localEffect != null) {
      localEffect.impl_sync();
    }
    com.sun.scenario.effect.DropShadow localDropShadow = (com.sun.scenario.effect.DropShadow)impl_getImpl();
    localDropShadow.setShadowSourceInput(localEffect == null ? null : localEffect.impl_getImpl());
    localDropShadow.setContentInput(localEffect == null ? null : localEffect.impl_getImpl());
    localDropShadow.setGaussianWidth(getClampedWidth());
    localDropShadow.setGaussianHeight(getClampedHeight());
    localDropShadow.setSpread(getClampedSpread());
    localDropShadow.setShadowMode(Toolkit.getToolkit().toShadowMode(getBlurType()));
    localDropShadow.setColor(Toolkit.getToolkit().toColor4f(getColor()));
    localDropShadow.setOffsetX((int)getOffsetX());
    localDropShadow.setOffsetY((int)getOffsetY());
  }
  
  @Deprecated
  public BaseBounds impl_getBounds(BaseBounds paramBaseBounds, BaseTransform paramBaseTransform, Node paramNode, BoundsAccessor paramBoundsAccessor)
  {
    paramBaseBounds = EffectUtils.getInputBounds(paramBaseBounds, BaseTransform.IDENTITY_TRANSFORM, paramNode, paramBoundsAccessor, getInput());
    int i = (int)getOffsetX();
    int j = (int)getOffsetY();
    BaseBounds localBaseBounds1 = BaseBounds.getInstance(paramBaseBounds.getMinX() + i, paramBaseBounds.getMinY() + j, paramBaseBounds.getMinZ(), paramBaseBounds.getMaxX() + i, paramBaseBounds.getMaxY() + j, paramBaseBounds.getMaxZ());
    localBaseBounds1 = EffectUtils.getShadowBounds(localBaseBounds1, paramBaseTransform, getClampedWidth(), getClampedHeight(), getBlurType());
    BaseBounds localBaseBounds2 = EffectUtils.transformBounds(paramBaseTransform, paramBaseBounds);
    BaseBounds localBaseBounds3 = localBaseBounds2.deriveWithUnion(localBaseBounds1);
    return localBaseBounds3;
  }
  
  @Deprecated
  public Effect impl_copy()
  {
    DropShadow localDropShadow = new DropShadow(getBlurType(), getColor(), getRadius(), getSpread(), getOffsetX(), getOffsetY());
    localDropShadow.setInput(getInput());
    localDropShadow.setWidth(getWidth());
    localDropShadow.setHeight(getHeight());
    return localDropShadow;
  }
}

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

import javafx.scene.paint.Color;
import javafx.util.Builder;

public class DropShadowBuilder<B extends DropShadowBuilder<B>>
  implements Builder<DropShadow>
{
  private int __set;
  private BlurType blurType;
  private Color color;
  private double height;
  private Effect input;
  private double offsetX;
  private double offsetY;
  private double radius;
  private double spread;
  private double width;
  
  public static DropShadowBuilder<?> create()
  {
    return new DropShadowBuilder();
  }
  
  private void __set(int paramInt)
  {
    __set |= 1 << paramInt;
  }
  
  public void applyTo(DropShadow paramDropShadow)
  {
    int i = __set;
    while (i != 0)
    {
      int j = Integer.numberOfTrailingZeros(i);
      i &= (1 << j ^ 0xFFFFFFFF);
      switch (j)
      {
      case 0: 
        paramDropShadow.setBlurType(blurType);
        break;
      case 1: 
        paramDropShadow.setColor(color);
        break;
      case 2: 
        paramDropShadow.setHeight(height);
        break;
      case 3: 
        paramDropShadow.setInput(input);
        break;
      case 4: 
        paramDropShadow.setOffsetX(offsetX);
        break;
      case 5: 
        paramDropShadow.setOffsetY(offsetY);
        break;
      case 6: 
        paramDropShadow.setRadius(radius);
        break;
      case 7: 
        paramDropShadow.setSpread(spread);
        break;
      case 8: 
        paramDropShadow.setWidth(width);
      }
    }
  }
  
  public B blurType(BlurType paramBlurType)
  {
    blurType = paramBlurType;
    __set(0);
    return this;
  }
  
  public B color(Color paramColor)
  {
    color = paramColor;
    __set(1);
    return this;
  }
  
  public B height(double paramDouble)
  {
    height = paramDouble;
    __set(2);
    return this;
  }
  
  public B input(Effect paramEffect)
  {
    input = paramEffect;
    __set(3);
    return this;
  }
  
  public B offsetX(double paramDouble)
  {
    offsetX = paramDouble;
    __set(4);
    return this;
  }
  
  public B offsetY(double paramDouble)
  {
    offsetY = paramDouble;
    __set(5);
    return this;
  }
  
  public B radius(double paramDouble)
  {
    radius = paramDouble;
    __set(6);
    return this;
  }
  
  public B spread(double paramDouble)
  {
    spread = paramDouble;
    __set(7);
    return this;
  }
  
  public B width(double paramDouble)
  {
    width = paramDouble;
    __set(8);
    return this;
  }
  
  public DropShadow build()
  {
    DropShadow localDropShadow = new DropShadow();
    applyTo(localDropShadow);
    return localDropShadow;
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.Observable;
import javafx.beans.property.IntegerProperty;

class Effect$EffectInputChangeListener
  extends EffectChangeListener
{
  private int oldBits;
  
  Effect$EffectInputChangeListener(Effect paramEffect) {}
  
  public void register(Effect paramEffect)
  {
    super.register(paramEffect == null ? null : paramEffect.impl_effectDirtyProperty());
    if (paramEffect != null) {
      oldBits = paramEffect.impl_effectDirtyProperty().get();
    }
  }
  
  public void invalidated(Observable paramObservable)
  {
    int i = ((IntegerProperty)paramObservable).get();
    int j = i ^ oldBits;
    oldBits = i;
    if ((EffectDirtyBits.isSet(j, EffectDirtyBits.EFFECT_DIRTY)) && (EffectDirtyBits.isSet(i, EffectDirtyBits.EFFECT_DIRTY))) {
      this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
    }
    if (EffectDirtyBits.isSet(j, EffectDirtyBits.BOUNDS_CHANGED)) {
      Effect.access$000(this$0, EffectDirtyBits.BOUNDS_CHANGED);
    }
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.beans.property.ObjectPropertyBase;

class Effect$EffectInputProperty
  extends ObjectPropertyBase<Effect>
{
  private final String propertyName;
  private Effect validInput = null;
  private final Effect.EffectInputChangeListener effectChangeListener = new Effect.EffectInputChangeListener(this$0);
  
  public Effect$EffectInputProperty(Effect paramEffect, String paramString)
  {
    propertyName = paramString;
  }
  
  public void invalidated()
  {
    Effect localEffect = (Effect)super.get();
    if (this$0.impl_containsCycles(localEffect))
    {
      if (isBound())
      {
        unbind();
        set(validInput);
        throw new IllegalArgumentException("Cycle in effect chain detected, binding was set to incorrect value, unbinding the input property");
      }
      set(validInput);
      throw new IllegalArgumentException("Cycle in effect chain detected");
    }
    validInput = localEffect;
    effectChangeListener.register(localEffect);
    this$0.markDirty(EffectDirtyBits.EFFECT_DIRTY);
    this$0.effectBoundsChanged();
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return propertyName;
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import com.sun.javafx.geom.BaseBounds;
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.javafx.scene.BoundsAccessor;
import javafx.beans.Observable;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.ObjectPropertyBase;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.scene.Node;

public abstract class Effect
{
  private com.sun.scenario.effect.Effect peer;
  private IntegerProperty effectDirty = new SimpleIntegerProperty(this, "effectDirty");
  
  protected Effect()
  {
    markDirty(EffectDirtyBits.EFFECT_DIRTY);
  }
  
  void effectBoundsChanged()
  {
    toggleDirty(EffectDirtyBits.BOUNDS_CHANGED);
  }
  
  abstract com.sun.scenario.effect.Effect impl_createImpl();
  
  @Deprecated
  public com.sun.scenario.effect.Effect impl_getImpl()
  {
    if (peer == null) {
      peer = impl_createImpl();
    }
    return peer;
  }
  
  private void setEffectDirty(int paramInt)
  {
    impl_effectDirtyProperty().set(paramInt);
  }
  
  @Deprecated
  public final IntegerProperty impl_effectDirtyProperty()
  {
    return effectDirty;
  }
  
  @Deprecated
  public final boolean impl_isEffectDirty()
  {
    return isEffectDirty(EffectDirtyBits.EFFECT_DIRTY);
  }
  
  final void markDirty(EffectDirtyBits paramEffectDirtyBits)
  {
    setEffectDirty(effectDirty.get() | paramEffectDirtyBits.getMask());
  }
  
  private void toggleDirty(EffectDirtyBits paramEffectDirtyBits)
  {
    setEffectDirty(effectDirty.get() ^ paramEffectDirtyBits.getMask());
  }
  
  private boolean isEffectDirty(EffectDirtyBits paramEffectDirtyBits)
  {
    return (effectDirty.get() & paramEffectDirtyBits.getMask()) != 0;
  }
  
  private void clearEffectDirty(EffectDirtyBits paramEffectDirtyBits)
  {
    setEffectDirty(effectDirty.get() & (paramEffectDirtyBits.getMask() ^ 0xFFFFFFFF));
  }
  
  @Deprecated
  public final void impl_sync()
  {
    if (isEffectDirty(EffectDirtyBits.EFFECT_DIRTY))
    {
      impl_update();
      clearEffectDirty(EffectDirtyBits.EFFECT_DIRTY);
    }
  }
  
  abstract void impl_update();
  
  abstract boolean impl_checkChainContains(Effect paramEffect);
  
  boolean impl_containsCycles(Effect paramEffect)
  {
    return (paramEffect != null) && ((paramEffect == this) || (paramEffect.impl_checkChainContains(this)));
  }
  
  @Deprecated
  public abstract BaseBounds impl_getBounds(BaseBounds paramBaseBounds, BaseTransform paramBaseTransform, Node paramNode, BoundsAccessor paramBoundsAccessor);
  
  @Deprecated
  public abstract Effect impl_copy();
  
  class EffectInputChangeListener
    extends EffectChangeListener
  {
    private int oldBits;
    
    EffectInputChangeListener() {}
    
    public void register(Effect paramEffect)
    {
      super.register(paramEffect == null ? null : paramEffect.impl_effectDirtyProperty());
      if (paramEffect != null) {
        oldBits = paramEffect.impl_effectDirtyProperty().get();
      }
    }
    
    public void invalidated(Observable paramObservable)
    {
      int i = ((IntegerProperty)paramObservable).get();
      int j = i ^ oldBits;
      oldBits = i;
      if ((EffectDirtyBits.isSet(j, EffectDirtyBits.EFFECT_DIRTY)) && (EffectDirtyBits.isSet(i, EffectDirtyBits.EFFECT_DIRTY))) {
        markDirty(EffectDirtyBits.EFFECT_DIRTY);
      }
      if (EffectDirtyBits.isSet(j, EffectDirtyBits.BOUNDS_CHANGED)) {
        Effect.this.toggleDirty(EffectDirtyBits.BOUNDS_CHANGED);
      }
    }
  }
  
  class EffectInputProperty
    extends ObjectPropertyBase<Effect>
  {
    private final String propertyName;
    private Effect validInput = null;
    private final Effect.EffectInputChangeListener effectChangeListener = new Effect.EffectInputChangeListener(Effect.this);
    
    public EffectInputProperty(String paramString)
    {
      propertyName = paramString;
    }
    
    public void invalidated()
    {
      Effect localEffect = (Effect)super.get();
      if (impl_containsCycles(localEffect))
      {
        if (isBound())
        {
          unbind();
          set(validInput);
          throw new IllegalArgumentException("Cycle in effect chain detected, binding was set to incorrect value, unbinding the input property");
        }
        set(validInput);
        throw new IllegalArgumentException("Cycle in effect chain detected");
      }
      validInput = localEffect;
      effectChangeListener.register(localEffect);
      markDirty(EffectDirtyBits.EFFECT_DIRTY);
      effectBoundsChanged();
    }
    
    public Object getBean()
    {
      return Effect.this;
    }
    
    public String getName()
    {
      return propertyName;
    }
  }
}

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

import com.sun.javafx.beans.event.AbstractNotifyListener;
import javafx.beans.value.ObservableValue;

abstract class EffectChangeListener
  extends AbstractNotifyListener
{
  protected ObservableValue registredOn;
  
  public void register(ObservableValue paramObservableValue)
  {
    if (registredOn == paramObservableValue) {
      return;
    }
    if (registredOn != null) {
      registredOn.removeListener(getWeakListener());
    }
    registredOn = paramObservableValue;
    if (registredOn != null) {
      registredOn.addListener(getWeakListener());
    }
  }
}

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

import javafx.beans.property.IntegerPropertyBase;

class FloatMap$1
  extends IntegerPropertyBase
{
  FloatMap$1(FloatMap paramFloatMap, int paramInt)
  {
    super(paramInt);
  }
  
  public void invalidated()
  {
    FloatMap.access$000(this$0);
    FloatMap.access$100(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "width";
  }
}

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

import javafx.beans.property.IntegerPropertyBase;

class FloatMap$2
  extends IntegerPropertyBase
{
  FloatMap$2(FloatMap paramFloatMap, int paramInt)
  {
    super(paramInt);
  }
  
  public void invalidated()
  {
    FloatMap.access$000(this$0);
    FloatMap.access$100(this$0);
  }
  
  public Object getBean()
  {
    return this$0;
  }
  
  public String getName()
  {
    return "height";
  }
}

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

import com.sun.javafx.Utils;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.IntegerPropertyBase;
import javafx.beans.property.SimpleBooleanProperty;

public class FloatMap
{
  private com.sun.scenario.effect.FloatMap map;
  private float[] buf;
  private boolean mapBufferDirty = true;
  private BooleanProperty effectDirty;
  private IntegerProperty width;
  private IntegerProperty height;
  
  com.sun.scenario.effect.FloatMap getImpl()
  {
    return map;
  }
  
  private void updateBuffer()
  {
    if ((getWidth() > 0) && (getHeight() > 0))
    {
      int i = Utils.clampMax(getWidth(), 4096);
      int j = Utils.clampMax(getHeight(), 4096);
      int k = i * j * 4;
      buf = new float[k];
      mapBufferDirty = true;
    }
  }
  
  private void impl_update()
  {
    if (mapBufferDirty)
    {
      map = new com.sun.scenario.effect.FloatMap(Utils.clamp(1, getWidth(), 4096), Utils.clamp(1, getHeight(), 4096));
      mapBufferDirty = false;
    }
    map.put(buf);
  }
  
  void impl_sync()
  {
    if (impl_isEffectDirty())
    {
      impl_update();
      impl_clearDirty();
    }
  }
  
  private void setEffectDirty(boolean paramBoolean)
  {
    effectDirtyProperty().set(paramBoolean);
  }
  
  final BooleanProperty effectDirtyProperty()
  {
    if (effectDirty == null) {
      effectDirty = new SimpleBooleanProperty(this, "effectDirty");
    }
    return effectDirty;
  }
  
  @Deprecated
  boolean impl_isEffectDirty()
  {
    return effectDirty == null ? false : effectDirty.get();
  }
  
  private void impl_markDirty()
  {
    setEffectDirty(true);
  }
  
  private void impl_clearDirty()
  {
    setEffectDirty(false);
  }
  
  public FloatMap()
  {
    updateBuffer();
    impl_markDirty();
  }
  
  public FloatMap(int paramInt1, int paramInt2)
  {
    setWidth(paramInt1);
    setHeight(paramInt2);
    updateBuffer();
    impl_markDirty();
  }
  
  public final void setWidth(int paramInt)
  {
    widthProperty().set(paramInt);
  }
  
  public final int getWidth()
  {
    return width == null ? 1 : width.get();
  }
  
  public final IntegerProperty widthProperty()
  {
    if (width == null) {
      width = new IntegerPropertyBase(1)
      {
        public void invalidated()
        {
          FloatMap.this.updateBuffer();
          FloatMap.this.impl_markDirty();
        }
        
        public Object getBean()
        {
          return FloatMap.this;
        }
        
        public String getName()
        {
          return "width";
        }
      };
    }
    return width;
  }
  
  public final void setHeight(int paramInt)
  {
    heightProperty().set(paramInt);
  }
  
  public final int getHeight()
  {
    return height == null ? 1 : height.get();
  }
  
  public final IntegerProperty heightProperty()
  {
    if (height == null) {
      height = new IntegerPropertyBase(1)
      {
        public void invalidated()
        {
          FloatMap.this.updateBuffer();
          FloatMap.this.impl_markDirty();
        }
        
        public Object getBean()
        {
          return FloatMap.this;
        }
        
        public String getName()
        {
          return "height";
        }
      };
    }
    return height;
  }
  
  public void setSample(int paramInt1, int paramInt2, int paramInt3, float paramFloat)
  {
    buf[((paramInt1 + paramInt2 * getWidth()) * 4 + paramInt3)] = paramFloat;
    impl_markDirty();
  }
  
  public void setSamples(int paramInt1, int paramInt2, float paramFloat)
  {
    int i = (paramInt1 + paramInt2 * getWidth()) * 4;
    buf[(i + 0)] = paramFloat;
    impl_markDirty();
  }
  
  public void setSamples(int paramInt1, int paramInt2, float paramFloat1, float paramFloat2)
  {
    int i = (paramInt1 + paramInt2 * getWidth()) * 4;
    buf[(i + 0)] = paramFloat1;
    buf[(i + 1)] = paramFloat2;
    impl_markDirty();
  }
  
  public void setSamples(int paramInt1, int paramInt2, float paramFloat1, float paramFloat2, float paramFloat3)
  {
    int i = (paramInt1 + paramInt2 * getWidth()) * 4;
    buf[(i + 0)] = paramFloat1;
    buf[(i + 1)] = paramFloat2;
    buf[(i + 2)] = paramFloat3;
    impl_markDirty();
  }
  
  public void setSamples(int paramInt1, int paramInt2, float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4)
  {
    int i = (paramInt1 + paramInt2 * getWidth()) * 4;
    buf[(i + 0)] = paramFloat1;
    buf[(i + 1)] = paramFloat2;
    buf[(i + 2)] = paramFloat3;
    buf[(i + 3)] = paramFloat4;
    impl_markDirty();
  }
  
  @Deprecated
  public FloatMap impl_copy()
  {
    FloatMap localFloatMap = new FloatMap(getWidth(), getHeight());
    System.arraycopy(buf, 0, buf, 0, buf.length);
    return localFloatMap;
  }
}

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

import javafx.util.Builder;

public class FloatMapBuilder<B extends FloatMapBuilder<B>>
  implements Builder<FloatMap>
{
  private int __set;
  private int height;
  private int width;
  
  public static FloatMapBuilder<?> create()
  {
    return new FloatMapBuilder();
  }
  
  public void applyTo(FloatMap paramFloatMap)
  {
    int i = __set;
    if ((i & 0x1) != 0) {
      paramFloatMap.setHeight(height);
    }
    if ((i & 0x2) != 0) {
      paramFloatMap.setWidth(width);
    }
  }
  
  public B height(int paramInt)
  {
    height = paramInt;
    __set |= 0x1;
    return this;
  }
  
  public B width(int paramInt)
  {
    width = paramInt;
    __set |= 0x2;
    return this;
  }
  
  public FloatMap build()
  {
    FloatMap localFloatMap = new FloatMap();
    applyTo(localFloatMap);
    return localFloatMap;
  }
}

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

import com.sun.javafx.effect.EffectDirtyBits;
import javafx.be
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