org.adempiere.webui.editor
Class WTableDirEditor
java.lang.Object
org.adempiere.webui.editor.WEditor
org.adempiere.webui.editor.WTableDirEditor
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, ListDataListener, IZoomableEditor, ContextMenuListener
public class WTableDirEditor
- extends WEditor
- implements ListDataListener, ContextMenuListener, IZoomableEditor
- Version:
- $Revision: 0.10 $
- Author:
- Ashley G Ramdass
| Methods inherited from class org.adempiere.webui.editor.WEditor |
addValueChangeListner, cleanColumnName, fireValueChange, getColumnName, getDescription, getGridField, getLabel, isAsap, isMandatory, isVisible, setBackground, setBackground, setColumnName, setComponent, setGridTab, setMandatory, setVisible, toString |
LISTENER_EVENTS
public final String[] LISTENER_EVENTS
WTableDirEditor
public WTableDirEditor(GridField gridField)
WTableDirEditor
public WTableDirEditor(Lookup lookup,
String label,
String description,
boolean mandatory,
boolean readonly,
boolean updateable)
- Constructor for use if a grid field is unavailable
- Parameters:
lookup - Store of selectable datalabel - 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
getDisplay
public String getDisplay()
- Specified by:
getDisplay in class WEditor
getValue
public Object getValue()
- Specified by:
getValue in class WEditor
setValue
public void setValue(Object value)
- Specified by:
setValue in class WEditor
getComponent
public Listbox 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
onEvent
public void onEvent(Event event)
getEvents
public String[] getEvents()
- Overrides:
getEvents in class WEditor
contentsChanged
public void contentsChanged(ListDataEvent e)
- Specified by:
contentsChanged in interface ListDataListener
intervalAdded
public void intervalAdded(ListDataEvent e)
- Specified by:
intervalAdded in interface ListDataListener
intervalRemoved
public void intervalRemoved(ListDataEvent e)
- Specified by:
intervalRemoved in interface ListDataListener
getPopupMenu
public WEditorPopupMenu getPopupMenu()
- Overrides:
getPopupMenu in class WEditor
actionZoom
public void actionZoom()
- Specified by:
actionZoom in interface IZoomableEditor
onMenu
public void onMenu(ContextMenuEvent evt)
- Specified by:
onMenu in interface ContextMenuListener
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange in interface PropertyChangeListener- Overrides:
propertyChange in class WEditor
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.