Adempiere 3.5.2a

org.adempiere.webui.editor
Class WTableDirEditor

java.lang.Object
  extended by org.adempiere.webui.editor.WEditor
      extended by 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

Field Summary
 String[] LISTENER_EVENTS
           
 
Fields inherited from class org.adempiere.webui.editor.WEditor
component, gridField, gridTab, label, listeners, mandatory, MAX_DISPLAY_LENGTH
 
Constructor Summary
WTableDirEditor(GridField gridField)
           
WTableDirEditor(Lookup lookup, String label, String description, boolean mandatory, boolean readonly, boolean updateable)
          Constructor for use if a grid field is unavailable
 
Method Summary
 void actionZoom()
           
 void contentsChanged(ListDataEvent e)
           
 Listbox getComponent()
           
 String getDisplay()
           
 String[] getEvents()
           
 WEditorPopupMenu getPopupMenu()
           
 Object getValue()
           
 void intervalAdded(ListDataEvent e)
           
 void intervalRemoved(ListDataEvent e)
           
 boolean isReadWrite()
           
 void onEvent(Event event)
           
 void onMenu(ContextMenuEvent evt)
           
 void propertyChange(PropertyChangeEvent evt)
           
 void setReadWrite(boolean readWrite)
           
 void setValue(Object value)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LISTENER_EVENTS

public final String[] LISTENER_EVENTS
Constructor Detail

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 data
label - column name (not displayed)
description - description of component
mandatory - whether a selection must be made
readonly - whether or not the editor is read only
updateable - whether the editor contents can be changed
Method Detail

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 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.