|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jidesoft.popup.JidePopupFactory
public class 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 | |
---|---|
JidePopupFactory()
|
Method Summary | |
---|---|
JidePopup |
createPopup()
|
static int |
getPopupType()
Get the type of popups that will automatically be created |
static JidePopupFactory |
getSharedInstance()
Returns the shared JidePopupFactory which can be used to obtain JidePopup s. |
static void |
setPopupType(int poupType)
Sets the type to automatically create. |
static void |
setSharedInstance(JidePopupFactory factory)
Sets the JidePopupFactory that will be used to obtain JidePopup s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JidePopupFactory()
Method Detail |
---|
public JidePopup createPopup()
public static void setPopupType(int poupType)
poupType
- the popup typepublic static void setSharedInstance(JidePopupFactory factory)
JidePopupFactory
that will be used to obtain JidePopup
s. This will throw an
IllegalArgumentException
if factory
is null.
factory
- the shared factory
IllegalArgumentException
- if factory
is nullcreatePopup()
public static int getPopupType()
public static JidePopupFactory getSharedInstance()
JidePopupFactory
which can be used to obtain JidePopup
s.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |