Adempiere 3.5.2a

org.adempiere.webui.editor
Class WImageEditor

java.lang.Object
  extended by org.adempiere.webui.editor.WEditor
      extended by org.adempiere.webui.editor.WImageEditor
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class WImageEditor
extends WEditor

This class is based on org.compiere.grid.ed.VImage written by Jorg Janke.

Author:
Jorg Janke Modifications - UI Compatibility, Low Heng Sin

Field Summary
 
Fields inherited from class org.adempiere.webui.editor.WEditor
component, gridField, gridTab, label, listeners, mandatory, MAX_DISPLAY_LENGTH
 
Constructor Summary
WImageEditor(GridField gridField)
           
 
Method Summary
 Button getComponent()
           
 String getDisplay()
           
 String[] getEvents()
           
 Object getValue()
           
 boolean isMandatory()
           
 boolean isReadWrite()
           
 void onEvent(Event event)
           
 void setMandatory(boolean mandatory)
          Set whether the editor represents a mandatory field.
 void setReadWrite(boolean readWrite)
           
 void setValue(Object value)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WImageEditor

public WImageEditor(GridField gridField)
Method Detail

getComponent

public Button getComponent()
Overrides:
getComponent 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

isReadWrite

public boolean isReadWrite()
Specified by:
isReadWrite in class WEditor

setReadWrite

public void setReadWrite(boolean readWrite)
Specified by:
setReadWrite in class WEditor

setValue

public void setValue(Object value)
Specified by:
setValue in class WEditor

getEvents

public String[] getEvents()
Overrides:
getEvents in class WEditor

onEvent

public void onEvent(Event event)
             throws Exception
Throws:
Exception

Adempiere 3.5.2a

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