com.cc.framework.ui.model
Interface ColorPickerDesignModel

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

public interface ColorPickerDesignModel
extends TextDesignModel

The design model for the color picker control The design model holds information for rendering and the layout of the control.

Since:
1.0
Version:
$Revision: 1.7 $
Author:
Gernot Schulz

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 alt)
          Sets the alt attribute for the colorpicker image
 void setButtonTooltip(java.lang.String tooltip)
          Sets the tooltip for the colorpicker image
 void setPalette(int palette)
          Sets the palette to initialize the popup window
 
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
 

Method Detail

setPalette

public void setPalette(int palette)
Sets the palette to initialize the popup window

Parameters:
palette - The palette

getPalette

public int getPalette()
Returns the palette

Returns:
The palette

setButtonTooltip

public void setButtonTooltip(java.lang.String tooltip)
Sets the tooltip for the colorpicker image

Parameters:
tooltip - The tooltip

getButtonTooltip

public java.lang.String getButtonTooltip()
Returns the tooltip for the colorpicker image

Returns:
The tooltip

setButtonAlt

public void setButtonAlt(java.lang.String alt)
Sets the alt attribute for the colorpicker image

Parameters:
alt - The alt attribute if no image is displayed

getButtonAlt

public java.lang.String getButtonAlt()
Returns the alt attribute for the colorpicker image

Returns:
The alt attribute if no image is displayed


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