public interface IOverlayCard extends IConfigPopupBuilder
They are implemented as JDialog
s without decorations and with on-top capabilities.
The proper way to make an initialized and prepared IOverlayCard
visible:
overlay.packAndPosition(); overlay.asDialog().setVisible( true );
IGuiFactory.newOverlayCard(OverlayCardParams, IConfigPopupBuilder, Runnable)
,
IConfigPopupBuilder
,
IDialog
Modifier and Type | Method and Description |
---|---|
javax.swing.JDialog |
asDialog()
Casts this instance to
JDialog . |
IBorderPanel |
getCp()
Returns the custom border panel functioning as the content panel.
|
ILabel |
getTitleLabel()
Returns the overlay title label.
|
IBorderPanel |
getTitlePanel()
Returns the border panel functioning as the window title.
|
void |
packAndPosition()
Packs and positions this overlay card based on the overlay settings.
|
buildConfigPopup
javax.swing.JDialog asDialog()
JDialog
.this
as a JDialog
IBorderPanel getCp()
IBorderPanel getTitlePanel()
ILabel getTitleLabel()
void packAndPosition()
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.