Table of Contents

Interface IToolBarButton

A single tool bar button in a Java toolbar.

Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface IToolBarButton

Properties

Index

The 1-based index number of the toolbar button. The index does not include hidden and separator buttons.

Declaration
int Index { get; }
Property Value
Type Description
int

IsEnabled

Indicates whether the toolbar button accepts user input.

Declaration
bool IsEnabled { get; }
Property Value
Type Description
bool

IsSelected

Indicates whether the toolbar button is either pressed or checked.

Declaration
bool IsSelected { get; }
Property Value
Type Description
bool
Remarks

A button is pressed if it is being clicked; checked if it is a toggle button that is selected.

Name

The name of the toolbar button.

Declaration
string Name { get; }
Property Value
Type Description
string

Methods

Press()

Presses this toolbar button.

Declaration
void Press()

ShowDropdown()

Opens the dropdown menu associated with this toolbar button by clicking the arrow part of the button.

Declaration
void ShowDropdown()