Package com.hp.lft.sdk.java
Interface ToolBarButton
public interface ToolBarButton
A tool bar button in a Java tool bar.
- 
Method SummaryModifier and TypeMethodDescriptionintgetIndex()The zero-based index of the toolbar button.getName()Returns the name of the toolbar button.booleanIndicates whether the toolbar button accepts user input.booleanIndicates whether the toolbar button is either pressed or checked.voidpress()Presses this toolbar button.voidOpens the drop down menu associated with this toolbar button by clicking the arrow part of the button.
- 
Method Details- 
isEnabledIndicates whether the toolbar button accepts user input.- Returns:
- true if enabled.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getIndexThe zero-based index of the toolbar button. The index does not include hidden and separator buttons.- Returns:
- the index of the button.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isSelectedIndicates whether the toolbar button is either pressed or checked. A button is pressed if it is being clicked; checked if it is a toggle button that is selected.- Returns:
- true if the toolbar button is either pressed or checked.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNameReturns the name of the toolbar button.- Returns:
- the name of the toolbar button.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
showDropdownOpens the drop down menu associated with this toolbar button by clicking the arrow part of the button.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
pressPresses this toolbar button.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-