Package com.hp.lft.sdk.winforms
Interface ToolBarItem
public interface ToolBarItem
A single tool bar item belonging to a .NET Windows Forms tool bar.
- 
Method SummaryModifier and TypeMethodDescriptionintgetIndex()Returns the 0-based index of this toolbar item.getName()Returns the name of this toolbar item.booleanIndicates whether the toolbar item's text is truncated and an ellipsis (...) is displayed.
 This property is not supported for QMenuBar objects.booleanIndicates whether a toggle push button is currently set.
 Only invoke on dual-state (toggle) push buttons.booleanIndicates whether this toolbar item can accept user input.booleanisHidden()Indicates whether this item is not visible and therefore cannot accept user input.
 An item can be visible and disabled for other reasons.booleanIndicates whether this toolbar item is surrounded by a dotted line.booleanisHot()Indicates whether this toolbar item appears highlighted, as when the mouse hovers over it.
 This property is not supported for QMenuBar objects.booleanIndicates that this control is neither checked nor unchecked.booleanisMarked()Indicates whether this toolbar item is marked.booleanIndicates whether the toolbar item is currently being clicked.booleanisWrap()Indicates whether this toolbar item is followed by a line break.
 Only invoke if the item is enabled.voidpress()Presses this toolbar item.
- 
Method Details- 
isHiddenIndicates whether this item is not visible and therefore cannot accept user input.
 An item can be visible and disabled for other reasons. SeeisEnabled()- Returns:
- true if not visible
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isCheckedIndicates whether a toggle push button is currently set.
 Only invoke on dual-state (toggle) push buttons.- Returns:
- true, if the toolbar is checked.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasEllipsesIndicates whether the toolbar item's text is truncated and an ellipsis (...) is displayed.
 This property is not supported for QMenuBar objects.- 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
 
- 
isHighlightedIndicates whether this toolbar item is surrounded by a dotted line.- Returns:
- true if highlighted
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isHotIndicates whether this toolbar item appears highlighted, as when the mouse hovers over it.
 This property is not supported for QMenuBar objects.- Returns:
- true if toolbar hot
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isIndeterminateIndicates that this control is neither checked nor unchecked. An indeterminate control generally has a shaded appearance.- Returns:
- true if indeterminate
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getIndexReturns the 0-based index of this toolbar item. The index does not include hidden and separator buttons.
 This property is not supported for QMenuBar objects.- Returns:
- the index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isMarkedIndicates whether this toolbar item is marked. The interpretation of a marked button is application dependent.
 This property is not supported for QMenuBar objects.- Returns:
- true if marked
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNameReturns the name of this toolbar item.- Returns:
- the name
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isPressedIndicates whether the toolbar item is currently being clicked.- Returns:
- true if being clicked
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isWrapIndicates whether this toolbar item is followed by a line break.
 Only invoke if the item is enabled.- Returns:
- true if followed by line break
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
pressPresses this toolbar item.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-