Package org.adempiere.webui.adwindow
Class ToolbarProcessButton
java.lang.Object
org.adempiere.webui.adwindow.ToolbarProcessButton
- All Implemented Interfaces:
IProcessButton
,Evaluatee
Model for AD_ToolBarButton with AD_Process_ID > 0
- Author:
- hengsin
-
Constructor Summary
ConstructorDescriptionToolbarProcessButton
(MToolBarButton mToolbarButton, IADTabpanel adTabpanel, ActionListener listener, int windowNo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Dynamic update of button state.get_ValueAsString
(String variableName) Get Variable Valueorg.zkoss.zul.Button
int
int
Get AD_Process_IDvoid
Evaluate pressedLogic (if defined)void
Evaluate readOnlyLogic (if defined)
-
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 interfaceIProcessButton
- Returns:
- AD_Process_ID or 0
-
getInfoWindow_ID
public int getInfoWindow_ID()- Specified by:
getInfoWindow_ID
in interfaceIProcessButton
- Returns:
- AD_InfoWindow_ID
-
getADTabpanel
- Specified by:
getADTabpanel
in interfaceIProcessButton
- Returns:
IADTabpanel
instance that own this button
-
getColumnName
- Specified by:
getColumnName
in interfaceIProcessButton
- Returns:
- Column Name
-
getDescription
- Specified by:
getDescription
in interfaceIProcessButton
- Returns:
- Description
-
getDisplay
- Specified by:
getDisplay
in interfaceIProcessButton
- Returns:
- Display text
-
getButton
public org.zkoss.zul.Button getButton()- Returns:
Button
-
dynamicDisplay
public void dynamicDisplay()Dynamic update of button state. -
get_ValueAsString
Description copied from interface:Evaluatee
Get Variable Value- Specified by:
get_ValueAsString
in interfaceEvaluatee
- Parameters:
variableName
- name- Returns:
- value
-
readOnlyLogic
public void readOnlyLogic()Evaluate readOnlyLogic (if defined) -
pressedLogic
public void pressedLogic()Evaluate pressedLogic (if defined)
-