Table of Contents

Interface IToolBarButton

Namespace
HP.LFT.SDK.Java
Assembly
HP.LFT.SDK.dll

A single tool bar button in a Java toolbar.

public interface IToolBarButton

Properties

Index

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

int Index { get; }

Property Value

int

IsEnabled

Indicates whether the toolbar button accepts user input.

bool IsEnabled { get; }

Property Value

bool

IsSelected

Indicates whether the toolbar button is either pressed or checked.

bool IsSelected { get; }

Property Value

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.

string Name { get; }

Property Value

string

Methods

Press()

Presses this toolbar button.

void Press()

ShowDropdown()

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

void ShowDropdown()