com.sas.visuals
Interface TabButtonInterface

All Superinterfaces:
ActionSource, Alignment, SelectableInterface
All Known Implementing Classes:
TabButton

public interface TabButtonInterface
extends SelectableInterface, Alignment, ActionSource

TabButtonInterface is an interface that provides an orientation and ActionCommand information. It can be added to a TabbedView or TabBar.
Notes:


See Also:
SelectableInterface, ActionSource, TabBarInterface

Field Summary
 
Fields inherited from interface com.sas.visuals.Alignment
BEGIN, CENTER, END
 
Method Summary
 java.lang.String getActionCommand()
          Get the command name of the action event fired by this button.
 int getOrientation()
          Get the orientation of the tab: TOP, BOTTOM, RIGHT, LEFT or NONE
 void setActionCommand(java.lang.String cmd)
          Set the command name of the action event fired by this tab.
 void setOrientation(int orient)
          Set the orientation of the tab: TOP, BOTTOM, RIGHT, LEFT, or NONE.
 
Methods inherited from interface com.sas.visuals.SelectableInterface
getButtonModel, getDisplayTransform, getItem, getSelectionGroup, setDisplayTransform, setItem, setSelectionGroup
 
Methods inherited from interface com.sas.awt.ActionSource
addActionListener, removeActionListener
 

Method Detail

getActionCommand

java.lang.String getActionCommand()
Get the command name of the action event fired by this button.

Returns:
the String from the actionCommand in the ActionEvent.
See Also:
setActionCommand(java.lang.String)

setActionCommand

void setActionCommand(java.lang.String cmd)
Set the command name of the action event fired by this tab.

Parameters:
cmd - the String from the actionCommand in the ActionEvent.
See Also:
getActionCommand()

getOrientation

int getOrientation()
Get the orientation of the tab: TOP, BOTTOM, RIGHT, LEFT or NONE

Returns:
tab orientation
See Also:
setOrientation(int), Orientations

setOrientation

void setOrientation(int orient)
Set the orientation of the tab: TOP, BOTTOM, RIGHT, LEFT, or NONE.

Parameters:
orient - new orientation of tab.
See Also:
getOrientation(), Orientations



Copyright © 2009 SAS Institute Inc. All Rights Reserved.