|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.taglib.StrutsSelectTagComparator
Specialised options Comparator for integration with the Struts Framework
Field Summary | |
private org.apache.struts.taglib.html.SelectTag |
tag
Select Tag |
Constructor Summary | |
StrutsSelectTagComparator(org.apache.struts.taglib.html.SelectTag tag)
Constructor |
Method Summary | |
int |
indexOf(java.lang.Object option)
returns the index of the element that matches the given value |
boolean |
match(java.lang.Object option)
Metode match |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private org.apache.struts.taglib.html.SelectTag tag
Constructor Detail |
public StrutsSelectTagComparator(org.apache.struts.taglib.html.SelectTag tag)
tag
- SelectTagMethod Detail |
public boolean match(java.lang.Object option)
match
in interface OptionsComparator
option
- String to macth
public int indexOf(java.lang.Object option)
OptionsComparator
indexOf
in interface OptionsComparator
option
- The option to test
>= 0
if the option is selected; -1
otherwise.OptionsComparator.indexOf(java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |