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

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.GaugeDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ControlDesignModel, DesignModel, GaugeDesignModel, java.io.Serializable

public class GaugeDesignModelImp
extends ControlDesignModelImp
implements GaugeDesignModel

The design model for the gauge control

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

Field Summary
private  AlignmentType alignment
          The alignment of the text
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
 
Constructor Summary
GaugeDesignModelImp()
          Constructor
 
Method Summary
 AlignmentType getAlignment()
          Returns the alignment for the column
 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
 void setAlignment(AlignmentType alignment)
          Sets the alignment for the column
 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.
 
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

alignment

private AlignmentType alignment
The alignment of the text


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

GaugeDesignModelImp

public GaugeDesignModelImp()
Constructor

Method Detail

getEmptyText

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

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

setEmptyText

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

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

getAlignment

public AlignmentType getAlignment()
Description copied from interface: GaugeDesignModel
Returns the alignment for the column

Specified by:
getAlignment in interface GaugeDesignModel
Returns:
the alignment for the column
See Also:
GaugeDesignModel.getAlignment()

getFilter

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

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

setAlignment

public void setAlignment(AlignmentType alignment)
Description copied from interface: GaugeDesignModel
Sets the alignment for the column

Specified by:
setAlignment in interface GaugeDesignModel
Parameters:
alignment - The alignment
See Also:
GaugeDesignModel.setAlignment(com.cc.framework.ui.AlignmentType)

setFilter

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

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


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