Interface IAction

All Known Implementing Classes:
ChangeStateAction

public interface IAction
Custom toolbar action provided through OSGi service. Implementation must be thread safe.
Author:
hengsin
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    decorate(org.zkoss.zul.Toolbarbutton toolbarButton)
    Customize toolbar button like add style, client javascript,...
    void
    execute(Object target)
    Execute action
    default String
    Get font icon class
    default void
    updateToolbarCustomBtn(org.zkoss.zul.Toolbarbutton toolbarButton, IADTabpanel tabPanel, boolean changed, boolean readOnly)
    Customize detail toolbar button enable/disable based on current tab data status update
  • Method Details

    • execute

      void execute(Object target)
      Execute action
      Parameters:
      target -
    • decorate

      default void decorate(org.zkoss.zul.Toolbarbutton toolbarButton)
      Customize toolbar button like add style, client javascript,...
      Parameters:
      toolbarButton -
    • getIconSclass

      default String getIconSclass()
      Get font icon class
      Returns:
      font icon class
    • updateToolbarCustomBtn

      default void updateToolbarCustomBtn(org.zkoss.zul.Toolbarbutton toolbarButton, IADTabpanel tabPanel, boolean changed, boolean readOnly)
      Customize detail toolbar button enable/disable based on current tab data status update
      Parameters:
      toolbarButton -
      tabPanel -
      changed -
      readOnly -