All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.valkyriercp.binding.value.IndexAdapter Maven / Gradle / Ivy

There is a newer version: 1.3
Show newest version
package org.valkyriercp.binding.value;

/**
 * Adds an index aspect to the backing object mostly used by collection type
 * backing objects. The index can be set to point to a specific item which can
 * be manipulated using get/setValue().
 */
public interface IndexAdapter extends ValueModel {

	/**
	 * Returns the index of the item which is currently being manipulated.
	 */
	public int getIndex();

	/**
	 * Set the index of the item to manipulate.
	 */
	public void setIndex(int index);

	/**
	 * Code to be executed when the index has changed.
	 */
	public void fireIndexedObjectChanged();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy