de.folt.models.applicationmodel.guimodel.support
Class OpenTMSStyleRangeProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.String,OpenTMSStyleRangeProperty>
          extended by de.folt.models.applicationmodel.guimodel.support.OpenTMSStyleRangeProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,OpenTMSStyleRangeProperty>

public class OpenTMSStyleRangeProperties
extends java.util.Hashtable<java.lang.String,OpenTMSStyleRangeProperty>

This class implements a simple association of properties to a StyleRang. Basically it uses (for the moment) range.background.toString() + range.foreground.toString() to create a string key for the StyleRange.
This will be improved in the future.

Author:
klemens
See Also:
Serialized Form

Constructor Summary
OpenTMSStyleRangeProperties()
           
 
Method Summary
 boolean containsKey(org.eclipse.swt.custom.StyleRange range)
           
 OpenTMSStyleRangeProperty get(org.eclipse.swt.custom.StyleRange range)
           
static void main(java.lang.String[] args)
          main
 java.lang.Object OpenTMSStyleRangeProperty(org.eclipse.swt.custom.StyleRange range)
           
 OpenTMSStyleRangeProperty put(org.eclipse.swt.custom.StyleRange range, OpenTMSStyleRangeProperty property)
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenTMSStyleRangeProperties

public OpenTMSStyleRangeProperties()
Method Detail

main

public static void main(java.lang.String[] args)
main

Parameters:
args -

containsKey

public boolean containsKey(org.eclipse.swt.custom.StyleRange range)

get

public OpenTMSStyleRangeProperty get(org.eclipse.swt.custom.StyleRange range)

OpenTMSStyleRangeProperty

public java.lang.Object OpenTMSStyleRangeProperty(org.eclipse.swt.custom.StyleRange range)

put

public OpenTMSStyleRangeProperty put(org.eclipse.swt.custom.StyleRange range,
                                     OpenTMSStyleRangeProperty property)