org.adempiere.webui.panel
Class AbstractADWindowPanel
java.lang.Object
org.adempiere.webui.part.AbstractUIPart
org.adempiere.webui.panel.AbstractADWindowPanel
- All Implemented Interfaces:
- EventListener, ActionListener, ToolbarListener, UIPart, DataStatusListener, ASyncProcess
- Direct Known Subclasses:
- ADWindowPanel
public abstract class AbstractADWindowPanel
- extends AbstractUIPart
- implements ToolbarListener, EventListener, DataStatusListener, ActionListener, ASyncProcess
This class is based on org.compiere.apps.APanel written by Jorg Janke.
- Version:
- $Revision: 0.10 $
- Author:
- Jorg Janke, Ashley G Ramdass, Low Heng Sin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statusBar
protected StatusBarPanel statusBar
adTab
protected IADTab adTab
toolbar
protected CWindowToolbar toolbar
title
protected String title
AbstractADWindowPanel
public AbstractADWindowPanel(Properties ctx,
int windowNo)
createPart
public Component createPart(Object parent)
- Specified by:
createPart in interface UIPart- Overrides:
createPart in class AbstractUIPart
getStatusBar
public StatusBarPanel getStatusBar()
createADTab
protected abstract IADTab createADTab()
initPanel
public boolean initPanel(int adWindowId,
MQuery query)
getTitle
public String getTitle()
onDetailRecord
public void onDetailRecord()
- Specified by:
onDetailRecord in interface ToolbarListener
onParentRecord
public void onParentRecord()
- Specified by:
onParentRecord in interface ToolbarListener
onFirst
public void onFirst()
- Specified by:
onFirst in interface ToolbarListener
onLast
public void onLast()
- Specified by:
onLast in interface ToolbarListener
onNext
public void onNext()
- Specified by:
onNext in interface ToolbarListener
onPrevious
public void onPrevious()
- Specified by:
onPrevious in interface ToolbarListener
onHistoryRecords
public void onHistoryRecords()
onAttachment
public void onAttachment()
onGridToggle
public void onGridToggle()
onExit
public boolean onExit()
isAsap
public boolean isAsap()
onEvent
public void onEvent(Event event)
dataStatusChanged
public void dataStatusChanged(DataStatusEvent e)
- Description copied from interface:
DataStatusListener
- Data Changed
- Specified by:
dataStatusChanged in interface DataStatusListener
- Parameters:
e - event
isFirstTab
public boolean isFirstTab()
onRefresh
public void onRefresh()
- Specified by:
onRefresh in interface ToolbarListener
onHelp
public void onHelp()
onNew
public void onNew()
- Specified by:
onNew in interface ToolbarListener
onFind
public void onFind()
onIgnore
public void onIgnore()
- Specified by:
onIgnore in interface ToolbarListener
onEdit
public void onEdit()
- Specified by:
onEdit in interface ToolbarListener
onSave
public void onSave()
onDelete
public void onDelete()
onPrint
public void onPrint()
- Specified by:
onPrint in interface ToolbarListener
onReport
public void onReport()
- Specified by:
onReport in interface ToolbarListener
onZoomAcross
public void onZoomAcross()
onActiveWorkflows
public void onActiveWorkflows()
onRequests
public void onRequests()
onProductInfo
public void onProductInfo()
actionPerformed
public void actionPerformed(ActionEvent event)
- Specified by:
actionPerformed in interface ActionListener
getADTab
public IADTab getADTab()
executeASync
public void executeASync(ProcessInfo pi)
- Description copied from interface:
ASyncProcess
- Method to be executed async.
Called from the Worker
- Specified by:
executeASync in interface ASyncProcess
- Parameters:
pi - ProcessInfo
isUILocked
public boolean isUILocked()
- Description copied from interface:
ASyncProcess
- Is the UI locked (Internal method)
- Specified by:
isUILocked in interface ASyncProcess
- Returns:
- true, if UI is locked
lockUI
public void lockUI(ProcessInfo pi)
- Description copied from interface:
ASyncProcess
- Lock User Interface.
Called from the Worker before processing
- Specified by:
lockUI in interface ASyncProcess
- Parameters:
pi - process info
unlockUI
public void unlockUI(ProcessInfo pi)
- Description copied from interface:
ASyncProcess
- Unlock User Interface.
Called from the Worker when processing is done
- Specified by:
unlockUI in interface ASyncProcess
- Parameters:
pi - result of execute ASync call
getToolbar
public CWindowToolbar getToolbar()
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.