com.cc.framework.ui.painter.html
Interface OptionsComparator

All Known Implementing Classes:
LiteralOptionsComparator, StrutsSelectTagComparator

public interface OptionsComparator

Interface OptionsComparator

Since:
1.0
Version:
$Revision: 1.9 $
Author:
Harald Schulz

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)
          Checks if the specified Option is selected
 

Method Detail

match

public boolean match(java.lang.Object option)
Checks if the specified Option is selected

Parameters:
option - The option to test
Returns:
true if the option is selected; false otherwise.

indexOf

public int indexOf(java.lang.Object option)
returns the index of the element that matches the given value

Parameters:
option - The option to test
Returns:
>= 0 if the option is selected; -1 otherwise.


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.