Package org.adempiere.webui
Class Extensions
- java.lang.Object
-
- org.adempiere.webui.Extensions
-
public class Extensions extends Object
- Author:
- viola, hengsin
-
-
Constructor Summary
Constructors Constructor Description Extensions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IADTabpanel
getADTabPanel(String tabType)
static List<IChartRendererService>
getChartRendererServices()
static ICreateFrom
getCreateFrom(GridTab mTab)
static org.zkoss.zk.ui.Component
getDashboardGadget(String url, org.zkoss.zk.ui.Component parent)
static org.zkoss.zk.ui.Component
getDashboardGadget(String url, org.zkoss.zk.ui.Component parent, MDashboardContent dc)
static ADForm
getForm(String formId)
static IMappedFormFactory
getMappedFormFactory()
static IMediaView
getMediaView(String contentType, String extension, boolean mobile)
static IPaymentForm
getPaymentForm(int windowNo, GridTab mTab, String paymentRule)
static List<IProcessParameterListener>
getProcessParameterListeners(String processClass, String columnName)
static AbstractWQuickEntry
getQuickEntry(int WindowNo, int TabNo, int AdWindowID)
static AbstractWQuickEntry
getQuickEntry(Integer AdWindowID)
-
-
-
Method Detail
-
getForm
public static ADForm getForm(String formId)
- Parameters:
formId
- Java class name or equinox extension Id- Returns:
- IFormController instance or null if formId not found
-
getProcessParameterListeners
public static List<IProcessParameterListener> getProcessParameterListeners(String processClass, String columnName)
- Parameters:
processClass
-columnName
-- Returns:
- list of parameter listener
-
getCreateFrom
public static ICreateFrom getCreateFrom(GridTab mTab)
- Parameters:
mTab
-- Returns:
- ICreateFrom instance
-
getPaymentForm
public static IPaymentForm getPaymentForm(int windowNo, GridTab mTab, String paymentRule)
- Parameters:
windowNo
-mTab
-paymentRule
-- Returns:
- IPaymentForm instance
-
getDashboardGadget
public static final org.zkoss.zk.ui.Component getDashboardGadget(String url, org.zkoss.zk.ui.Component parent)
- Parameters:
url
-parent
-- Returns:
- Gadget component
-
getDashboardGadget
public static final org.zkoss.zk.ui.Component getDashboardGadget(String url, org.zkoss.zk.ui.Component parent, MDashboardContent dc)
- Parameters:
url
-parent
-dc
-- Returns:
- Gadget component
-
getChartRendererServices
public static final List<IChartRendererService> getChartRendererServices()
- Returns:
- list of
IChartRendererService
-
getMappedFormFactory
public static IMappedFormFactory getMappedFormFactory()
- Returns:
IMappedFormFactory
-
getQuickEntry
public static AbstractWQuickEntry getQuickEntry(Integer AdWindowID)
- Parameters:
AdWindowID
-- Returns:
- IQuickEntryFactory instance or null if AdWindowID not found
-
getQuickEntry
public static AbstractWQuickEntry getQuickEntry(int WindowNo, int TabNo, int AdWindowID)
- Parameters:
WindowNo
-TabNo
-AdWindowID
-- Returns:
- IQuickEntry instance or null if AdWindowID not found
-
getMediaView
public static IMediaView getMediaView(String contentType, String extension, boolean mobile)
- Parameters:
contentType
-extension
-mobile
-- Returns:
IMediaView
-
getADTabPanel
public static IADTabpanel getADTabPanel(String tabType)
- Parameters:
tabType
-- Returns:
IADTabpanel
-
-