Package org.adempiere.webui.editor
Class WDashboardContentEditor
- java.lang.Object
-
- org.adempiere.webui.editor.WEditor
-
- org.adempiere.webui.editor.WDashboardContentEditor
-
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WDashboardContentEditor extends WEditor
- 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 WDashboardContentEditor(GridField gridField, int windowNo)
WDashboardContentEditor(GridField gridField, int windowNo, boolean tableEditor, IEditorConfiguration editorConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dynamicDisplay()
org.zkoss.zul.Panel
getComponent()
String
getDisplay()
Object
getValue()
boolean
isReadWrite()
void
onEvent(org.zkoss.zk.ui.event.Event event)
protected void
setFieldStyle(String style)
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, setGridTab, setLabelStyle, setMandatory, setProcessParameter, setTableEditor, setVisible, showMenu, toString, updateLabelStyle, updateStyle, updateStyle
-
-
-
-
Constructor Detail
-
WDashboardContentEditor
public WDashboardContentEditor(GridField gridField, int windowNo)
- Parameters:
gridField
-windowNo
-
-
WDashboardContentEditor
public WDashboardContentEditor(GridField gridField, int windowNo, boolean tableEditor, IEditorConfiguration editorConfiguration)
- Parameters:
gridField
-windowNo
-tableEditor
-editorConfiguration
-
-
-
Method Detail
-
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
-
dynamicDisplay
public void dynamicDisplay()
- Overrides:
dynamicDisplay
in classWEditor
-
getComponent
public org.zkoss.zul.Panel getComponent()
- Overrides:
getComponent
in classWEditor
- Returns:
- Component
-
setFieldStyle
protected void setFieldStyle(String style)
- Overrides:
setFieldStyle
in classWEditor
-
-