com.sage.swt.client.widget.event
Class SwtBeforeTabSelectedEvent

java.lang.Object
  extended by com.sage.swt.client.widget.event.AbstractSwtEvent
      extended by com.sage.swt.client.widget.event.SwtBeforeTabSelectedEvent
All Implemented Interfaces:
com.google.gwt.event.logical.shared.BeforeSelectionHandler<java.lang.Integer>, com.google.gwt.event.shared.EventHandler, SwtEvent

public final class SwtBeforeTabSelectedEvent
extends AbstractSwtEvent
implements com.google.gwt.event.logical.shared.BeforeSelectionHandler<java.lang.Integer>

Class for triggering actions that are linked to tab events.


Constructor Summary
SwtBeforeTabSelectedEvent(com.google.gwt.event.logical.shared.HasBeforeSelectionHandlers<java.lang.Integer> source)
          Default constructor.
 
Method Summary
 SwtEventEditor getEditor()
          Gets the editor for this event.
 java.util.Collection<FunctionParameter> getFunctionParameters()
          Gets a FunctionParameter collection where each item describes a parameter that will be passed to the action that is called when this event is fired.
 FunctionReturn getFunctionReturn()
          Gets information about the return value of the action that is called when this event is fired.
 void onBeforeSelection(com.google.gwt.event.logical.shared.BeforeSelectionEvent<java.lang.Integer> event)
          
 
Methods inherited from class com.sage.swt.client.widget.event.AbstractSwtEvent
addAction, executeActions, getActions, getDefaultFunctionParameters, getDefaultParams, getDesignerTooltip, getEventInfo, removeAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwtBeforeTabSelectedEvent

public SwtBeforeTabSelectedEvent(com.google.gwt.event.logical.shared.HasBeforeSelectionHandlers<java.lang.Integer> source)
Default constructor.

Parameters:
source - A widget that sources the events defined by the BeforeSelectionHandler interface.
Method Detail

getFunctionParameters

public java.util.Collection<FunctionParameter> getFunctionParameters()
Gets a FunctionParameter collection where each item describes a parameter that will be passed to the action that is called when this event is fired. Those parameters are passed in the order they are listed.

Specified by:
getFunctionParameters in class AbstractSwtEvent
Returns:
A FunctionParameter collection where each item describes a parameter that will be passed to the action that is called when this event is fired. Implementors should make sure that this collection is unmodifiable.

getFunctionReturn

public FunctionReturn getFunctionReturn()
Gets information about the return value of the action that is called when this event is fired. Implementors must return null if there is no return value from that action.

Specified by:
getFunctionReturn in class AbstractSwtEvent
Returns:
The information about the return value of the action that is called when this event is fired.

getEditor

public SwtEventEditor getEditor()
Gets the editor for this event. The event editor is used by the UI designer to allow a widget's events to be set without needing to recompile the UI.

Specified by:
getEditor in interface SwtEvent
Returns:
The editor for this event.

onBeforeSelection

public void onBeforeSelection(com.google.gwt.event.logical.shared.BeforeSelectionEvent<java.lang.Integer> event)

Specified by:
onBeforeSelection in interface com.google.gwt.event.logical.shared.BeforeSelectionHandler<java.lang.Integer>


Copyright © 2011 Sage Software, Inc. All rights reserved.