com.cc.framework.ui
Class RegExpImageMap

java.lang.Object
  extended bycom.cc.framework.ui.AbstractImageMap
      extended bycom.cc.framework.ui.RegExpImageMap
All Implemented Interfaces:
ImageMap, java.io.Serializable

public class RegExpImageMap
extends AbstractImageMap

Provides an image map, which associates regulare expressions with images.

Since:
1.0
Version:
$Revision$
Author:
Harald Schulz
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.cc.framework.ui.AbstractImageMap
AbstractImageMap.ImageMapping
 
Field Summary
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.AbstractImageMap
 
Constructor Summary
RegExpImageMap()
          Constructor for ImageMap
 
Method Summary
protected  boolean match(AbstractImageMap.ImageMapping mapping, java.lang.Object value)
          A derived class has to implement this abstract method and implement a strategy how values are mapped on Image Mappings.
 
Methods inherited from class com.cc.framework.ui.AbstractImageMap
addImage, getBase, getMappings, getName, getRunat, iterator, mapValueToImage, setBase, setName, setRunat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values
Constructor Detail

RegExpImageMap

public RegExpImageMap()
Constructor for ImageMap

Method Detail

match

protected boolean match(AbstractImageMap.ImageMapping mapping,
                        java.lang.Object value)
                 throws java.lang.Exception
Description copied from class: AbstractImageMap
A derived class has to implement this abstract method and implement a strategy how values are mapped on Image Mappings.

Specified by:
match in class AbstractImageMap
Parameters:
mapping - The Image Mapping
value - the key
Returns:
return when the mapping matches the given key
Throws:
java.lang.Exception - Is thrown when an error occurs
See Also:
AbstractImageMap.match(com.cc.framework.ui.AbstractImageMap.ImageMapping, java.lang.Object)


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