contents   index   previous   next

interface: SEMaxIndexCallback


   public int getMaxIndex(SEContext se);


Return the maximum index of the members of your objects which is equal to the number of members minus one.




For all of the above callbacks, the SE.DYNA_UNDEF flag will cause your dynamic property to be called only if the object does not contain the property in its internal storage. This is useful for speed. When your dynamic put callback is invoked on a property, if that property is not special, you can return false to put it into the object's internal storage. From then on, that property will be treated normally. The properties you are interested in you do not store in the object, you handle them in your callback. They will continue to be routed through your callbacks each time they are accessed.