T
- type of the page componentpublic interface IPageCompCreator<T extends javax.swing.JComponent>
IPage
view component creator.
Pages that wish to get notified about them being selected or deselected must create and return a page component which implements
IPageSelectedListener
.
Closeable pages (if IPage.isCloseable()
returns true) can be notified about being closed (and can even veto it) by creating and returning a page
component which implements the IPageClosingListener
.
If a returned page component implements the IPageDisposedListener
interface, IPageDisposedListener.pageDisposed()
will be properly called
before the page component is disposed.
IPage
Modifier and Type | Method and Description |
---|---|
T |
createPageComp()
Creates and returns a new page view component.
|
T createPageComp()
BorderLayout
.
If the returned component implements listeners such as IPageSelectedListener
, IPageClosingListener
or IPageDisposedListener
, they
will be called properly.
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.