com.cc.framework.ui.model
Interface RatingDesignModel

All Superinterfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel
All Known Implementing Classes:
RatingDesignModelImp

public interface RatingDesignModel
extends ControlDesignModel

Design model for the rating control

Version:
$Revision: 1.3 $
Author:
Harald Schulz

Field Summary
static int COL_BAR
          Identifier of the bar column
static int COL_DETAIL
          Identifier of the detail column
static int COL_LABEL
          Identifier of the label column
static int COL_RATIO
          Identifier of the ratio column
static int COL_VALUE
          Identifier of the value column
 
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 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

COL_LABEL

public static final int COL_LABEL
Identifier of the label column

See Also:
Constant Field Values

COL_BAR

public static final int COL_BAR
Identifier of the bar column

See Also:
Constant Field Values

COL_VALUE

public static final int COL_VALUE
Identifier of the value column

See Also:
Constant Field Values

COL_RATIO

public static final int COL_RATIO
Identifier of the ratio column

See Also:
Constant Field Values

COL_DETAIL

public static final int COL_DETAIL
Identifier of the detail column

See Also:
Constant Field Values
Method Detail

getEmptyText

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

Returns:
String

setEmptyText

public 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

Parameters:
emptyText - Text

getFilter

public boolean getFilter()
Returns the Filter setting

Returns:
boolean

setFilter

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

Parameters:
filter - true if Strings should be HTML encoded

setImageMap

public void setImageMap(ImageMap map)
Specifies the name of an image map.

Parameters:
map - ImageMap

getImageMap

public ImageMap getImageMap()
Returns the associated ImageMap

Returns:
ImageMap


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