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
,IInputValidator
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Default editor for
A readonly editor that render dashboard content from
DisplayType.DashboardContent
.A readonly editor that render dashboard content from
MDashboardContent
to Panel
component.- Author:
- hengsin
-
Nested Class Summary
Nested classes/interfaces inherited from class org.adempiere.webui.editor.WEditor
WEditor.DynamicDisplayListener
-
Field Summary
Fields inherited from class org.adempiere.webui.editor.WEditor
component, gridField, gridTab, IDEMPIERE_EDITOR_ATTR, INIT_EDIT_EVENT, label, listeners, mandatory, MAX_DISPLAY_LENGTH, popupMenu, readOnly, tableEditor
-
Constructor Summary
ConstructorDescriptionWDashboardContentEditor
(GridField gridField, int windowNo) WDashboardContentEditor
(GridField gridField, int windowNo, boolean tableEditor, IEditorConfiguration editorConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
PostON_RENDER_CONTENT
event to render dashboard content.org.zkoss.zul.Panel
Always return null.getValue()
Always return null.boolean
void
onEvent
(org.zkoss.zk.ui.event.Event event) protected void
setFieldStyle
(String style) Set field stylevoid
setReadWrite
(boolean readWrite) No op.void
No op.Methods inherited from class org.adempiere.webui.editor.WEditor
addChangeLogMenu, addDynamicDisplayListener, addTextEditorMenu, addValueChangeListener, applyFieldStyles, applyLabelStyles, buildStyle, cleanColumnName, dynamicDisplay, fillHorizontal, fireValueChange, focusNext, getColumnName, getDescription, getDisplayComponent, getDisplayTextForGridView, getDisplayTextForGridView, getEvents, getGridField, getLabel, getPopupMenu, getStyleEvaluatee, getValidInput, isComponentOfEditor, isMandatory, isMandatoryStyle, isNullOrEmpty, isProcessParameter, isSearchable, isShowPreference, isValid, isVisible, isZoomable, propertyChange, removeDynamicDisplayListener, removeValuechangeListener, setBackground, setBackground, setChangeEventWhenEditing, setColumnName, setComponent, setGridTab, setLabelStyle, setMandatory, setProcessParameter, setTableEditor, setValidInput, setVisible, setVisible, showMenu, toString, updateLabelStyle, updateStyle, updateStyle
-
Constructor Details
-
WDashboardContentEditor
- Parameters:
gridField
-windowNo
-
-
WDashboardContentEditor
public WDashboardContentEditor(GridField gridField, int windowNo, boolean tableEditor, IEditorConfiguration editorConfiguration) - Parameters:
gridField
- GridField for PA_DashboardContent_IDwindowNo
-tableEditor
-editorConfiguration
-
-
-
Method Details
-
onEvent
- Throws:
Exception
-
setReadWrite
public void setReadWrite(boolean readWrite) No op.- Specified by:
setReadWrite
in classWEditor
-
isReadWrite
public boolean isReadWrite()- Specified by:
isReadWrite
in classWEditor
- Returns:
- true if editable
-
setValue
No op. -
getValue
Always return null. -
getDisplay
Always return null.- Specified by:
getDisplay
in classWEditor
- Returns:
- display text
-
dynamicDisplay
public void dynamicDisplay()PostON_RENDER_CONTENT
event to render dashboard content.- Overrides:
dynamicDisplay
in classWEditor
-
getComponent
public org.zkoss.zul.Panel getComponent()- Overrides:
getComponent
in classWEditor
- Returns:
- Component
-
setFieldStyle
Description copied from class:WEditor
Set field style- Overrides:
setFieldStyle
in classWEditor
- Parameters:
style
- sclass name (@sclass=) or zclass name (@zclass=) or css style string
-