com.sybase.uep.bobclient.actions
Class TabAction

java.lang.Object
  extended by com.sybase.uep.bobclient.actions.Action
      extended by com.sybase.uep.bobclient.actions.TabAction
All Implemented Interfaces:
IBOBAction, java.lang.Runnable

public class TabAction
extends Action

This is the tab action class

Used to switch to different tabs on the tab layout manager

Author:
tdang
See Also:
Action

Field Summary
static int TAB_ACTION_TYPE_INDEX
           
static int TAB_ACTION_TYPE_NEXT
           
static int TAB_ACTION_TYPE_PREVIOUS
           
 
Constructor Summary
TabAction(TabLayoutManager tabControl, int type, int tabIndex, java.lang.String[] relationshipList)
          Create an tab action
TabAction(TabLayoutManager tabControl, int type, java.lang.String[] relationshipList)
          Create an tab action
 
Method Summary
 void run()
          (non-Javadoc)
 
Methods inherited from class com.sybase.uep.bobclient.actions.Action
finish, hasFailed, isProcessing, setHasFailed, setIsProcessing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAB_ACTION_TYPE_PREVIOUS

public static final int TAB_ACTION_TYPE_PREVIOUS
See Also:
Constant Field Values

TAB_ACTION_TYPE_NEXT

public static final int TAB_ACTION_TYPE_NEXT
See Also:
Constant Field Values

TAB_ACTION_TYPE_INDEX

public static final int TAB_ACTION_TYPE_INDEX
See Also:
Constant Field Values
Constructor Detail

TabAction

public TabAction(TabLayoutManager tabControl,
                 int type,
                 java.lang.String[] relationshipList)
Create an tab action

Parameters:
tabControl - TabLayoutManager control
type - int value of the tab type. Values can be TAB_ACTION_TYPE_PREVIOUS, TAB_ACTION_TYPE_NEXT, or TAB_ACTION_TYPE_INDEX
relationshipList - String array list of the relationship information

TabAction

public TabAction(TabLayoutManager tabControl,
                 int type,
                 int tabIndex,
                 java.lang.String[] relationshipList)
Create an tab action

Parameters:
tabControl - TabLayoutManager control
type - int value of the tab type. Values can be TAB_ACTION_TYPE_PREVIOUS, TAB_ACTION_TYPE_NEXT, or TAB_ACTION_TYPE_INDEX
tabIndex - int value of the table index. If type is of TAB_ACTION_TYPE_INDEX then it's required to have the tab index supplied.
relationshipList - String array list of the relationship information
Method Detail

run

public void run()
(non-Javadoc)

See Also:
Runnable.run()