public static interface IOContainer.Provider
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(javax.swing.JComponent comp,
IOContainer.CallBacks cb) |
Provided component should be added to parent container
|
javax.swing.JComponent |
getSelected() |
Currently selected io component should be returned
|
boolean |
isActivated() |
Checks whether parent container is activated
|
boolean |
isCloseable(javax.swing.JComponent comp) |
Checks whether comp can be closed (e.g.
|
void |
open() |
Parent container for should be opened
|
void |
remove(javax.swing.JComponent comp) |
Provided component should be removed from parent container
|
void |
requestActive() |
Parent container for should be activated
|
void |
requestVisible() |
Parent container for should be selected (if opened)
|
void |
select(javax.swing.JComponent comp) |
Provided component should be selected
|
void |
setIcon(javax.swing.JComponent comp,
javax.swing.Icon icon) |
Should set icon for provided component
|
void |
setTitle(javax.swing.JComponent comp,
java.lang.String name) |
Should set title for provided component (e.g.
|
void |
setToolbarActions(javax.swing.JComponent comp,
javax.swing.Action[] toolbarActions) |
Should set toolbar actions for provided component
|
void |
setToolTipText(javax.swing.JComponent comp,
java.lang.String text) |
Should set title for provided component (e.g.
|
void open()
void requestActive()
void requestVisible()
boolean isActivated()
void add(javax.swing.JComponent comp,
IOContainer.CallBacks cb)
comp - component to addcb - callbacks for component notifications or null if component does not need notificationsvoid remove(javax.swing.JComponent comp)
comp - component to removevoid select(javax.swing.JComponent comp)
comp - component to selectjavax.swing.JComponent getSelected()
void setTitle(javax.swing.JComponent comp,
java.lang.String name)
comp - component for which title should be setname - component titlevoid setToolTipText(javax.swing.JComponent comp,
java.lang.String text)
comp - component for which title should be settext - component tool tip textvoid setIcon(javax.swing.JComponent comp,
javax.swing.Icon icon)
comp - component for which icon should seticon - component iconvoid setToolbarActions(javax.swing.JComponent comp,
javax.swing.Action[] toolbarActions)
comp - toolbarActions - toolbar actions for componentboolean isCloseable(javax.swing.JComponent comp)
comp - component which should be closeableBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.