Package com.hp.lft.sdk.wpf
Interface ToolBarItem
public interface ToolBarItem
A single tool bar button in a WPF tool bar.
- 
Method SummaryModifier and TypeMethodDescriptionintgetIndex()Returns the 1-based index number of this toolbar item.getName()Returns the name of this toolbar item.getType()Returns the control type of the toolbar item.booleanIndicates whether this toolbar item's text is truncated and an ellipsis (...) is displayed.booleanIndicates whether this toggle button is set.booleanIndicates whether this toolbar item can accept user input.booleanisHot()Indicates whether this toolbar item appears highlighted, as when the mouse hovers over it.
- 
Method Details- 
isCheckedIndicates whether this toggle button is set.- Returns:
- true if checked
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasEllipsesIndicates whether this toolbar item's text is truncated and an ellipsis (...) is displayed.- Returns:
- true if ellipsis displayed
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isEnabledIndicates whether this toolbar item can accept user input.- Returns:
- true if enabled
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isHotIndicates whether this toolbar item appears highlighted, as when the mouse hovers over it.- Returns:
- true if hot
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getIndexReturns the 1-based index number of this toolbar item.
 The index does not include hidden and separator buttons.- Returns:
- the index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNameReturns the name of this toolbar item.- Returns:
- the name
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTypeReturns the control type of the toolbar item.- Returns:
- the control type
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-