| Package | Description |
|---|---|
| de.javagl.common.ui.closeable |
Package with UI components that can be closed
|
| Modifier and Type | Method and Description |
|---|---|
static CloseCallback |
CloseCallbacks.alwaysTrue()
Returns a
CloseCallback that always returns true |
static CloseCallback |
CloseCallbacks.confirming()
Returns a
CloseCallback that shows a confirmation dialog |
static CloseCallback |
CloseCallbacks.confirming(String question)
Returns a
CloseCallback that shows a confirmation dialog that
asks the given question |
| Modifier and Type | Method and Description |
|---|---|
static void |
CloseableTab.addTo(JTabbedPane tabbedPane,
String title,
JComponent component,
CloseCallback closeCallback)
Adds a
CloseableTab with the given title and component to
the given tabbed pane. |
| Constructor and Description |
|---|
CloseablePanel(String title,
JComponent content,
CloseCallback closeCallback)
Creates a new instance with the given title and content.
|
Copyright © 2022. All rights reserved.