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

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.ClientHandlerImp
      extended bycom.cc.framework.ui.model.imp.ColumnDesignModelImp
          extended bycom.cc.framework.ui.model.imp.ColumnButtonDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ColumnButtonDesignModel, ColumnDesignModel, DesignModel, java.io.Serializable

public class ColumnButtonDesignModelImp
extends ColumnDesignModelImp
implements ColumnButtonDesignModel

Designmodel for button columns

Since:
1.0
Version:
$Revision: 1.14 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  DeferredValue command
          Optional command name
private  DeferredValue image
          ImageModel
private static long serialVersionUID
          Serial Version UID
private  DeferredValue text
          Text
 
Fields inherited from class com.cc.framework.ui.model.imp.ColumnDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Constructor Summary
ColumnButtonDesignModelImp()
           
 
Method Summary
 java.lang.String getCommand()
          Returns the name of the command that should bet triggered
 ImageModel getImage()
          Returns the image used for the button
 java.lang.String getText()
          Returns the text.
 void setCommand(java.lang.String command)
          Sets the name of the command that should bet triggered
 void setImage(ImageModel image)
          Sets the image used for the button
 void setImage(java.lang.String image)
          Sets the image used for the button
 void setText(java.lang.String text)
          Sets the text.
 
Methods inherited from class com.cc.framework.ui.model.imp.ColumnDesignModelImp
addDesignRule, allowAjaxRendering, enableAjax, filter, getAlignment, getAnchor, getAnchorProperty, getConverter, getDesignRules, getDisableProperty, getEditableProperty, getEnableProperty, getEnvironment, getHandler, getHeader, getImageMap, getImageProperty, getJoinMode, getLinkName, getLinkNameProperty, getMaxLength, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getTarget, getTargetProperty, getTitle, getTooltip, getTooltipProperty, getTransaction, getType, getWidth, isAjaxEnabled, isDisabled, isEditable, isSortable, setAlignment, setAlignment, setAnchor, setAnchorProperty, setConverter, setDisabled, setDisabled, setDisableProperty, setEditable, setEditable, setEditableProperty, setEnableProperty, setEnvironment, setFilter, setFilter, setHeader, setImageMap, setImageProperty, setJoinMode, setJoinMode, setLinkName, setLinkNameProperty, setMaxLength, setMaxLength, setPermission, setPermission, setProperty, setRunAt, setSortable, setStyle, setStyleClass, setStyleId, setTarget, setTargetProperty, setTitle, setTooltip, setTooltipProperty, setTransaction, setType, setWidth, setWidth, show
 
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
evaluate, 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.ColumnDesignModel
addDesignRule, allowAjaxRendering, filter, getAlignment, getAnchor, getAnchorProperty, getConverter, getDesignRules, getDisableProperty, getEditableProperty, getEnableProperty, getEnvironment, getHeader, getImageMap, getImageProperty, getJoinMode, getLinkName, getLinkNameProperty, getMaxLength, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getTarget, getTargetProperty, getTitle, getTooltip, getTooltipProperty, getTransaction, getType, getWidth, isDisabled, isEditable, isSortable, setAlignment, setAlignment, setAnchor, setAnchorProperty, setConverter, setDisabled, setDisabled, setDisableProperty, setEditable, setEditable, setEditableProperty, setEnableProperty, setEnvironment, setFilter, setFilter, setHeader, setImageMap, setImageProperty, setJoinMode, setJoinMode, setLinkName, setLinkNameProperty, setMaxLength, setMaxLength, setPermission, setPermission, setProperty, setRunAt, setSortable, setStyle, setStyleClass, setStyleId, setTarget, setTargetProperty, setTitle, setTooltip, setTooltipProperty, setTransaction, setType, setWidth, 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

image

private DeferredValue image
ImageModel


text

private DeferredValue text
Text


command

private DeferredValue command
Optional command name

Constructor Detail

ColumnButtonDesignModelImp

public ColumnButtonDesignModelImp()
Method Detail

getImage

public ImageModel getImage()
Description copied from interface: ColumnButtonDesignModel
Returns the image used for the button

Specified by:
getImage in interface ColumnButtonDesignModel
Returns:
ImageModel
See Also:
ColumnButtonDesignModel.getImage()

setImage

public void setImage(ImageModel image)
Description copied from interface: ColumnButtonDesignModel
Sets the image used for the button

Specified by:
setImage in interface ColumnButtonDesignModel
Parameters:
image - ImageModel
See Also:
ColumnButtonDesignModel.setImage(ImageModel)

setImage

public void setImage(java.lang.String image)
Description copied from interface: ColumnButtonDesignModel
Sets the image used for the button

Specified by:
setImage in interface ColumnButtonDesignModel
Parameters:
image - ImageModel
See Also:
ColumnButtonDesignModel.setImage(java.lang.String)

getCommand

public java.lang.String getCommand()
Description copied from interface: ColumnButtonDesignModel
Returns the name of the command that should bet triggered

Specified by:
getCommand in interface ColumnButtonDesignModel
Returns:
Command name
See Also:
ColumnButtonDesignModel.getCommand()

setCommand

public void setCommand(java.lang.String command)
Description copied from interface: ColumnButtonDesignModel
Sets the name of the command that should bet triggered

Specified by:
setCommand in interface ColumnButtonDesignModel
Parameters:
command - The Command name
See Also:
ColumnButtonDesignModel.setCommand(java.lang.String)

getText

public java.lang.String getText()
Description copied from interface: ColumnButtonDesignModel
Returns the text.

Specified by:
getText in interface ColumnButtonDesignModel
Returns:
String
See Also:
ColumnButtonDesignModel.getText()

setText

public void setText(java.lang.String text)
Description copied from interface: ColumnButtonDesignModel
Sets the text.

Specified by:
setText in interface ColumnButtonDesignModel
Parameters:
text - The text to set
See Also:
ColumnButtonDesignModel.setText(java.lang.String)


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