public interface TabbedContent extends Content
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SPLIT_PROPERTY_PREFIX |
IS_CLOSABLE, PROP_ACTIONS, PROP_ALERT, PROP_COMPONENT, PROP_DESCRIPTION, PROP_DISPLAY_NAME, PROP_ICON, TAB_DESCRIPTOR_KEY, TAB_DND_TARGET_KEY, TAB_GROUP_ID_KEY, TAB_GROUP_NAME_KEY, TAB_LABEL_ORIENTATION_KEY, TABBED_CONTENT_KEY
Modifier and Type | Method and Description |
---|---|
void |
addContent(javax.swing.JComponent content,
java.lang.String name,
boolean selectTab) |
default void |
addContent(TabDescriptor tab,
boolean selectTab) |
default TabGroupId |
getId() |
default int |
getSelectedIndex()
This method is used for preselecting popup menu items
|
java.util.List<Pair<java.lang.String,javax.swing.JComponent>> |
getTabs() |
java.lang.String |
getTitlePrefix() |
default boolean |
hasMultipleTabs() |
void |
removeContent(javax.swing.JComponent content) |
void |
selectContent(int index)
This method is invoked before content is selected with
ContentManager.setSelectedContent(Content) |
default void |
setTitlePrefix(java.lang.String titlePrefix)
Deprecated.
|
void |
split() |
addPropertyChangeListener, fireAlert, getActions, getActionsContextComponent, getAlertIcon, getBusyObject, getDescription, getDisplayName, getDisposer, getExecutionId, getHelpId, getIcon, getManager, getPlace, getPopupIcon, getSearchComponent, getSeparator, getTabName, getToolwindowTitle, isCloseable, isPinnable, isPinned, isSelected, isValid, release, removePropertyChangeListener, setActions, setAlertIcon, setBusyObject, setCloseable, setComponent, setDescription, setDisplayName, setDisposer, setExecutionId, setHelpId, setIcon, setPinnable, setPinned, setPopupIcon, setPreferredFocusableComponent, setPreferredFocusedComponent, setSearchComponent, setSeparator, setShouldDisposeContent, setTabName, setToolwindowTitle
getUserData, putUserData
getComponent, getPreferredFocusableComponent
dispose
static final java.lang.String SPLIT_PROPERTY_PREFIX
void addContent(javax.swing.JComponent content, java.lang.String name, boolean selectTab)
default void addContent(TabDescriptor tab, boolean selectTab)
void removeContent(javax.swing.JComponent content)
default int getSelectedIndex()
selectContent(int)
void selectContent(int index)
ContentManager.setSelectedContent(Content)
index
- index of tab in getTabs()
java.util.List<Pair<java.lang.String,javax.swing.JComponent>> getTabs()
default boolean hasMultipleTabs()
default TabGroupId getId()
java.lang.String getTitlePrefix()
@Deprecated default void setTitlePrefix(java.lang.String titlePrefix)
void split()