org.adempiere.webui.editor
Class WButtonEditor
java.lang.Object
org.adempiere.webui.editor.WEditor
org.adempiere.webui.editor.WButtonEditor
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class WButtonEditor
- extends WEditor
This class is based on org.compiere.grid.ed.VButton written by Jorg Janke.
- Author:
- Jorg Janke
Modifications - UI Compatibility, ashley
| Methods inherited from class org.adempiere.webui.editor.WEditor |
addValueChangeListner, cleanColumnName, fireValueChange, getColumnName, getDescription, getLabel, getPopupMenu, isAsap, isVisible, propertyChange, setBackground, setBackground, setColumnName, setComponent, setGridTab, setVisible, toString |
WButtonEditor
public WButtonEditor(GridField gridField)
getProcess_ID
public int getProcess_ID()
- Get AD_Process_ID
- Returns:
- AD_Process_ID or 0
getGridField
public GridField getGridField()
- Overrides:
getGridField in class WEditor
getDisplay
public String getDisplay()
- Specified by:
getDisplay in class WEditor
getValue
public Object getValue()
- Specified by:
getValue in class WEditor
isMandatory
public boolean isMandatory()
- Overrides:
isMandatory in class WEditor
setMandatory
public void setMandatory(boolean mandatory)
- Description copied from class:
WEditor
- Set whether the editor represents a mandatory field.
- Overrides:
setMandatory in class WEditor
- Parameters:
mandatory - whether the field is mandatory
setValue
public void setValue(Object value)
- Specified by:
setValue in class WEditor
getComponent
public Button getComponent()
- Overrides:
getComponent in class WEditor
isReadWrite
public boolean isReadWrite()
- Specified by:
isReadWrite in class WEditor
setReadWrite
public void setReadWrite(boolean readWrite)
- Specified by:
setReadWrite in class WEditor
getValues
public HashMap getValues()
addActionListener
public void addActionListener(ActionListener actionListener)
getEvents
public String[] getEvents()
- Overrides:
getEvents in class WEditor
onEvent
public void onEvent(Event event)
throws Exception
- Throws:
Exception
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.