public class TDIViewLayout extends AbstractViewLayout
The GNU General Public License for details.| Modifier and Type | Field and Description |
|---|---|
private JTabbedPane |
tabs
The tabbed view pane
|
| Constructor and Description |
|---|
TDIViewLayout()
Build a TDI layout
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPopup(JPopupMenu popup)
Bind a popup to the tabbed page
|
void |
addView(Component component)
Add a view to the set.
|
protected void |
forceRemoveView(Component component)
Unconditionally remove a view from the set.
|
Component |
getSelected()
Returns the top view.
|
void |
removeView(Component component)
Remove a view from the set.
|
void |
select(Component component)
Find the view and select it.
|
void |
updateTitle(Component component)
Update the title of the view.
|
addViewEventListener, closeAll, closeOthers, fireViewRemoved, getConstraint, getPanel, getTitle, getView, getViewCount, getViews, iterator, moveTo, removeViewEventListener, visitprivate JTabbedPane tabs
public void addView(Component component)
AbstractViewLayoutaddView in interface ViewableaddView in class AbstractViewLayoutpublic void removeView(Component component)
AbstractViewLayoutremoveView in interface ViewableremoveView in class AbstractViewLayoutprotected void forceRemoveView(Component component)
AbstractViewLayoutforceRemoveView in class AbstractViewLayoutpublic void updateTitle(Component component)
AbstractViewLayoutupdateTitle in interface ViewableupdateTitle in class AbstractViewLayoutcomponent - the component whose title is to be usedpublic Component getSelected()
AbstractViewLayoutgetSelected in interface ViewablegetSelected in class AbstractViewLayoutpublic void select(Component component)
AbstractViewLayoutselect in interface Viewableselect in class AbstractViewLayoutpublic void addPopup(JPopupMenu popup)
popup -