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 ValueGetIADTabpanel
instance that own this buttonorg.zkoss.zul.Button
Get Column NameGet DescriptionGet display textint
Get info window idint
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()Description copied from interface:IProcessButton
Get info window id- Specified by:
getInfoWindow_ID
in interfaceIProcessButton
- Returns:
- AD_InfoWindow_ID
-
getADTabpanel
Description copied from interface:IProcessButton
GetIADTabpanel
instance that own this button- Specified by:
getADTabpanel
in interfaceIProcessButton
- Returns:
IADTabpanel
instance that own this button
-
getColumnName
Description copied from interface:IProcessButton
Get Column Name- Specified by:
getColumnName
in interfaceIProcessButton
- Returns:
- Column Name
-
getDescription
Description copied from interface:IProcessButton
Get Description- Specified by:
getDescription
in interfaceIProcessButton
- Returns:
- Description
-
getDisplay
Description copied from interface:IProcessButton
Get display text- 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)
-