|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.control.VirtualKeyListLineIterator
Class VirtualKeyListLineIterator iterates only the in memory Rows of a virtual key List
| Field Summary | |
private int |
current
The current position |
private VirtualKeyListDataModel |
dataModel
The data model |
private Principal |
principal
The principal object with the users permission |
private ListStateModel |
state
The state model |
| Constructor Summary | |
VirtualKeyListLineIterator(ListStateModel state,
VirtualKeyListDataModel dataModel,
Principal principal)
Constructor |
|
| Method Summary | |
java.lang.Object |
current()
Returns the Object at the current position |
java.lang.Object |
current(java.lang.String property)
Method current |
int |
currentCheckState()
Returns the Check state -1 = The Item can not be checked. |
int |
currentIndex()
Returns the current row index |
java.lang.String |
currentKey()
Method curentKey |
boolean |
done()
Checks if all items are processed |
Principal |
getPrincipal()
|
boolean |
isMarked()
Checks if the current Item is highlighted |
boolean |
isValidProperty(java.lang.String property)
Checks if the current iteration element has the given property |
void |
next()
Moves to the next element |
void |
prev()
Moves to the previous element |
void |
reset()
resets the iterator to the first element of the collection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int current
private ListStateModel state
private VirtualKeyListDataModel dataModel
private Principal principal
| Constructor Detail |
public VirtualKeyListLineIterator(ListStateModel state,
VirtualKeyListDataModel dataModel,
Principal principal)
state - The state modeldataModel - The data model for the list to be processedprincipal - The principal object| Method Detail |
public boolean done()
LineIterator
done in interface LineIteratorLineIterator.done()public java.lang.Object current()
LineIterator
current in interface LineIteratorLineIterator.current()public java.lang.Object current(java.lang.String property)
LineIterator
current in interface LineIteratorproperty - Bean Property Name
LineIterator.current(String property)public boolean isValidProperty(java.lang.String property)
LineIterator
isValidProperty in interface LineIteratorproperty - the property name
true if the current bean possesses a matching
propertyLineIterator.isValidProperty(java.lang.String)public java.lang.String currentKey()
LineIterator
currentKey in interface LineIteratorLineIterator.currentKey()public int currentCheckState()
LineIterator
currentCheckState in interface LineIteratorLineIterator.currentCheckState()public int currentIndex()
currentIndex in interface LineIteratorpublic void next()
LineIterator
next in interface LineIteratorLineIterator.next()public void prev()
LineIterator
prev in interface LineIteratorLineIterator.prev()public boolean isMarked()
LineIterator
isMarked in interface LineIteratorLineIterator.isMarked()public void reset()
LineIterator
reset in interface LineIteratorLineIterator.reset()public Principal getPrincipal()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||