org.adempiere.webui
Class Desktop
java.lang.Object
org.adempiere.webui.part.AbstractUIPart
org.adempiere.webui.Desktop
- All Implemented Interfaces:
- Serializable, MenuListener, IDesktop, UIPart, EventListener
public class Desktop
- extends AbstractUIPart
- implements MenuListener, Serializable, IDesktop, EventListener
- Version:
- $Revision: 0.10 $
- Author:
- Ashley G Ramdass, Low Heng Sin
- See Also:
- Serialized Form
|
Method Summary |
void |
addWindow2TabPanel(Window window)
|
protected Component |
doCreatePart(Component parent)
|
Object |
findWindow(int WindowNo)
|
ClientInfo |
getClientInfo()
|
Component |
getComponent()
|
int |
getWorkflowCount()
|
void |
onEvent(Event event)
|
void |
onMenuSelected(int menuId)
Event listener for menu item selection. |
int |
registerWindow(Object win)
|
void |
removeWindow()
|
void |
setClientInfo(ClientInfo clientInfo)
|
void |
setPage(Page page)
|
void |
showEmbedded(Window win,
String position)
|
void |
showHighlighted(Window win,
String position)
|
void |
showModal(Window win)
|
void |
showOverlapped(Window win,
String position)
|
void |
showPopup(Window win,
String position)
|
void |
showURL(String url,
boolean closeable)
|
void |
showURL(String url,
String title,
boolean closeable)
|
void |
showURL(WebDoc webDoc,
String title,
boolean closeable)
|
void |
showWindow(Window win)
|
void |
showWindow(Window win,
String pos)
|
void |
showZoomWindow(int AD_Window_ID,
MQuery query)
|
void |
unregisterWindow(int WindowNo)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Desktop
public Desktop()
doCreatePart
protected Component doCreatePart(Component parent)
- Specified by:
doCreatePart in class AbstractUIPart
getWorkflowCount
public int getWorkflowCount()
addWindow2TabPanel
public void addWindow2TabPanel(Window window)
onEvent
public void onEvent(Event event)
- Specified by:
onEvent in interface EventListener
onMenuSelected
public void onMenuSelected(int menuId)
- Event listener for menu item selection.
Identifies the action associated with the selected
menu item and acts accordingly.
- Specified by:
onMenuSelected in interface MenuListener- Specified by:
onMenuSelected in interface IDesktop
- Parameters:
menuId - Identifier for the selected menu item
- Throws:
ApplicationException - If the selected menu action has yet
to be implemented
showURL
public void showURL(String url,
boolean closeable)
- Specified by:
showURL in interface IDesktop
showURL
public void showURL(String url,
String title,
boolean closeable)
showURL
public void showURL(WebDoc webDoc,
String title,
boolean closeable)
- Specified by:
showURL in interface IDesktop
showZoomWindow
public void showZoomWindow(int AD_Window_ID,
MQuery query)
- Specified by:
showZoomWindow in interface IDesktop
showWindow
public void showWindow(Window win)
- Specified by:
showWindow in interface IDesktop
showWindow
public void showWindow(Window win,
String pos)
- Specified by:
showWindow in interface IDesktop
showModal
public void showModal(Window win)
showPopup
public void showPopup(Window win,
String position)
showOverlapped
public void showOverlapped(Window win,
String position)
showHighlighted
public void showHighlighted(Window win,
String position)
showEmbedded
public void showEmbedded(Window win,
String position)
getClientInfo
public ClientInfo getClientInfo()
- Specified by:
getClientInfo in interface IDesktop
setClientInfo
public void setClientInfo(ClientInfo clientInfo)
registerWindow
public int registerWindow(Object win)
- Specified by:
registerWindow in interface IDesktop
unregisterWindow
public void unregisterWindow(int WindowNo)
- Specified by:
unregisterWindow in interface IDesktop
findWindow
public Object findWindow(int WindowNo)
removeWindow
public void removeWindow()
- Specified by:
removeWindow in interface IDesktop
setPage
public void setPage(Page page)
getComponent
public Component getComponent()
- Specified by:
getComponent in interface UIPart
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.