Class WInfoPAttributeEditor

java.lang.Object
org.adempiere.webui.editor.WEditor
org.adempiere.webui.info.WInfoPAttributeEditor
All Implemented Interfaces:
PropertyChangeListener, EventListener, IInputValidator, IWhereClauseEditor, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>

public class WInfoPAttributeEditor extends WEditor implements IWhereClauseEditor
Author:
hengsin
  • Constructor Details

    • WInfoPAttributeEditor

      public WInfoPAttributeEditor(Properties ctx, int windowNo, GridField gridField)
      Parameters:
      ctx -
      windowNo -
      gridField -
  • Method Details

    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event event) throws Exception
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      Throws:
      Exception
    • setReadWrite

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

      public boolean isReadWrite()
      Specified by:
      isReadWrite in class WEditor
      Returns:
      true if editable
    • setValue

      public void setValue(Object value)
      Description copied from class: WEditor
      Set editor value
      Specified by:
      setValue in class WEditor
    • getValue

      public Object getValue()
      Specified by:
      getValue in class WEditor
      Returns:
      Object, current value of editor
    • getDisplay

      public String getDisplay()
      Specified by:
      getDisplay in class WEditor
      Returns:
      display text
    • getComponent

      public Button getComponent()
      Overrides:
      getComponent in class WEditor
      Returns:
      Component
    • getWhereClause

      public String getWhereClause()
      Specified by:
      getWhereClause in interface IWhereClauseEditor
      Returns:
      where clause
    • clearWhereClause

      public void clearWhereClause()
    • cmd_InfoPAttribute

      protected void cmd_InfoPAttribute()
      Query per Product Attribute. Available synonyms: M_Product p M_ProductPrice pr M_AttributeSet pa
    • dynamicDisplay

      public void dynamicDisplay()
      Description copied from class: WEditor
      Dynamic update of component state
      Overrides:
      dynamicDisplay in class WEditor