public interface ISelectionListenerToolBar extends IToolBar
IToolBarwhich listens the selection changes of a component, and can have buttons and an info text which gets enabled / disabled based on the selection.
|Modifier and Type||Method and Description|
Adds a new info label with the specified text which will be automatically disabled if there are selected rows and enabled if nothing is selected in the targeted table.
Also adds a separator after the label.
Adds a new button associated with the specified action.
The newly added button will be automatically enabled/disabled when the listened component's selection changes.
ILabel addSelectInfoLabel(java.lang.String text)
text- info text to create and add a label for
javax.swing.JButton addSelEnabledButton(IAction action)
action- action to be associated with the button
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.