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

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.ColumnCommandDesignModelImp
All Implemented Interfaces:
AccessControlled, ActionBehavior, AjaxSupport, ClientHandler, ColumnCommandDesignModel, ColumnDesignModel, DesignModel, java.io.Serializable
Direct Known Subclasses:
ColumnAddDesignModelImp, ColumnDeleteDesignModelImp, ColumnEditDesignModelImp, ColumnSelectorDesignModelImp

public class ColumnCommandDesignModelImp
extends ColumnDesignModelImp
implements ColumnCommandDesignModel

Class ColumnAddDesignModelImp

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

Field Summary
private  ControlActionDef command
          the column command
private  DeferredValue icon
          The icon resource id
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.model.imp.ColumnDesignModelImp
 
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp
 
Constructor Summary
ColumnCommandDesignModelImp(ControlActionDef command, java.lang.String icon, java.lang.String width)
          Constructor
 
Method Summary
 ControlActionDef getCommand()
          Returns the command that will be executed when the user presses a button in this column
 java.lang.String getIconResource()
          Returns the image resource for the button image of this column
 
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

command

private ControlActionDef command
the column command


icon

private DeferredValue icon
The icon resource id

Constructor Detail

ColumnCommandDesignModelImp

public ColumnCommandDesignModelImp(ControlActionDef command,
                                   java.lang.String icon,
                                   java.lang.String width)
Constructor

Parameters:
command - the commande for this column
icon - the icon resource id
width - the column width
Method Detail

getCommand

public ControlActionDef getCommand()
Description copied from interface: ColumnCommandDesignModel
Returns the command that will be executed when the user presses a button in this column

Specified by:
getCommand in interface ColumnCommandDesignModel
Returns:
Command to execute
See Also:
ColumnCommandDesignModel.getCommand()

getIconResource

public java.lang.String getIconResource()
Description copied from interface: ColumnCommandDesignModel
Returns the image resource for the button image of this column

Specified by:
getIconResource in interface ColumnCommandDesignModel
Returns:
Image resource id
See Also:
ColumnCommandDesignModel.getIconResource()


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