Class MToolBarButton

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_ToolBarButton, I_Persistent, Evaluatee

public class MToolBarButton extends X_AD_ToolBarButton
Extended model class for AD_ToolBarButton
Author:
hengsin
See Also:
  • Constructor Details

    • MToolBarButton

      public MToolBarButton(Properties ctx, String AD_ToolBarButton_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_ToolBarButton_UU - UUID key
      trxName - Transaction
    • MToolBarButton

      public MToolBarButton(Properties ctx, int AD_ToolBarButton_ID, String trxName)
      Parameters:
      ctx -
      AD_ToolBarButton_ID -
      trxName -
    • MToolBarButton

      public MToolBarButton(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
  • Method Details

    • getProcessButtonOfTab

      public static MToolBarButton[] getProcessButtonOfTab(int AD_Tab_ID, String trxName)
      Get process buttons (toolbar button with AD_Process_ID) of tab
      Parameters:
      AD_Tab_ID -
      trxName -
      Returns:
      array of toolbar button model
    • getToolbarButtons

      public static MToolBarButton[] getToolbarButtons(String action, String trxName)
      Get toolbar buttons via action name
      Parameters:
      action - action name
      trxName -
      Returns:
      array of toolbar button model
    • getWindowAdvancedButtons

      public static MToolBarButton[] getWindowAdvancedButtons()
      Get advanced window toolbar button (Action=W)
      Returns:
      array of toolbar button model
    • isSearchQueryComponent

      public boolean isSearchQueryComponent()
      Is search query button
      Returns:
      true if it is search query button