com.cc.framework.ui.model.imp
Class RatingDesignModelImp

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ClientHandlerImp
      extended bycom.cc.framework.ui.model.imp.ControlDesignModelImp
          extended bycom.cc.framework.ui.model.imp.RatingDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel, RatingDesignModel, java.io.Serializable

public class RatingDesignModelImp
extends ControlDesignModelImp
implements RatingDesignModel

Implementation of the rating control design model

Version:
$Revision: 1.2 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.lang.String emptyText
          Text to display if a empty list is shown.
private  boolean filter
          Specifies if all String should be converted into valid HTML Strings
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Fields inherited from interface com.cc.framework.ui.model.RatingDesignModel
COL_BAR, COL_DETAIL, COL_LABEL, COL_RATIO, COL_VALUE
 
Constructor Summary
RatingDesignModelImp()
           
 
Method Summary
 java.lang.String getEmptyText()
          A text that is output in the body of the gauge element if there are no items available
 boolean getFilter()
          Returns the Filter setting
 ImageMap getImageMap()
          Returns the associated ImageMap
 void setEmptyText(java.lang.String emptyText)
          Sets the text that is output in the body of the gauge element if there are no items available
 void setFilter(boolean filter)
          Sets the Filter.
 void setImageMap(ImageMap map)
          Specifies the name of an image map.
 
Methods inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth, show
 
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
evaluate, getHandler, getHandlers, setHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth
 
Methods inherited from interface com.cc.framework.ui.model.ClientHandler
getHandler, getHandlers, setHandler
 
Methods inherited from interface com.cc.framework.ui.model.AccessControlled
getPermission, show
 
Methods inherited from interface com.cc.framework.ui.model.ActionBehavior
isAjaxEnabled
 
Methods inherited from interface com.cc.framework.ui.model.AjaxSupport
enableAjax, isAjaxEnabled
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

filter

private boolean filter
Specifies if all String should be converted into valid HTML Strings


emptyText

private java.lang.String emptyText
Text to display if a empty list is shown. The default text is "no items".

Constructor Detail

RatingDesignModelImp

public RatingDesignModelImp()
Method Detail

getFilter

public boolean getFilter()
Description copied from interface: RatingDesignModel
Returns the Filter setting

Specified by:
getFilter in interface RatingDesignModel
Returns:
boolean
See Also:
RatingDesignModel.getFilter()

getImageMap

public ImageMap getImageMap()
Description copied from interface: RatingDesignModel
Returns the associated ImageMap

Specified by:
getImageMap in interface RatingDesignModel
Returns:
ImageMap
See Also:
RatingDesignModel.getImageMap()

setFilter

public void setFilter(boolean filter)
Description copied from interface: RatingDesignModel
Sets the Filter. If set to true, all String will be converted into valid HTML-strings

Specified by:
setFilter in interface RatingDesignModel
Parameters:
filter - true if Strings should be HTML encoded
See Also:
RatingDesignModel.setFilter(boolean)

setImageMap

public void setImageMap(ImageMap map)
Description copied from interface: RatingDesignModel
Specifies the name of an image map.

Specified by:
setImageMap in interface RatingDesignModel
Parameters:
map - ImageMap
See Also:
RatingDesignModel.setImageMap(com.cc.framework.ui.ImageMap)

getEmptyText

public java.lang.String getEmptyText()
Description copied from interface: RatingDesignModel
A text that is output in the body of the gauge element if there are no items available

Specified by:
getEmptyText in interface RatingDesignModel
Returns:
String
See Also:
RatingDesignModel.getEmptyText()

setEmptyText

public void setEmptyText(java.lang.String emptyText)
Description copied from interface: RatingDesignModel
Sets the text that is output in the body of the gauge element if there are no items available

Specified by:
setEmptyText in interface RatingDesignModel
Parameters:
emptyText - Text
See Also:
RatingDesignModel.setEmptyText(java.lang.String)


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