Interface Action

All Known Implementing Classes:
AboutAction, AbstractAction, BackAction, DebugBoxesAction, DebugInlineBoxesAction, DebugLineBoxesAction, DebugMetricsAction, DemoAction, FontSizeDecreaseAction, FontSizeIncreaseAction, FontSizeNormalAction, ForwardAction, LoadAction, OpenAction, PrintPreviewAction, QuitAction, ReloadAction

public interface Action
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    int
     
     
    void
    run(Browser browser, org.eclipse.swt.widgets.MenuItem mi)
    Called when the action needs to be executed.
  • Method Details

    • getText

      String getText()
    • getStyle

      int getStyle()
    • getShortcut

      int getShortcut()
    • getIcon

      String getIcon()
    • run

      void run(Browser browser, @Nullable org.eclipse.swt.widgets.MenuItem mi)
      Called when the action needs to be executed.
      Parameters:
      mi - the MenuItem selected or null if none.