public class AboutBoxFactory
extends java.lang.Object
AboutBoxModel
.
Generally, you should retrieve the IDE's default AboutBoxFactory using the
getAboutBoxFactory()
method rather than constructing instances
of this class directly.
Extensions may add pages to the about box by calling
addPage(Class)
, passing a subclass of AboutBoxPage
.
showAboutBox()
displays the about dialog.
Constructor and Description |
---|
AboutBoxFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addPage(java.lang.Class pageClass)
Add a page to the about box.
|
static AboutBoxFactory |
getAboutBoxFactory()
Get the about box factory instance.
|
void |
removePage(java.lang.Class pageClass)
Remove a page from the about box.
|
static void |
setAboutBoxFactory(AboutBoxFactory factory)
Set the about box factory.
|
void |
setModel(AboutBoxModel model)
Set the model for the about box.
|
void |
showAboutBox()
Show the about box in a dialog.
|
public static final AboutBoxFactory getAboutBoxFactory()
public static final void setAboutBoxFactory(AboutBoxFactory factory)
factory
- the factory responsible for creating AboutBox
instances.public void setModel(AboutBoxModel model)
model
- the model for the about box.public final void addPage(java.lang.Class pageClass)
pageClass
- the class of an AboutBoxPage. Must not be null.public final void removePage(java.lang.Class pageClass)
pageClass
- the class of the page to remove.public void showAboutBox()