public interface TabFramePopup
Modifier and Type | Field and Description |
---|---|
static String |
KEY_ALIGNMENT |
static String |
KEY_CONTENT |
static String |
KEY_ICON |
static String |
KEY_INDEX |
static String |
KEY_OPEN |
static String |
KEY_PEER_INSETS |
static String |
KEY_TAB_FRAME_PARENT |
static String |
KEY_TITLE |
static String |
KEY_VISIBLE_TAB |
Modifier and Type | Method and Description |
---|---|
default void |
close()
Close the popup.
|
com.github.weisj.darklaf.util.Alignment |
getAlignment()
Gets the alignment position in the {
JTabFrame }. |
Component |
getComponent()
Get the component that realizes this popup.
|
Component |
getContentPane()
Get the current content pane.
|
Icon |
getIcon()
Get the icon of the popup.
|
int |
getIndex()
Get the index of the popup.
|
JTabFrame |
getTabFrame()
Get the {
JTabFrame } this popup belongs to. |
String |
getTitle()
Get the title of the popup.
|
boolean |
isEnabled()
Returns whether this popup is enabled.
|
default void |
open()
Open the popup.
|
void |
setAlignment(com.github.weisj.darklaf.util.Alignment alignment)
Sets the alignment position in the {
JTabFrame }. |
void |
setContentPane(Component contentPane)
Sets the content pane.
|
void |
setEnabled(boolean enabled)
Sets the enabled status of the popup.
|
void |
setIcon(Icon icon)
Set the icon of the popup.
|
void |
setIndex(int index)
Set the index of the popup.
|
void |
setTabFrame(JTabFrame tabFrame)
Sets the {
JTabFrame } this popup belongs to. |
void |
setTitle(String title)
Set the title of the popup.
|
void |
updateContentUI()
Updates the ui of all components.
|
static final String KEY_VISIBLE_TAB
static final String KEY_CONTENT
static final String KEY_TAB_FRAME_PARENT
static final String KEY_ALIGNMENT
static final String KEY_ICON
static final String KEY_INDEX
static final String KEY_TITLE
static final String KEY_OPEN
static final String KEY_PEER_INSETS
Component getContentPane()
void setContentPane(Component contentPane)
contentPane
- the content pane to use.Component getComponent()
void updateContentUI()
default void close()
JTabFrame getTabFrame()
JTabFrame
} this popup belongs to.JTabFrame
}.void setTabFrame(JTabFrame tabFrame)
JTabFrame
} this popup belongs to.tabFrame
- the {JTabFrame
}.com.github.weisj.darklaf.util.Alignment getAlignment()
JTabFrame
}.int getIndex()
void setIndex(int index)
JTabFrame
}.index
- the index.void setAlignment(com.github.weisj.darklaf.util.Alignment alignment)
alignment
- the alignment position.default void open()
boolean isEnabled()
void setEnabled(boolean enabled)
enabled
- true if enabled.String getTitle()
void setTitle(String title)
title
- the title.Icon getIcon()
void setIcon(Icon icon)
icon
- the icon.