litesoft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.litesoft.GWT.client.ui.inspection;
public abstract class NthWidgetSelector implements WidgetSelector
{
private Integer mNth;
private int mFound = -1;
protected NthWidgetSelector( Integer pNth )
{
mNth = pNth;
}
protected boolean foundNth( boolean pAcceptable )
{
if ( !pAcceptable )
{
return false;
}
mFound++;
return (mNth == null) || (mFound == mNth);
}
}
|
Revision |
Author |
Commited |
Message |
610
|
GeorgeS
|
Mon 12 Mar, 2012 00:54:00 +0000 |
|