org.springframework.binding.value
Interface IndexAdapter

All Superinterfaces:
ValueModel
All Known Implementing Classes:
AbstractIndexAdapter, GrowableIndexAdapter

public interface IndexAdapter
extends ValueModel

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().


Field Summary
 
Fields inherited from interface org.springframework.binding.value.ValueModel
VALUE_PROPERTY
 
Method Summary
 void fireIndexedObjectChanged()
          Code to be executed when the index has changed.
 int getIndex()
          Returns the index of the item which is currently being manipulated.
 void setIndex(int index)
          Set the index of the item to manipulate.
 
Methods inherited from interface org.springframework.binding.value.ValueModel
addValueChangeListener, getValue, removeValueChangeListener, setValue, setValueSilently
 

Method Detail

getIndex

int getIndex()
Returns the index of the item which is currently being manipulated.


setIndex

void setIndex(int index)
Set the index of the item to manipulate.


fireIndexedObjectChanged

void fireIndexedObjectChanged()
Code to be executed when the index has changed.



Copyright © 2004-2008 The Spring Framework. All Rights Reserved.