Interface IToolBarButton
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
IsEnabled
Indicates whether the toolbar button accepts user input.
bool IsEnabled { get; }
Property Value
IsSelected
Indicates whether the toolbar button is either pressed or checked.
bool IsSelected { get; }
Property Value
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
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()