Package com.hp.lft.sdk.wpf
Interface ToolBarItem
public interface ToolBarItem
A single tool bar button in a WPF tool bar.
-
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
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.boolean
Indicates whether this toolbar item's text is truncated and an ellipsis (...) is displayed.boolean
Indicates whether this toggle button is set.boolean
Indicates whether this toolbar item can accept user input.boolean
isHot()
Indicates whether this toolbar item appears highlighted, as when the mouse hovers over it.
-
Method Details
-
isChecked
Indicates whether this toggle button is set.- Returns:
- true if checked
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
hasEllipses
Indicates 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
-
isEnabled
Indicates whether this toolbar item can accept user input.- Returns:
- true if enabled
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isHot
Indicates whether this toolbar item appears highlighted, as when the mouse hovers over it.- Returns:
- true if hot
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getIndex
Returns 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
-
getName
Returns the name of this toolbar item.- Returns:
- the name
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getType
Returns the control type of the toolbar item.- Returns:
- the control type
- Throws:
GeneralLeanFtException
- if error occurs during execution
-