Package com.jidesoft.popup
Class JidePopupFactory
java.lang.Object
com.jidesoft.popup.JidePopupFactory
This class creates instances of JidePopup components. It provides a consistent means for customizing popups without
the need for a custom UI or overriding all methods that create popups
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intGet the type of popups that will automatically be createdstatic JidePopupFactoryReturns the sharedJidePopupFactorywhich can be used to obtainJidePopups.static voidsetPopupType(int poupType) Sets the type to automatically create.static voidsetSharedInstance(JidePopupFactory factory) Sets theJidePopupFactorythat will be used to obtainJidePopups.
-
Constructor Details
-
JidePopupFactory
public JidePopupFactory()
-
-
Method Details
-
createPopup
-
setPopupType
public static void setPopupType(int poupType) Sets the type to automatically create. This forces all created popups to be of the specified type. By default, we use LIGHT_WEIGHT_POPUP.- Parameters:
poupType- the popup type
-
getPopupType
public static int getPopupType()Get the type of popups that will automatically be created- Returns:
- the type of popups that will automatically be created or -1 if the factory won't force a popup type.
-