Class ToolbarProcessButton

java.lang.Object
org.adempiere.webui.adwindow.ToolbarProcessButton
All Implemented Interfaces:
IProcessButton, Evaluatee

public class ToolbarProcessButton extends Object implements IProcessButton, Evaluatee
Model for AD_ToolBarButton with AD_Process_ID > 0
Author:
hengsin
  • Constructor Details

    • ToolbarProcessButton

      public ToolbarProcessButton(MToolBarButton mToolbarButton, IADTabpanel adTabpanel, ActionListener listener, int windowNo)
      Parameters:
      mToolbarButton -
      adTabpanel -
      listener -
      windowNo -
  • Method Details

    • getProcess_ID

      public int getProcess_ID()
      Description copied from interface: IProcessButton
      Get AD_Process_ID
      Specified by:
      getProcess_ID in interface IProcessButton
      Returns:
      AD_Process_ID or 0
    • getInfoWindow_ID

      public int getInfoWindow_ID()
      Description copied from interface: IProcessButton
      Get info window id
      Specified by:
      getInfoWindow_ID in interface IProcessButton
      Returns:
      AD_InfoWindow_ID
    • getADTabpanel

      public IADTabpanel getADTabpanel()
      Description copied from interface: IProcessButton
      Get IADTabpanel instance that own this button
      Specified by:
      getADTabpanel in interface IProcessButton
      Returns:
      IADTabpanel instance that own this button
    • getColumnName

      public String getColumnName()
      Description copied from interface: IProcessButton
      Get Column Name
      Specified by:
      getColumnName in interface IProcessButton
      Returns:
      Column Name
    • getDescription

      public String getDescription()
      Description copied from interface: IProcessButton
      Get Description
      Specified by:
      getDescription in interface IProcessButton
      Returns:
      Description
    • getDisplay

      public String getDisplay()
      Description copied from interface: IProcessButton
      Get display text
      Specified by:
      getDisplay in interface IProcessButton
      Returns:
      Display text
    • getButton

      public org.zkoss.zul.Button getButton()
      Returns:
      Button
    • dynamicDisplay

      public void dynamicDisplay()
      Dynamic update of button state.
    • get_ValueAsString

      public String get_ValueAsString(String variableName)
      Description copied from interface: Evaluatee
      Get Variable Value
      Specified by:
      get_ValueAsString in interface Evaluatee
      Parameters:
      variableName - name
      Returns:
      value
    • readOnlyLogic

      public void readOnlyLogic()
      Evaluate readOnlyLogic (if defined)
    • pressedLogic

      public void pressedLogic()
      Evaluate pressedLogic (if defined)