|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.scopemvc.core.Selector
|
+--org.scopemvc.core.IntIndexSelector
An implementation of Selector that identifies a property by its
int index within the parent model object. This is used to access
properties in java.util.List and Object[].
Created by Selector.fromInt(int) or Selector.fromString(String).
| Field Summary |
| Fields inherited from class org.scopemvc.core.Selector |
DELIMITER |
| Method Summary | |
int |
getIndex()
Gets the index of the property in the list or Object[] |
java.lang.String |
getName()
Gets the name of the selector |
protected Selector |
getShallowCopy()
Creates a shallow copy of this selector |
int |
hashCode()
Returns the hashCode |
void |
setIndex(int inIndex)
Sets the index |
protected boolean |
shallowEquals(Selector inSelector)
Returns true if this Selector is equals to the given Selector when omitting the chained Selectors |
| Methods inherited from class org.scopemvc.core.Selector |
asString, chain, deepClone, equals, fromInt, fromString, getLast, getNext, removeLast, removeLast, setNext, startsWith, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public int getIndex()
public java.lang.String getName()
getName in class Selectorpublic void setIndex(int inIndex)
inIndex - The new index valuepublic int hashCode()
hashCode in class java.lang.Objectprotected Selector getShallowCopy()
getShallowCopy in class Selectorprotected boolean shallowEquals(Selector inSelector)
shallowEquals in class SelectorinSelector - Another Selector to test against
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||