org.noos.xing.mydoggy.plaf.ui.content
Class MyDoggyDesktopContentManagerUI
java.lang.Object
org.noos.xing.mydoggy.plaf.PropertyChangeEventSource
org.noos.xing.mydoggy.plaf.ui.content.MyDoggyContentManagerUI<org.noos.xing.mydoggy.DesktopContentUI>
org.noos.xing.mydoggy.plaf.ui.content.MyDoggyDesktopContentManagerUI
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, org.noos.xing.mydoggy.ContentManagerUI<org.noos.xing.mydoggy.DesktopContentUI>, org.noos.xing.mydoggy.DesktopContentManagerUI, org.noos.xing.mydoggy.Observable, Cleaner, PlafContentManagerUI
public class MyDoggyDesktopContentManagerUI
- extends MyDoggyContentManagerUI<org.noos.xing.mydoggy.DesktopContentUI>
- implements org.noos.xing.mydoggy.DesktopContentManagerUI, PlafContentManagerUI
- Author:
- Angelo De Caro (angelo.decaro@gmail.com)
| 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 |
desktopPane
protected JDesktopPane desktopPane
contentIndex
protected int contentIndex
popupMenu
protected JPopupMenu popupMenu
MyDoggyDesktopContentManagerUI
public MyDoggyDesktopContentManagerUI()
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)
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.
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.
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()
setupActions
protected void setupActions()
addUIForContent
protected Object addUIForContent(org.noos.xing.mydoggy.Content content,
Object... constraints)
- Specified by:
addUIForContent in class MyDoggyContentManagerUI<org.noos.xing.mydoggy.DesktopContentUI>
removeUIForContent
protected void removeUIForContent(org.noos.xing.mydoggy.Content content)
- Specified by:
removeUIForContent in class MyDoggyContentManagerUI<org.noos.xing.mydoggy.DesktopContentUI>
getInternalFrame
protected JInternalFrame getInternalFrame(org.noos.xing.mydoggy.Content content)
Copyright © 2012. All Rights Reserved.