com.cc.framework.ui.model
Interface ClientHandler

All Known Subinterfaces:
ButtonDesignModel, CalendarDesignModel, CheckboxDesignModel, CheckboxGroupDesignModel, ColorPickerDesignModel, ColumnButtonDesignModel, ColumnCheckboxDesignModel, ColumnCheckDesignModel, ColumnComboBoxDesignModel, ColumnCommandDesignModel, ColumnDesignModel, ColumnDrilldownDesignModel, ColumnGroupDesignModel, ColumnHeaderDesignModel, ColumnHtmlDesignModel, ColumnImageDesignModel, ColumnLinkDesignModel, ColumnRadioDesignModel, ColumnSelectDesignModel, ColumnTextareaDesignModel, ColumnTextDesignModel, ColumnTreeDesignModel, ComboBoxDesignModel, ControlContainer, ControlDesignModel, CrumbModel, CrumbsDesignModel, DesignRule, FormDesignModel, FormLabelDesignModel, FrameDesignModel, GaugeDesignModel, HeadlineDesignModel, HiddenDesignModel, InfoDesignModel, ListDesignModel, MenuButtonDesignModel, MenuDesignModel, MenuItem, MenuItemDesignModel, MessageDesignModel, MultiLevelSelectDesignModel, PanelDesignModel, PanelItemDesignModel, PlainTextDesignModel, RadioDesignModel, RadioGroupDesignModel, RatingDesignModel, RecurrencePatternDesignModel, SchedulerDesignModel, SelectDesignModel, SpinDesignModel, SwapSelectDesignModel, TabDesignModel, TabsetDesignModel, TextareaDesignModel, TextDesignModel, TextListDesignModel, TextPopupDesignModel, TreeDesignModel, TreelistDesignModel, TreeSwapSelectDesignModel
All Known Implementing Classes:
ButtonDesignModelImp, CalendarDesignModelImp, CheckboxDesignModelImp, CheckboxGroupDesignModelImp, ClientHandlerImp, ColorPickerDesignModelImp, ColumnButtonDesignModelImp, ColumnCheckboxDesignModelImp, ColumnCheckDesignModelImp, ColumnComboBoxDesignModelImp, ColumnCommandDesignModelImp, ColumnDesignModelImp, ColumnDrilldownDesignModelImp, ColumnGroupDesignModelImp, ColumnHeaderDesignModelImp, ColumnHtmlDesignModelImp, ColumnImageDesignModelImp, ColumnLinkDesignModelImp, ColumnRadioDesignModelImp, ColumnSelectDesignModelImp, ColumnTextareaDesignModelImp, ColumnTextDesignModelImp, ColumnTreeDesignModelImp, ComboBoxDesignModelImp, Control, ControlContainerImp, ControlDesignModelImp, CrumbModelImp, CrumbsDesignModelImp, DesignRuleImp, FormDesignModelImp, FormLabelDesignModelImp, FrameDesignModelImp, GaugeDesignModelImp, HeadlineDesignModelImp, HiddenDesignModelImp, InfoDesignModelImp, ListDesignModelImp, MenuButtonDesignModelImp, MenuDesignModelImp, MenuItemDesignModelImp, MenuItemImp, MessageDesignModelImp, MultiLevelSelectDesignModelImp, PanelDesignModelImp, PanelItemDesignModelImp, PlainTextDesignModelImp, RadioDesignModelImp, RadioGroupDesignModelImp, RatingDesignModelImp, RecurrencePatternDesignModelImp, SchedulerDesignModelImp, SelectDesignModelImp, SpinDesignModelImp, SwapSelectDesignModelImp, TabDesignModelImp, TabsetDesignModelImp, TextareaDesignModelImp, TextDesignModelImp, TextListDesignModelImp, TextPopupDesignModelImp, TreeDesignModelImp, TreelistDesignModelImp, TreeSwapSelectDesignModelImp

public interface ClientHandler

This interface is implemented by all design models, which support client handler.

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

Method Summary
 java.lang.String getHandler(ClientEvent event)
          Returns the script handler which was associated for a client event
 ClientEvent[] getHandlers()
          Returns the list of events for which client handler have been registered.
 void setHandler(ClientEvent event, java.lang.String handler)
          Registers a client handler for an client event
 

Method Detail

setHandler

public void setHandler(ClientEvent event,
                       java.lang.String handler)
Registers a client handler for an client event

Parameters:
event - The client event (like onClick, onMouseOver, ...)
handler - The script handler associated with the event

getHandler

public java.lang.String getHandler(ClientEvent event)
Returns the script handler which was associated for a client event

Parameters:
event - The event (like onClick, onMouseOver, ...)
Returns:
String The script handler oder null if no handler was associated.

getHandlers

public ClientEvent[] getHandlers()
Returns the list of events for which client handler have been registered.

Returns:
the liste of events


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