Package org.adempiere.webui.info
Class WInfoPAttributeEditor
- java.lang.Object
-
- org.adempiere.webui.editor.WEditor
-
- org.adempiere.webui.info.WInfoPAttributeEditor
-
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
,IWhereClauseEditor
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WInfoPAttributeEditor extends WEditor implements IWhereClauseEditor
- Author:
- hengsin
-
-
Field Summary
-
Fields inherited from class org.adempiere.webui.editor.WEditor
component, gridField, gridTab, INIT_EDIT_EVENT, label, listeners, mandatory, MAX_DISPLAY_LENGTH, popupMenu, readOnly, tableEditor
-
-
Constructor Summary
Constructors Constructor Description WInfoPAttributeEditor(Properties ctx, int windowNo, GridField gridField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearWhereClause()
protected void
cmd_InfoPAttribute()
Query per Product Attribute.void
dynamicDisplay()
Button
getComponent()
String
getDisplay()
Object
getValue()
String
getWhereClause()
boolean
isReadWrite()
void
onEvent(org.zkoss.zk.ui.event.Event event)
void
setReadWrite(boolean readWrite)
void
setValue(Object value)
-
Methods inherited from class org.adempiere.webui.editor.WEditor
addChangeLogMenu, addTextEditorMenu, addValueChangeListener, applyFieldStyles, applyLabelStyles, buildStyle, cleanColumnName, dynamicDisplay, fillHorizontal, fireValueChange, focusNext, getColumnName, getDescription, getDisplayComponent, getDisplayTextForGridView, getEvents, getGridField, getLabel, getPopupMenu, getStyleEvaluatee, isComponentOfEditor, isMandatory, isMandatoryStyle, isNullOrEmpty, isProcessParameter, isSearchable, isShowPreference, isVisible, isZoomable, propertyChange, removeValuechangeListener, setBackground, setBackground, setChangeEventWhenEditing, setColumnName, setComponent, setFieldStyle, setGridTab, setLabelStyle, setMandatory, setProcessParameter, setTableEditor, setVisible, showMenu, toString, updateLabelStyle, updateStyle, updateStyle
-
-
-
-
Constructor Detail
-
WInfoPAttributeEditor
public WInfoPAttributeEditor(Properties ctx, int windowNo, GridField gridField)
- Parameters:
ctx
-windowNo
-gridField
-
-
-
Method Detail
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event event) throws Exception
- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Throws:
Exception
-
setReadWrite
public void setReadWrite(boolean readWrite)
- Specified by:
setReadWrite
in classWEditor
-
isReadWrite
public boolean isReadWrite()
- Specified by:
isReadWrite
in classWEditor
- Returns:
- editable
-
getDisplay
public String getDisplay()
- Specified by:
getDisplay
in classWEditor
- Returns:
- display text
-
getComponent
public Button getComponent()
- Overrides:
getComponent
in classWEditor
- Returns:
- Component
-
getWhereClause
public String getWhereClause()
- Specified by:
getWhereClause
in interfaceIWhereClauseEditor
- 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()
- Overrides:
dynamicDisplay
in classWEditor
-
-