Package com.hp.lft.sdk
Interface MenuItemBase
public interface MenuItemBase
Base interface for all MenuItem interfaces in SDK.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexists()Indicates whether the menu item exists.intgetIndex()Returns the 0-based numeric index location of the menu item.getLabel()Returns the menu item label.getPath()Returns the path of the menu item.intThe number of items contained in the specified menu item's sub-menu.booleanIndicates whether the menu item has a sub-menu.booleanIndicates whether the menu item has a check mark displayed next to it.booleanIndicates whether the menu item is enabled.
- 
Method Details- 
getPathReturns the path of the menu item. Menu items are separated with ; character.- Returns:
- the path of the menu item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isCheckedIndicates whether the menu item has a check mark displayed next to it.- Returns:
- true, if the menu item has a check mark displayed next to it.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isEnabledIndicates whether the menu item is enabled.- Returns:
- true, if the menu item is enabled.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
existsIndicates whether the menu item exists.- Returns:
- true, if the menu item exists.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasSubMenuIndicates whether the menu item has a sub-menu.- Returns:
- true if the menu item has a sub-menu.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getIndexReturns the 0-based numeric index location of the menu item.- Returns:
- the 0-based numeric index location of the menu item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getLabelReturns the menu item label.- Returns:
- the menu item label.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSubMenuCountThe number of items contained in the specified menu item's sub-menu.- Returns:
- the number of items contained in the specified menu item's sub-menu.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-