jfxrt

eListener);
  }
  
  public void addListener(InvalidationListener paramInvalidationListener)
  {
    helper = ExpressionHelper.addListener(helper, this, paramInvalidationListener);
  }
  
  public void removeListener(InvalidationListener paramInvalidationListener)
  {
    helper = ExpressionHelper.removeListener(helper, paramInvalidationListener);
  }
  
  public void fireValueChangedEvent()
  {
    ExpressionHelper.fireValueChangedEvent(helper);
  }
  
  public void dispose()
  {
    descriptor.removeListener(listener);
  }
  
  public String toString()
  {
    Object localObject = getBean();
    String str = getName();
    StringBuilder localStringBuilder = new StringBuilder("IntegerProperty [");
    if (localObject != null) {
      localStringBuilder.append("bean: ").append(localObject).append(", ");
    }
    if ((str != null) && (!str.equals(""))) {
      localStringBuilder.append("name: ").append(str).append(", ");
    }
    if (isBound()) {
      localStringBuilder.append("bound, ");
    }
    localStringBuilder.append("value: ").append(get());
    localStringBuilder.append("]");
    return localStringBuilder.toString();
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanIntegerProperty
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.JavaBeanPropertyBuilderHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.Method;

public final class JavaBeanIntegerPropertyBuilder
{
  private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();
  
  public static JavaBeanIntegerPropertyBuilder create()
  {
    return new JavaBeanIntegerPropertyBuilder();
  }
  
  public JavaBeanIntegerProperty build()
    throws NoSuchMethodException
  {
    PropertyDescriptor localPropertyDescriptor = helper.getDescriptor();
    if ((!Integer.TYPE.equals(localPropertyDescriptor.getType())) && (!Number.class.isAssignableFrom(localPropertyDescriptor.getType()))) {
      throw new IllegalArgumentException("Not an int property");
    }
    return new JavaBeanIntegerProperty(localPropertyDescriptor, helper.getBean());
  }
  
  public JavaBeanIntegerPropertyBuilder name(String paramString)
  {
    helper.name(paramString);
    return this;
  }
  
  public JavaBeanIntegerPropertyBuilder bean(Object paramObject)
  {
    helper.bean(paramObject);
    return this;
  }
  
  public JavaBeanIntegerPropertyBuilder beanClass(Class<?> paramClass)
  {
    helper.beanClass(paramClass);
    return this;
  }
  
  public JavaBeanIntegerPropertyBuilder getter(String paramString)
  {
    helper.getterName(paramString);
    return this;
  }
  
  public JavaBeanIntegerPropertyBuilder setter(String paramString)
  {
    helper.setterName(paramString);
    return this;
  }
  
  public JavaBeanIntegerPropertyBuilder getter(Method paramMethod)
  {
    helper.getter(paramMethod);
    return this;
  }
  
  public JavaBeanIntegerPropertyBuilder setter(Method paramMethod)
  {
    helper.setter(paramMethod);
    return this;
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanIntegerPropertyBuilder
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.PrivilegedAction;
import sun.reflect.misc.MethodUtil;

class JavaBeanLongProperty$1
  implements PrivilegedAction<Long>
{
  JavaBeanLongProperty$1(JavaBeanLongProperty paramJavaBeanLongProperty) {}
  
  public Long run()
  {
    try
    {
      return Long.valueOf(((Number)MethodUtil.invoke(JavaBeanLongProperty.access$000(this$0).getGetter(), this$0.getBean(), (Object[])null)).longValue());
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      throw new UndeclaredThrowableException(localIllegalAccessException);
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      throw new UndeclaredThrowableException(localInvocationTargetException);
    }
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanLongProperty.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.binding.ExpressionHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.PrivilegedAction;
import sun.reflect.misc.MethodUtil;

class JavaBeanLongProperty$2
  implements PrivilegedAction<Void>
{
  JavaBeanLongProperty$2(JavaBeanLongProperty paramJavaBeanLongProperty, long paramLong) {}
  
  public Void run()
  {
    try
    {
      MethodUtil.invoke(JavaBeanLongProperty.access$000(this$0).getSetter(), this$0.getBean(), new Object[] { Long.valueOf(val$value) });
      ExpressionHelper.fireValueChangedEvent(JavaBeanLongProperty.access$100(this$0));
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      throw new UndeclaredThrowableException(localIllegalAccessException);
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      throw new UndeclaredThrowableException(localInvocationTargetException);
    }
    return null;
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanLongProperty.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.binding.ExpressionHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import com.sun.javafx.property.adapter.PropertyDescriptor.Listener;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.AccessControlContext;
import java.security.AccessController;
import java.security.PrivilegedAction;
import javafx.beans.InvalidationListener;
import javafx.beans.property.LongProperty;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import sun.reflect.misc.MethodUtil;

public final class JavaBeanLongProperty
  extends LongProperty
  implements JavaBeanProperty<Number>
{
  private final PropertyDescriptor descriptor;
  private final PropertyDescriptor.Listener<Number> listener;
  private ObservableValue<? extends Number> observable = null;
  private ExpressionHelper<Number> helper = null;
  private final AccessControlContext acc = AccessController.getContext();
  
  JavaBeanLongProperty(PropertyDescriptor paramPropertyDescriptor, Object paramObject)
  {
    descriptor = paramPropertyDescriptor;
    PropertyDescriptor tmp32_31 = paramPropertyDescriptor;
    tmp32_31.getClass();
    listener = new PropertyDescriptor.Listener(tmp32_31, paramObject, this);
    paramPropertyDescriptor.addListener(listener);
  }
  
  protected void finalize()
    throws Throwable
  {
    descriptor.removeListener(listener);
    super.finalize();
  }
  
  public long get()
  {
    ((Long)AccessController.doPrivileged(new PrivilegedAction()
    {
      public Long run()
      {
        try
        {
          return Long.valueOf(((Number)MethodUtil.invoke(descriptor.getGetter(), getBean(), (Object[])null)).longValue());
        }
        catch (IllegalAccessException localIllegalAccessException)
        {
          throw new UndeclaredThrowableException(localIllegalAccessException);
        }
        catch (InvocationTargetException localInvocationTargetException)
        {
          throw new UndeclaredThrowableException(localInvocationTargetException);
        }
      }
    }, acc)).longValue();
  }
  
  public void set(final long paramLong)
  {
    if (isBound()) {
      throw new RuntimeException("A bound value cannot be set.");
    }
    AccessController.doPrivileged(new PrivilegedAction()
    {
      public Void run()
      {
        try
        {
          MethodUtil.invoke(descriptor.getSetter(), getBean(), new Object[] { Long.valueOf(paramLong) });
          ExpressionHelper.fireValueChangedEvent(helper);
        }
        catch (IllegalAccessException localIllegalAccessException)
        {
          throw new UndeclaredThrowableException(localIllegalAccessException);
        }
        catch (InvocationTargetException localInvocationTargetException)
        {
          throw new UndeclaredThrowableException(localInvocationTargetException);
        }
        return null;
      }
    }, acc);
  }
  
  public void bind(ObservableValue<? extends Number> paramObservableValue)
  {
    if (paramObservableValue == null) {
      throw new NullPointerException("Cannot bind to null");
    }
    if (!paramObservableValue.equals(observable))
    {
      unbind();
      set(((Number)paramObservableValue.getValue()).longValue());
      observable = paramObservableValue;
      observable.addListener(listener);
    }
  }
  
  public void unbind()
  {
    if (observable != null)
    {
      observable.removeListener(listener);
      observable = null;
    }
  }
  
  public boolean isBound()
  {
    return observable != null;
  }
  
  public Object getBean()
  {
    return listener.getBean();
  }
  
  public String getName()
  {
    return descriptor.getName();
  }
  
  public void addListener(ChangeListener<? super Number> paramChangeListener)
  {
    helper = ExpressionHelper.addListener(helper, this, paramChangeListener);
  }
  
  public void removeListener(ChangeListener<? super Number> paramChangeListener)
  {
    helper = ExpressionHelper.removeListener(helper, paramChangeListener);
  }
  
  public void addListener(InvalidationListener paramInvalidationListener)
  {
    helper = ExpressionHelper.addListener(helper, this, paramInvalidationListener);
  }
  
  public void removeListener(InvalidationListener paramInvalidationListener)
  {
    helper = ExpressionHelper.removeListener(helper, paramInvalidationListener);
  }
  
  public void fireValueChangedEvent()
  {
    ExpressionHelper.fireValueChangedEvent(helper);
  }
  
  public void dispose()
  {
    descriptor.removeListener(listener);
  }
  
  public String toString()
  {
    Object localObject = getBean();
    String str = getName();
    StringBuilder localStringBuilder = new StringBuilder("LongProperty [");
    if (localObject != null) {
      localStringBuilder.append("bean: ").append(localObject).append(", ");
    }
    if ((str != null) && (!str.equals(""))) {
      localStringBuilder.append("name: ").append(str).append(", ");
    }
    if (isBound()) {
      localStringBuilder.append("bound, ");
    }
    localStringBuilder.append("value: ").append(get());
    localStringBuilder.append("]");
    return localStringBuilder.toString();
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanLongProperty
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.JavaBeanPropertyBuilderHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.Method;

public final class JavaBeanLongPropertyBuilder
{
  private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();
  
  public static JavaBeanLongPropertyBuilder create()
  {
    return new JavaBeanLongPropertyBuilder();
  }
  
  public JavaBeanLongProperty build()
    throws NoSuchMethodException
  {
    PropertyDescriptor localPropertyDescriptor = helper.getDescriptor();
    if ((!Long.TYPE.equals(localPropertyDescriptor.getType())) && (!Number.class.isAssignableFrom(localPropertyDescriptor.getType()))) {
      throw new IllegalArgumentException("Not a long property");
    }
    return new JavaBeanLongProperty(localPropertyDescriptor, helper.getBean());
  }
  
  public JavaBeanLongPropertyBuilder name(String paramString)
  {
    helper.name(paramString);
    return this;
  }
  
  public JavaBeanLongPropertyBuilder bean(Object paramObject)
  {
    helper.bean(paramObject);
    return this;
  }
  
  public JavaBeanLongPropertyBuilder beanClass(Class<?> paramClass)
  {
    helper.beanClass(paramClass);
    return this;
  }
  
  public JavaBeanLongPropertyBuilder getter(String paramString)
  {
    helper.getterName(paramString);
    return this;
  }
  
  public JavaBeanLongPropertyBuilder setter(String paramString)
  {
    helper.setterName(paramString);
    return this;
  }
  
  public JavaBeanLongPropertyBuilder getter(Method paramMethod)
  {
    helper.getter(paramMethod);
    return this;
  }
  
  public JavaBeanLongPropertyBuilder setter(Method paramMethod)
  {
    helper.setter(paramMethod);
    return this;
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanLongPropertyBuilder
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.PrivilegedAction;
import sun.reflect.misc.MethodUtil;

class JavaBeanObjectProperty$1
  implements PrivilegedAction<T>
{
  JavaBeanObjectProperty$1(JavaBeanObjectProperty paramJavaBeanObjectProperty) {}
  
  public T run()
  {
    try
    {
      return (T)MethodUtil.invoke(JavaBeanObjectProperty.access$000(this$0).getGetter(), this$0.getBean(), (Object[])null);
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      throw new UndeclaredThrowableException(localIllegalAccessException);
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      throw new UndeclaredThrowableException(localInvocationTargetException);
    }
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanObjectProperty.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.binding.ExpressionHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.PrivilegedAction;
import sun.reflect.misc.MethodUtil;

class JavaBeanObjectProperty$2
  implements PrivilegedAction<Void>
{
  JavaBeanObjectProperty$2(JavaBeanObjectProperty paramJavaBeanObjectProperty, Object paramObject) {}
  
  public Void run()
  {
    try
    {
      MethodUtil.invoke(JavaBeanObjectProperty.access$000(this$0).getSetter(), this$0.getBean(), new Object[] { val$value });
      ExpressionHelper.fireValueChangedEvent(JavaBeanObjectProperty.access$100(this$0));
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      throw new UndeclaredThrowableException(localIllegalAccessException);
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      throw new UndeclaredThrowableException(localInvocationTargetException);
    }
    return null;
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanObjectProperty.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.binding.ExpressionHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import com.sun.javafx.property.adapter.PropertyDescriptor.Listener;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.AccessControlContext;
import java.security.AccessController;
import java.security.PrivilegedAction;
import javafx.beans.InvalidationListener;
import javafx.beans.property.ObjectProperty;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import sun.reflect.misc.MethodUtil;

public final class JavaBeanObjectProperty<T>
  extends ObjectProperty<T>
  implements JavaBeanProperty<T>
{
  private final PropertyDescriptor descriptor;
  private final PropertyDescriptor.Listener<T> listener;
  private ObservableValue<? extends T> observable = null;
  private ExpressionHelper<T> helper = null;
  private final AccessControlContext acc = AccessController.getContext();
  
  JavaBeanObjectProperty(PropertyDescriptor paramPropertyDescriptor, Object paramObject)
  {
    descriptor = paramPropertyDescriptor;
    PropertyDescriptor tmp32_31 = paramPropertyDescriptor;
    tmp32_31.getClass();
    listener = new PropertyDescriptor.Listener(tmp32_31, paramObject, this);
    paramPropertyDescriptor.addListener(listener);
  }
  
  protected void finalize()
    throws Throwable
  {
    descriptor.removeListener(listener);
    super.finalize();
  }
  
  public T get()
  {
    (T)AccessController.doPrivileged(new PrivilegedAction()
    {
      public T run()
      {
        try
        {
          return (T)MethodUtil.invoke(descriptor.getGetter(), getBean(), (Object[])null);
        }
        catch (IllegalAccessException localIllegalAccessException)
        {
          throw new UndeclaredThrowableException(localIllegalAccessException);
        }
        catch (InvocationTargetException localInvocationTargetException)
        {
          throw new UndeclaredThrowableException(localInvocationTargetException);
        }
      }
    }, acc);
  }
  
  public void set(final T paramT)
  {
    if (isBound()) {
      throw new RuntimeException("A bound value cannot be set.");
    }
    AccessController.doPrivileged(new PrivilegedAction()
    {
      public Void run()
      {
        try
        {
          MethodUtil.invoke(descriptor.getSetter(), getBean(), new Object[] { paramT });
          ExpressionHelper.fireValueChangedEvent(helper);
        }
        catch (IllegalAccessException localIllegalAccessException)
        {
          throw new UndeclaredThrowableException(localIllegalAccessException);
        }
        catch (InvocationTargetException localInvocationTargetException)
        {
          throw new UndeclaredThrowableException(localInvocationTargetException);
        }
        return null;
      }
    }, acc);
  }
  
  public void bind(ObservableValue<? extends T> paramObservableValue)
  {
    if (paramObservableValue == null) {
      throw new NullPointerException("Cannot bind to null");
    }
    if (!paramObservableValue.equals(observable))
    {
      unbind();
      set(paramObservableValue.getValue());
      observable = paramObservableValue;
      observable.addListener(listener);
    }
  }
  
  public void unbind()
  {
    if (observable != null)
    {
      observable.removeListener(listener);
      observable = null;
    }
  }
  
  public boolean isBound()
  {
    return observable != null;
  }
  
  public Object getBean()
  {
    return listener.getBean();
  }
  
  public String getName()
  {
    return descriptor.getName();
  }
  
  public void addListener(ChangeListener<? super T> paramChangeListener)
  {
    helper = ExpressionHelper.addListener(helper, this, paramChangeListener);
  }
  
  public void removeListener(ChangeListener<? super T> paramChangeListener)
  {
    helper = ExpressionHelper.removeListener(helper, paramChangeListener);
  }
  
  public void addListener(InvalidationListener paramInvalidationListener)
  {
    helper = ExpressionHelper.addListener(helper, this, paramInvalidationListener);
  }
  
  public void removeListener(InvalidationListener paramInvalidationListener)
  {
    helper = ExpressionHelper.removeListener(helper, paramInvalidationListener);
  }
  
  public void fireValueChangedEvent()
  {
    ExpressionHelper.fireValueChangedEvent(helper);
  }
  
  public void dispose()
  {
    descriptor.removeListener(listener);
  }
  
  public String toString()
  {
    Object localObject = getBean();
    String str = getName();
    StringBuilder localStringBuilder = new StringBuilder("ObjectProperty [");
    if (localObject != null) {
      localStringBuilder.append("bean: ").append(localObject).append(", ");
    }
    if ((str != null) && (!str.equals(""))) {
      localStringBuilder.append("name: ").append(str).append(", ");
    }
    if (isBound()) {
      localStringBuilder.append("bound, ");
    }
    localStringBuilder.append("value: ").append(get());
    localStringBuilder.append("]");
    return localStringBuilder.toString();
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanObjectProperty
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.JavaBeanPropertyBuilderHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.Method;

public final class JavaBeanObjectPropertyBuilder<T>
{
  private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();
  
  public static JavaBeanObjectPropertyBuilder create()
  {
    return new JavaBeanObjectPropertyBuilder();
  }
  
  public JavaBeanObjectProperty<T> build()
    throws NoSuchMethodException
  {
    PropertyDescriptor localPropertyDescriptor = helper.getDescriptor();
    return new JavaBeanObjectProperty(localPropertyDescriptor, helper.getBean());
  }
  
  public JavaBeanObjectPropertyBuilder name(String paramString)
  {
    helper.name(paramString);
    return this;
  }
  
  public JavaBeanObjectPropertyBuilder bean(Object paramObject)
  {
    helper.bean(paramObject);
    return this;
  }
  
  public JavaBeanObjectPropertyBuilder beanClass(Class<?> paramClass)
  {
    helper.beanClass(paramClass);
    return this;
  }
  
  public JavaBeanObjectPropertyBuilder getter(String paramString)
  {
    helper.getterName(paramString);
    return this;
  }
  
  public JavaBeanObjectPropertyBuilder setter(String paramString)
  {
    helper.setterName(paramString);
    return this;
  }
  
  public JavaBeanObjectPropertyBuilder getter(Method paramMethod)
  {
    helper.getter(paramMethod);
    return this;
  }
  
  public JavaBeanObjectPropertyBuilder setter(Method paramMethod)
  {
    helper.setter(paramMethod);
    return this;
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanObjectPropertyBuilder
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import javafx.beans.property.Property;

public abstract interface JavaBeanProperty<T>
  extends ReadOnlyJavaBeanProperty<T>, Property<T>
{}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanProperty
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.PrivilegedAction;
import sun.reflect.misc.MethodUtil;

class JavaBeanStringProperty$1
  implements PrivilegedAction<String>
{
  JavaBeanStringProperty$1(JavaBeanStringProperty paramJavaBeanStringProperty) {}
  
  public String run()
  {
    try
    {
      return (String)MethodUtil.invoke(JavaBeanStringProperty.access$000(this$0).getGetter(), this$0.getBean(), (Object[])null);
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      throw new UndeclaredThrowableException(localIllegalAccessException);
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      throw new UndeclaredThrowableException(localInvocationTargetException);
    }
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanStringProperty.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.binding.ExpressionHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.PrivilegedAction;
import sun.reflect.misc.MethodUtil;

class JavaBeanStringProperty$2
  implements PrivilegedAction<Void>
{
  JavaBeanStringProperty$2(JavaBeanStringProperty paramJavaBeanStringProperty, String paramString) {}
  
  public Void run()
  {
    try
    {
      MethodUtil.invoke(JavaBeanStringProperty.access$000(this$0).getSetter(), this$0.getBean(), new Object[] { val$value });
      ExpressionHelper.fireValueChangedEvent(JavaBeanStringProperty.access$100(this$0));
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      throw new UndeclaredThrowableException(localIllegalAccessException);
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      throw new UndeclaredThrowableException(localInvocationTargetException);
    }
    return null;
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanStringProperty.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.binding.ExpressionHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import com.sun.javafx.property.adapter.PropertyDescriptor.Listener;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.AccessControlContext;
import java.security.AccessController;
import java.security.PrivilegedAction;
import javafx.beans.InvalidationListener;
import javafx.beans.property.StringProperty;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import sun.reflect.misc.MethodUtil;

public final class JavaBeanStringProperty
  extends StringProperty
  implements JavaBeanProperty<String>
{
  private final PropertyDescriptor descriptor;
  private final PropertyDescriptor.Listener<String> listener;
  private ObservableValue<? extends String> observable = null;
  private ExpressionHelper<String> helper = null;
  private final AccessControlContext acc = AccessController.getContext();
  
  JavaBeanStringProperty(PropertyDescriptor paramPropertyDescriptor, Object paramObject)
  {
    descriptor = paramPropertyDescriptor;
    PropertyDescriptor tmp32_31 = paramPropertyDescriptor;
    tmp32_31.getClass();
    listener = new PropertyDescriptor.Listener(tmp32_31, paramObject, this);
    paramPropertyDescriptor.addListener(listener);
  }
  
  protected void finalize()
    throws Throwable
  {
    descriptor.removeListener(listener);
    super.finalize();
  }
  
  public String get()
  {
    (String)AccessController.doPrivileged(new PrivilegedAction()
    {
      public String run()
      {
        try
        {
          return (String)MethodUtil.invoke(descriptor.getGetter(), getBean(), (Object[])null);
        }
        catch (IllegalAccessException localIllegalAccessException)
        {
          throw new UndeclaredThrowableException(localIllegalAccessException);
        }
        catch (InvocationTargetException localInvocationTargetException)
        {
          throw new UndeclaredThrowableException(localInvocationTargetException);
        }
      }
    }, acc);
  }
  
  public void set(final String paramString)
  {
    if (isBound()) {
      throw new RuntimeException("A bound value cannot be set.");
    }
    AccessController.doPrivileged(new PrivilegedAction()
    {
      public Void run()
      {
        try
        {
          MethodUtil.invoke(descriptor.getSetter(), getBean(), new Object[] { paramString });
          ExpressionHelper.fireValueChangedEvent(helper);
        }
        catch (IllegalAccessException localIllegalAccessException)
        {
          throw new UndeclaredThrowableException(localIllegalAccessException);
        }
        catch (InvocationTargetException localInvocationTargetException)
        {
          throw new UndeclaredThrowableException(localInvocationTargetException);
        }
        return null;
      }
    }, acc);
  }
  
  public void bind(ObservableValue<? extends String> paramObservableValue)
  {
    if (paramObservableValue == null) {
      throw new NullPointerException("Cannot bind to null");
    }
    if (!paramObservableValue.equals(observable))
    {
      unbind();
      set((String)paramObservableValue.getValue());
      observable = paramObservableValue;
      observable.addListener(listener);
    }
  }
  
  public void unbind()
  {
    if (observable != null)
    {
      observable.removeListener(listener);
      observable = null;
    }
  }
  
  public boolean isBound()
  {
    return observable != null;
  }
  
  public Object getBean()
  {
    return listener.getBean();
  }
  
  public String getName()
  {
    return descriptor.getName();
  }
  
  public void addListener(ChangeListener<? super String> paramChangeListener)
  {
    helper = ExpressionHelper.addListener(helper, this, paramChangeListener);
  }
  
  public void removeListener(ChangeListener<? super String> paramChangeListener)
  {
    helper = ExpressionHelper.removeListener(helper, paramChangeListener);
  }
  
  public void addListener(InvalidationListener paramInvalidationListener)
  {
    helper = ExpressionHelper.addListener(helper, this, paramInvalidationListener);
  }
  
  public void removeListener(InvalidationListener paramInvalidationListener)
  {
    helper = ExpressionHelper.removeListener(helper, paramInvalidationListener);
  }
  
  public void fireValueChangedEvent()
  {
    ExpressionHelper.fireValueChangedEvent(helper);
  }
  
  public void dispose()
  {
    descriptor.removeListener(listener);
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanStringProperty
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.JavaBeanPropertyBuilderHelper;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import java.lang.reflect.Method;

public final class JavaBeanStringPropertyBuilder
{
  private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();
  
  public static JavaBeanStringPropertyBuilder create()
  {
    return new JavaBeanStringPropertyBuilder();
  }
  
  public JavaBeanStringProperty build()
    throws NoSuchMethodException
  {
    PropertyDescriptor localPropertyDescriptor = helper.getDescriptor();
    if (!String.class.equals(localPropertyDescriptor.getType())) {
      throw new IllegalArgumentException("Not a String property");
    }
    return new JavaBeanStringProperty(localPropertyDescriptor, helper.getBean());
  }
  
  public JavaBeanStringPropertyBuilder name(String paramString)
  {
    helper.name(paramString);
    return this;
  }
  
  public JavaBeanStringPropertyBuilder bean(Object paramObject)
  {
    helper.bean(paramObject);
    return this;
  }
  
  public JavaBeanStringPropertyBuilder beanClass(Class<?> paramClass)
  {
    helper.beanClass(paramClass);
    return this;
  }
  
  public JavaBeanStringPropertyBuilder getter(String paramString)
  {
    helper.getterName(paramString);
    return this;
  }
  
  public JavaBeanStringPropertyBuilder setter(String paramString)
  {
    helper.setterName(paramString);
    return this;
  }
  
  public JavaBeanStringPropertyBuilder getter(Method paramMethod)
  {
    helper.getter(paramMethod);
    return this;
  }
  
  public JavaBeanStringPropertyBuilder setter(Method paramMethod)
  {
    helper.setter(paramMethod);
    return this;
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.JavaBeanStringPropertyBuilder
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.ReadOnlyPropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.PrivilegedAction;
import sun.reflect.misc.MethodUtil;

class ReadOnlyJavaBeanBooleanProperty$1
  implements PrivilegedAction<Boolean>
{
  ReadOnlyJavaBeanBooleanProperty$1(ReadOnlyJavaBeanBooleanProperty paramReadOnlyJavaBeanBooleanProperty) {}
  
  public Boolean run()
  {
    try
    {
      return (Boolean)MethodUtil.invoke(ReadOnlyJavaBeanBooleanProperty.access$000(this$0).getGetter(), this$0.getBean(), (Object[])null);
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      throw new UndeclaredThrowableException(localIllegalAccessException);
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      throw new UndeclaredThrowableException(localInvocationTargetException);
    }
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.ReadOnlyJavaBeanBooleanProperty.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.ReadOnlyPropertyDescriptor;
import com.sun.javafx.property.adapter.ReadOnlyPropertyDescriptor.ReadOnlyListener;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.AccessControlContext;
import java.security.AccessController;
import java.security.PrivilegedAction;
import javafx.beans.property.ReadOnlyBooleanPropertyBase;
import sun.reflect.misc.MethodUtil;

public final class ReadOnlyJavaBeanBooleanProperty
  extends ReadOnlyBooleanPropertyBase
  implements ReadOnlyJavaBeanProperty<Boolean>
{
  private final ReadOnlyPropertyDescriptor descriptor;
  private final ReadOnlyPropertyDescriptor.ReadOnlyListener<Boolean> listener;
  private final AccessControlContext acc = AccessController.getContext();
  
  ReadOnlyJavaBeanBooleanProperty(ReadOnlyPropertyDescriptor paramReadOnlyPropertyDescriptor, Object paramObject)
  {
    descriptor = paramReadOnlyPropertyDescriptor;
    ReadOnlyPropertyDescriptor tmp22_21 = paramReadOnlyPropertyDescriptor;
    tmp22_21.getClass();
    listener = new ReadOnlyPropertyDescriptor.ReadOnlyListener(tmp22_21, paramObject, this);
    paramReadOnlyPropertyDescriptor.addListener(listener);
  }
  
  protected void finalize()
    throws Throwable
  {
    descriptor.removeListener(listener);
    super.finalize();
  }
  
  public boolean get()
  {
    ((Boolean)AccessController.doPrivileged(new PrivilegedAction()
    {
      public Boolean run()
      {
        try
        {
          return (Boolean)MethodUtil.invoke(descriptor.getGetter(), getBean(), (Object[])null);
        }
        catch (IllegalAccessException localIllegalAccessException)
        {
          throw new UndeclaredThrowableException(localIllegalAccessException);
        }
        catch (InvocationTargetException localInvocationTargetException)
        {
          throw new UndeclaredThrowableException(localInvocationTargetException);
        }
      }
    }, acc)).booleanValue();
  }
  
  public Object getBean()
  {
    return listener.getBean();
  }
  
  public String getName()
  {
    return descriptor.getName();
  }
  
  public void fireValueChangedEvent()
  {
    super.fireValueChangedEvent();
  }
  
  public void dispose()
  {
    descriptor.removeListener(listener);
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.ReadOnlyJavaBeanBooleanProperty
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.ReadOnlyJavaBeanPropertyBuilderHelper;
import com.sun.javafx.property.adapter.ReadOnlyPropertyDescriptor;
import java.lang.reflect.Method;

public final class ReadOnlyJavaBeanBooleanPropertyBuilder
{
  private final ReadOnlyJavaBeanPropertyBuilderHelper helper = new ReadOnlyJavaBeanPropertyBuilderHelper();
  
  public static ReadOnlyJavaBeanBooleanPropertyBuilder create()
  {
    return new ReadOnlyJavaBeanBooleanPropertyBuilder();
  }
  
  public ReadOnlyJavaBeanBooleanProperty build()
    throws NoSuchMethodException
  {
    ReadOnlyPropertyDescriptor localReadOnlyPropertyDescriptor = helper.getDescriptor();
    if ((!Boolean.TYPE.equals(localReadOnlyPropertyDescriptor.getType())) && (!Boolean.class.equals(localReadOnlyPropertyDescriptor.getType()))) {
      throw new IllegalArgumentException("Not a boolean property");
    }
    return new ReadOnlyJavaBeanBooleanProperty(localReadOnlyPropertyDescriptor, helper.getBean());
  }
  
  public ReadOnlyJavaBeanBooleanPropertyBuilder name(String paramString)
  {
    helper.name(paramString);
    return this;
  }
  
  public ReadOnlyJavaBeanBooleanPropertyBuilder bean(Object paramObject)
  {
    helper.bean(paramObject);
    return this;
  }
  
  public ReadOnlyJavaBeanBooleanPropertyBuilder beanClass(Class<?> paramClass)
  {
    helper.beanClass(paramClass);
    return this;
  }
  
  public ReadOnlyJavaBeanBooleanPropertyBuilder getter(String paramString)
  {
    helper.getterName(paramString);
    return this;
  }
  
  public ReadOnlyJavaBeanBooleanPropertyBuilder getter(Method paramMethod)
  {
    helper.getter(paramMethod);
    return this;
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.ReadOnlyJavaBeanBooleanPropertyBuilder
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.ReadOnlyPropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.PrivilegedAction;
import sun.reflect.misc.MethodUtil;

class ReadOnlyJavaBeanDoubleProperty$1
  implements PrivilegedAction<Double>
{
  ReadOnlyJavaBeanDoubleProperty$1(ReadOnlyJavaBeanDoubleProperty paramReadOnlyJavaBeanDoubleProperty) {}
  
  public Double run()
  {
    try
    {
      return Double.valueOf(((Number)MethodUtil.invoke(ReadOnlyJavaBeanDoubleProperty.access$000(this$0).getGetter(), this$0.getBean(), (Object[])null)).doubleValue());
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
      throw new UndeclaredThrowableException(localIllegalAccessException);
    }
    catch (InvocationTargetException localInvocationTargetException)
    {
      throw new UndeclaredThrowableException(localInvocationTargetException);
    }
  }
}

/* Location:
 * Qualified Name:     javafx.beans.property.adapter.ReadOnlyJavaBeanDoubleProperty.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package javafx.beans.property.adapter;

import com.sun.javafx.property.adapter.ReadOnlyPropertyDescriptor;
import com.sun.javafx.property.adapter.ReadOnlyPropertyDescriptor.ReadOnlyListener;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.UndeclaredThrowableException;
import java.security.AccessControlContext;
import java.security.AccessController;
import java.security.PrivilegedAction;
import javafx.beans.property.ReadOnlyDoublePropertyBase;
import sun.reflect.misc.MethodUtil;

public final class ReadOnlyJavaBeanDoubleProperty
  extends ReadOnlyDoublePropertyBase
  implements ReadOnlyJavaBeanProperty<Number>
{
  private final ReadOnlyPropertyDescriptor descriptor;
  private final ReadOnlyPropertyDescriptor.ReadOnlyListener<Number> listener;
  private final AccessControlContext acc = AccessController.getContext();
  
  ReadOnlyJavaBeanDoubleProperty(ReadOnlyPropertyDescriptor paramReadOnlyPropertyDescriptor, Object paramObject)
  {
    descriptor = paramReadOnlyPropertyDescriptor;
    ReadOnlyPropertyDescriptor tmp22_21 = paramReadOnlyPropertyDescriptor;
    tmp22_21.getClass();
    listener = new ReadOnlyPropertyDescriptor.ReadOnlyListener(tmp22_21, paramObject, this);
    paramReadOnlyPropertyDescriptor.addListener(listener);
  }
  
  protected void finalize()
    throws Throwable
  {
    descriptor.removeListener(listener);
    super.finalize();
  }
  
  public double get()
  {
    ((Double)AccessController.doPrivileged(new PrivilegedAction()
    {
      public Double run()
      {
        try
        {
          return Double.valueOf(((Number)MethodUtil.invoke(descriptor.getGetter(), getBean(), (Object[])null)).doubleValue());
        }
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