// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) fieldsfirst 
// Source File Name:   ArrayElementProvider.java

package lt.ktu.gmj.propertySheet;


// Referenced classes of package lt.ktu.gmj.propertySheet:
//			SimplePropertyProvider, InvalidPropertyException, SimplePropertyNotifier

public class ArrayElementProvider extends SimplePropertyProvider
{

	private Object array[];
	private int index;

	public Object get()
	{
		return array[index];
	}

	public void set(Object obj)
		throws InvalidPropertyException
	{
		array[index] = obj;
	}

	public void refreshed()
	{
		refresh();
	}

	public ArrayElementProvider(Object aobj[], int i)
	{
		array = aobj;
		index = i;
	}
}
