Interface URLChooserToolbarExtension

  • All Superinterfaces:
    PluginExtension

    @API(type=EXTENDABLE,
         src=PUBLIC)
    public interface URLChooserToolbarExtension
    extends PluginExtension
    URL chooser toolbar extension. Provides toolbar icon and toolbar tooltip for the button to be inserted in the "File" toolbar. When pressing the button, the URLChooserPluginExtension's chooseURL() will be invoked.
    • Method Detail

      • getToolbarIcon

        javax.swing.Icon getToolbarIcon()
        Get the toolbar icon. The action will be placed in the "File" toolbar. Return null if the action should not be included in the toolbar.
        Returns:
        The toolbar icon or null.
      • getToolbarTooltip

        java.lang.String getToolbarTooltip()
        Get the tooltip to be placed on the toolbar button. If the tooltip is null but there is an icon provided, the URLChooserPluginExtension.getMenuName() will be used instead.
        Returns:
        The toolbar tooltip or null.