org.adempiere.webui.editor
Class WDateEditor
java.lang.Object
org.adempiere.webui.editor.WEditor
org.adempiere.webui.editor.WDateEditor
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class WDateEditor
- extends WEditor
- Version:
- $Revision: 0.10 $
- Author:
- Ashley G Ramdass
| Methods inherited from class org.adempiere.webui.editor.WEditor |
addValueChangeListner, cleanColumnName, fireValueChange, getColumnName, getDescription, getGridField, getLabel, getPopupMenu, isAsap, isVisible, propertyChange, setBackground, setBackground, setColumnName, setComponent, setGridTab, setVisible, toString |
WDateEditor
public WDateEditor(GridField gridField)
WDateEditor
public WDateEditor(String label,
String description,
boolean mandatory,
boolean readonly,
boolean updateable)
- Constructor for use if a grid field is unavailable
- Parameters:
label - column name (not displayed)description - description of componentmandatory - whether a selection must be madereadonly - whether or not the editor is read onlyupdateable - whether the editor contents can be changed
WDateEditor
public WDateEditor()
onEvent
public void onEvent(Event event)
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 Datebox 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
getEvents
public String[] getEvents()
- Overrides:
getEvents in class WEditor
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.