|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.control.VirtualListLineIterator
Class VirtualListLineIterator iterates only the in memory Rows of a virtual List
Field Summary | |
private int |
current
The current position |
private VirtualListDataModel |
dataModel
The data model |
private Principal |
principal
The principal object with the users permission |
private ListStateModel |
state
The state model |
Constructor Summary | |
VirtualListLineIterator(ListStateModel state,
VirtualListDataModel 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 VirtualListDataModel dataModel
private Principal principal
Constructor Detail |
public VirtualListLineIterator(ListStateModel state, VirtualListDataModel dataModel, Principal principal)
state
- The state modeldataModel
- The data model for the list to be processedprincipal
- The principal objectMethod Detail |
public boolean done()
LineIterator
done
in interface LineIterator
LineIterator.done()
public java.lang.Object current()
LineIterator
current
in interface LineIterator
LineIterator.current()
public java.lang.Object current(java.lang.String property)
LineIterator
current
in interface LineIterator
property
- Bean Property Name
LineIterator.current(String property)
public boolean isValidProperty(java.lang.String property)
LineIterator
isValidProperty
in interface LineIterator
property
- 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 LineIterator
LineIterator.currentKey()
public int currentCheckState()
LineIterator
currentCheckState
in interface LineIterator
LineIterator.currentCheckState()
public int currentIndex()
currentIndex
in interface LineIterator
public void next()
LineIterator
next
in interface LineIterator
LineIterator.next()
public void prev()
LineIterator
prev
in interface LineIterator
LineIterator.prev()
public boolean isMarked()
LineIterator
isMarked
in interface LineIterator
LineIterator.isMarked()
public void reset()
LineIterator
reset
in interface LineIterator
LineIterator.reset()
public Principal getPrincipal()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |