org.noos.xing.mydoggy.plaf.ui.content
Class MyDoggyTabbedContentManagerUI
java.lang.Object
org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
org.noos.xing.mydoggy.plaf.ui.content.MyDoggyContentManagerUI<org.noos.xing.mydoggy.TabbedContentUI>
org.noos.xing.mydoggy.plaf.ui.content.MyDoggyTabbedContentManagerUI
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, org.noos.xing.mydoggy.ContentManagerUI, org.noos.xing.mydoggy.Observable, Cleaner, PlafContentManagerUI, org.noos.xing.mydoggy.TabbedContentManagerUI
public class MyDoggyTabbedContentManagerUI
- extends MyDoggyContentManagerUI<org.noos.xing.mydoggy.TabbedContentUI>
- implements org.noos.xing.mydoggy.TabbedContentManagerUI, PlafContentManagerUI
- Author:
- Angelo De Caro (angelo.decaro@gmail.com)
| Nested classes/interfaces inherited from interface org.noos.xing.mydoggy.TabbedContentManagerUI |
org.noos.xing.mydoggy.TabbedContentManagerUI.TabLayout, org.noos.xing.mydoggy.TabbedContentManagerUI.TabPlacement |
| Fields inherited from class org.noos.xing.mydoggy.plaf.ui.content.MyDoggyContentManagerUI |
closeable, contentManager, contentManagerUI, contentManagerUIListeners, contentUIListener, contentUIMap, contentValueAdjusting, detachable, installed, internalPropertyChangeSupport, lastSelected, maximizable, maximizedContent, minimizable, popupMenuEnabled, previousLastSelected, resourceManager, toolWindowManager, uninstalling, valueAdjusting |
| Methods inherited from class org.noos.xing.mydoggy.plaf.ui.content.MyDoggyContentManagerUI |
addContent, addContentManagerUIListener, findAndRequestFocus, fireContentManagerUIProperty, fireContentUIDetached, fireContentUIRemoving, getContentManagerUiListener, getContentUI, getMaximizedContent, isCloseable, isContentManagerEnabled, isDetachable, isFocusAncestor, isInstalled, isMaximizable, isMinimizable, isPopupMenuEnabled, isSelected, propertyChange, removeContent, removeContentManagerUIListener, setCloseable, setContentManagerUI, setDetachable, setMaximizable, setMinimizable, setPopupMenuEnabled |
| Methods inherited from class org.noos.xing.mydoggy.plaf.PropertyChangeEventSource |
addPlafPropertyChangeListener, addPlafPropertyChangeListener, addPlafPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, cleanup, firePlafPropertyChangeEvent, firePlafPropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEventPublicListenerOnly, getPlafPropertyChangeListeners, getPlafPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeListeners, initPropertyChangeSupport, removePlafPropertyChangeListener, removePlafPropertyChangeListener, removePlafPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.noos.xing.mydoggy.ContentManagerUI |
addContentManagerUIListener, getContentManagerUiListener, getContentUI, isCloseable, isDetachable, isMaximizable, isMinimizable, isPopupMenuEnabled, removeContentManagerUIListener, setCloseable, setDetachable, setMaximizable, setMinimizable, setPopupMenuEnabled |
| Methods inherited from interface org.noos.xing.mydoggy.Observable |
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
tabbedContentPane
protected TabbedContentPane tabbedContentPane
showAlwaysTab
protected boolean showAlwaysTab
componentInFocusRequest
protected Component componentInFocusRequest
focusOwnerPropertyChangeListener
protected MyDoggyTabbedContentManagerUI.FocusOwnerPropertyChangeListener focusOwnerPropertyChangeListener
removeNotifyDragListener
protected RemoveNotifyDragListener removeNotifyDragListener
MyDoggyTabbedContentManagerUI
public MyDoggyTabbedContentManagerUI()
setTabPlacement
public void setTabPlacement(org.noos.xing.mydoggy.TabbedContentManagerUI.TabPlacement tabPlacement)
- Specified by:
setTabPlacement in interface org.noos.xing.mydoggy.TabbedContentManagerUI
getTabPlacement
public org.noos.xing.mydoggy.TabbedContentManagerUI.TabPlacement getTabPlacement()
- Specified by:
getTabPlacement in interface org.noos.xing.mydoggy.TabbedContentManagerUI
setTabLayout
public void setTabLayout(org.noos.xing.mydoggy.TabbedContentManagerUI.TabLayout tabLayout)
- Specified by:
setTabLayout in interface org.noos.xing.mydoggy.TabbedContentManagerUI
getTabLayout
public org.noos.xing.mydoggy.TabbedContentManagerUI.TabLayout getTabLayout()
- Specified by:
getTabLayout in interface org.noos.xing.mydoggy.TabbedContentManagerUI
isShowAlwaysTab
public boolean isShowAlwaysTab()
- Specified by:
isShowAlwaysTab in interface org.noos.xing.mydoggy.TabbedContentManagerUI
setShowAlwaysTab
public void setShowAlwaysTab(boolean showAlwaysTab)
- Specified by:
setShowAlwaysTab in interface org.noos.xing.mydoggy.TabbedContentManagerUI
install
public PlafContentManagerUI install(org.noos.xing.mydoggy.ContentManagerUI oldContentManagerUI,
org.noos.xing.mydoggy.ToolWindowManager manager)
- Description copied from interface:
PlafContentManagerUI
- Configures this manager appropriate for the specified toolwindow manager.
During this phase the new ContentManagerUI imports all properties the
old manager and initialize all needed parts. Furthermore all previous registered content
are added.
- Specified by:
install in interface PlafContentManagerUI
- Parameters:
oldContentManagerUI - the old ContentManagerUImanager - the component where this UI delegate is being installed
- Returns:
- this PlafContentManagerUI.
- See Also:
PlafContentManagerUI.uninstall()
uninstall
public void uninstall()
- Description copied from interface:
PlafContentManagerUI
- Reverses configuration which was done during
install(...).
- Specified by:
uninstall in interface PlafContentManagerUI
- See Also:
PlafContentManagerUI.install(org.noos.xing.mydoggy.ContentManagerUI, org.noos.xing.mydoggy.ToolWindowManager)
setSelected
public void setSelected(org.noos.xing.mydoggy.Content content,
boolean selected)
- Description copied from interface:
PlafContentManagerUI
- Sets whether or not the content is selected.
- Specified by:
setSelected in interface PlafContentManagerUI
- Parameters:
content - on which change the selection state.selected - whether or not the content should be selected.
getPopupMenu
public JPopupMenu getPopupMenu()
- Description copied from interface:
PlafContentManagerUI
- Returns the default popup menu for the contents.
- Specified by:
getPopupMenu in interface PlafContentManagerUI
- Returns:
- the default
PopupMenu for the contents.
setPopupMenu
public void setPopupMenu(JPopupMenu popupMenu)
- Description copied from interface:
PlafContentManagerUI
- Sets the default popup menu for the contents.
If a content has no specific popup menu then the content manager will show
popupMenu.
- Specified by:
setPopupMenu in interface PlafContentManagerUI
- Parameters:
popupMenu - the default popup menu for the contents.
updateUI
public void updateUI()
- Description copied from interface:
PlafContentManagerUI
- Calls the updateUI method on all components used by this manager.
- Specified by:
updateUI in interface PlafContentManagerUI
selectNextContent
public void selectNextContent(org.noos.xing.mydoggy.Content content)
- Specified by:
selectNextContent in interface PlafContentManagerUI
initComponents
protected void initComponents()
initListeners
protected void initListeners()
removeListeners
protected void removeListeners()
addUIForContent
protected Object addUIForContent(org.noos.xing.mydoggy.Content content,
Object... constaints)
- Specified by:
addUIForContent in class MyDoggyContentManagerUI<org.noos.xing.mydoggy.TabbedContentUI>
removeUIForContent
protected void removeUIForContent(org.noos.xing.mydoggy.Content content)
- Specified by:
removeUIForContent in class MyDoggyContentManagerUI<org.noos.xing.mydoggy.TabbedContentUI>
addTab
protected int addTab(org.noos.xing.mydoggy.Content content,
Object... constaints)
setupActions
protected void setupActions()
Copyright © 2012. All Rights Reserved.