org.adempiere.webui.editor
Class WLocationEditor
java.lang.Object
org.adempiere.webui.editor.WEditor
org.adempiere.webui.editor.WLocationEditor
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class WLocationEditor
- extends WEditor
- implements EventListener, PropertyChangeListener
- Author:
- Sendy Yagambrum
| Methods inherited from class org.adempiere.webui.editor.WEditor |
addValueChangeListner, cleanColumnName, fireValueChange, getColumnName, getDescription, getGridField, getLabel, getPopupMenu, isAsap, isMandatory, isVisible, setBackground, setBackground, setColumnName, setComponent, setGridTab, setMandatory, setVisible, toString |
WLocationEditor
public WLocationEditor(String columnName,
boolean mandatory,
boolean isReadOnly,
boolean isUpdateable,
MLocationLookup mLocation)
- Constructor without GridField
- Parameters:
columnName - column namemandatory - mandatoryisReadOnly - read onlyisUpdateable - updateablemLocation - location model
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 Locationbox 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
getC_Location_ID
public int getC_Location_ID()
- Return Editor value
- Returns:
- value
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Property Change Listener
- Specified by:
propertyChange in interface PropertyChangeListener- Overrides:
propertyChange in class WEditor
- Parameters:
evt - PropertyChangeEvent
onEvent
public void onEvent(Event event)
throws Exception
- Throws:
Exception
getEvents
public String[] getEvents()
- return listener events to be associated with editor component
- Overrides:
getEvents in class WEditor
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.