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

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.TextDesignModelImp
              extended bycom.cc.framework.ui.model.imp.ColorPickerDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ColorPickerDesignModel, ControlDesignModel, DesignModel, java.io.Serializable, TextDesignModel

public class ColorPickerDesignModelImp
extends TextDesignModelImp
implements ColorPickerDesignModel

The design model for the ColorPicker control

Since:
1.0
Version:
$Revision: 1.10 $
Author:
Gernot Schulz
See Also:
Serialized Form

Field Summary
private  java.lang.String buttonAlt
          The alt attribute.
private  java.lang.String buttonTooltip
          An additional tooltip displayed if the user moves the mose over the ColorPicker icon
private  int palette
          The palette to initalize the popup window if none palette is selected the default palette (0 = Web safe palette will be used)
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.model.imp.TextDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Constructor Summary
ColorPickerDesignModelImp()
          Constructor for ColorPickerDesignModelImp
 
Method Summary
 java.lang.String getButtonAlt()
          Returns the alt attribute for the colorpicker image
 java.lang.String getButtonTooltip()
          Returns the tooltip for the colorpicker image
 int getPalette()
          Returns the palette
 void setButtonAlt(java.lang.String buttonAlt)
          Sets the alt attribute for the colorpicker image
 void setButtonTooltip(java.lang.String buttonTooltip)
          Sets the tooltip for the colorpicker image
 void setPalette(int palette)
          Sets the palette to initialize the popup window
 
Methods inherited from class com.cc.framework.ui.model.imp.TextDesignModelImp
filter, getConverter, getInputType, getMaxLength, getSize, setConverter, setFilter, setInputType, setMaxLength, setSize
 
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.TextDesignModel
filter, getConverter, getInputType, getMaxLength, getSize, getTooltip, setConverter, setFilter, setInputType, setMaxLength, setSize, setTooltip
 
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, 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, 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

palette

private int palette
The palette to initalize the popup window if none palette is selected the default palette (0 = Web safe palette will be used)

See Also:
ColorPickerTag

buttonTooltip

private java.lang.String buttonTooltip
An additional tooltip displayed if the user moves the mose over the ColorPicker icon


buttonAlt

private java.lang.String buttonAlt
The alt attribute. Specifies the text if no image for the calendar is displayed.

Constructor Detail

ColorPickerDesignModelImp

public ColorPickerDesignModelImp()
Constructor for ColorPickerDesignModelImp

Method Detail

setPalette

public void setPalette(int palette)
Description copied from interface: ColorPickerDesignModel
Sets the palette to initialize the popup window

Specified by:
setPalette in interface ColorPickerDesignModel
Parameters:
palette - The palette
See Also:
ColorPickerDesignModel.setPalette(int)

getPalette

public int getPalette()
Description copied from interface: ColorPickerDesignModel
Returns the palette

Specified by:
getPalette in interface ColorPickerDesignModel
Returns:
The palette
See Also:
ColorPickerDesignModel.getPalette()

setButtonAlt

public void setButtonAlt(java.lang.String buttonAlt)
Description copied from interface: ColorPickerDesignModel
Sets the alt attribute for the colorpicker image

Specified by:
setButtonAlt in interface ColorPickerDesignModel
Parameters:
buttonAlt - The alt attribute if no image is displayed
See Also:
ColorPickerDesignModel.setButtonAlt(java.lang.String)

setButtonTooltip

public void setButtonTooltip(java.lang.String buttonTooltip)
Description copied from interface: ColorPickerDesignModel
Sets the tooltip for the colorpicker image

Specified by:
setButtonTooltip in interface ColorPickerDesignModel
Parameters:
buttonTooltip - The tooltip
See Also:
ColorPickerDesignModel.setButtonTooltip(java.lang.String)

getButtonTooltip

public java.lang.String getButtonTooltip()
Description copied from interface: ColorPickerDesignModel
Returns the tooltip for the colorpicker image

Specified by:
getButtonTooltip in interface ColorPickerDesignModel
Returns:
The tooltip
See Also:
ColorPickerDesignModel.getButtonTooltip()

getButtonAlt

public java.lang.String getButtonAlt()
Description copied from interface: ColorPickerDesignModel
Returns the alt attribute for the colorpicker image

Specified by:
getButtonAlt in interface ColorPickerDesignModel
Returns:
The alt attribute if no image is displayed
See Also:
ColorPickerDesignModel.getButtonAlt()


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