planetj.dataengine.theme
Class ImagePathsPG

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byplanetj.property.PropertyGroup
              extended byplanetj.property.DefaultPropertyGroup
                  extended byplanetj.dataengine.theme.ImagePathsPG
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.util.Map, java.io.Serializable

public class ImagePathsPG
extends DefaultPropertyGroup

See Also:
Serialized Form

Field Summary
static java.lang.String IMAGE_PATHS
           
static java.lang.String SORT_ASC
           
static java.lang.String SORT_ASC_SORTED
           
static java.lang.String SORT_DSC
           
static java.lang.String SORT_DSC_SORTED
           
static java.lang.String VIEW
           
 
Fields inherited from class planetj.property.PropertyGroup
ALL, ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, FLOAT_PROPERTY, INTEGER_PROPERTY, JAVA_CLASS_PROPERTY, LIST_PROPERTY, MAP_PROPERTY, NONE, ROW_COLLECTION_KEY, STRING_PROPERTY
 
Constructor Summary
ImagePathsPG()
          DisplayPropertyGroup constructor comment.
ImagePathsPG(int initialCapacity)
          DisplayPropertyGroup constructor comment.
ImagePathsPG(java.lang.String pName)
          DisplayPropertyGroup constructor comment.
 
Method Summary
 ImagePathsPG cloneImagePaths()
          Clones the image paths.
 java.lang.String getImagePath(java.lang.String key)
          Get the path to the image for the given key.
 java.lang.String getSortingImagePath(boolean isASC, boolean sorted)
          Convience method added to get the path to a sorting link
 java.lang.String getViewImagePath()
          Convience method added to get the path for the view icon to show on a results table.
static ImagePathsPG updateProperties(ImagePathsPG current, ImagePathsPG newProps)
          Updates all properties in the "current" property group from those in the "new" property group
 
Methods inherited from class planetj.property.DefaultPropertyGroup
getAllPropertyNames, getDefaultPropertiesString, getRequiredPropertyNames, propertyType
 
Methods inherited from class planetj.property.PropertyGroup
add, addProperty, addProperty, append, clone, compareTo, compareTo, compareTo, containsProperty, copyUndefinedPropertiesFrom, createProperty, createValue, getAllMetapropertyNames, getAllSetBooleanPropertyNames, getAllSetIntPropertyNames, getAllSetListPropertyNames, getAllSetPropertyNames, getAllSetStringPropertyNames, getBooleanValue, getDateFormat, getDateValue, getDoubleValue, getFloatValue, getIntValue, getJavaClassValue, getListValue, getMapValue, getName, getProperty, getPropertyType, getStringValue, getValue, isMergeableOnList, isMetaproperty, iterator, mergeOnList, metapropertyType, put, put, put, setName, toString, updateProperty, validate, validateMetadata, validateMetadataBoolean
 
Methods inherited from class java.util.HashMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

IMAGE_PATHS

public static final java.lang.String IMAGE_PATHS
See Also:
Constant Field Values

SORT_ASC

public static java.lang.String SORT_ASC

SORT_DSC

public static java.lang.String SORT_DSC

SORT_ASC_SORTED

public static java.lang.String SORT_ASC_SORTED

SORT_DSC_SORTED

public static java.lang.String SORT_DSC_SORTED

VIEW

public static java.lang.String VIEW
Constructor Detail

ImagePathsPG

public ImagePathsPG()
DisplayPropertyGroup constructor comment.


ImagePathsPG

public ImagePathsPG(int initialCapacity)
DisplayPropertyGroup constructor comment.

Parameters:
initialCapacity - int

ImagePathsPG

public ImagePathsPG(java.lang.String pName)
DisplayPropertyGroup constructor comment.

Parameters:
pName - java.lang.String
Method Detail

cloneImagePaths

public ImagePathsPG cloneImagePaths()
Clones the image paths.


getImagePath

public java.lang.String getImagePath(java.lang.String key)
Get the path to the image for the given key.


getSortingImagePath

public java.lang.String getSortingImagePath(boolean isASC,
                                            boolean sorted)
Convience method added to get the path to a sorting link


getViewImagePath

public java.lang.String getViewImagePath()
Convience method added to get the path for the view icon to show on a results table.


updateProperties

public static ImagePathsPG updateProperties(ImagePathsPG current,
                                            ImagePathsPG newProps)
Updates all properties in the "current" property group from those in the "new" property group