org.noos.xing.mydoggy.plaf.ui.look
Class ToolWindowTitleButtonPanelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by javax.swing.plaf.basic.BasicPanelUI
              extended by org.noos.xing.mydoggy.plaf.ui.look.ToolWindowTitleButtonPanelUI
All Implemented Interfaces:
PropertyChangeListener, EventListener, Cleaner
Direct Known Subclasses:
MenuToolWindowTitleButtonPanelUI

public class ToolWindowTitleButtonPanelUI
extends BasicPanelUI
implements Cleaner, PropertyChangeListener

Author:
Angelo De Caro (angelo.decaro@gmail.com)

Field Summary
protected  info.clearthought.layout.TableLayout containerLayout
           
protected  ToolWindowDescriptor descriptor
           
protected  Component focusable
           
protected  MyDoggyToolWindow toolWindow
           
protected  ToolWindowTitleButtonPanel toolWindowTitleButtonPanel
           
 
Constructor Summary
ToolWindowTitleButtonPanelUI()
           
 
Method Summary
protected  Component addToolWindowAction(org.noos.xing.mydoggy.ToolWindowAction toolWindowAction)
           
protected  Component addToolWindowAction(org.noos.xing.mydoggy.ToolWindowAction toolWindowAction, int index)
           
 void cleanup()
           
static ComponentUI createUI(JComponent c)
           
 Component getFocusable()
           
protected  void installComponents()
           
protected  void installDefaults(JPanel p)
           
protected  void installListeners()
           
 void installUI(JComponent c)
           
protected  int loadFromLayout(org.noos.xing.mydoggy.ToolWindowAction toolWindowAction)
           
 void propertyChange(PropertyChangeEvent evt)
           
protected  void removeToolWindowAction(org.noos.xing.mydoggy.ToolWindowAction toolWindowAction)
           
protected  void replaceToolWindowAction(org.noos.xing.mydoggy.ToolWindowAction oldToolWindowAction, org.noos.xing.mydoggy.ToolWindowAction newToolWindowAction)
           
protected  void setType(org.noos.xing.mydoggy.ToolWindowType oldType, org.noos.xing.mydoggy.ToolWindowType toolWindowType)
           
protected  boolean setVisible(Component component, boolean visible)
           
protected  void storeCurrentLayout(org.noos.xing.mydoggy.ToolWindowType toolWindowType)
           
protected  void uninstallComponents()
           
 void uninstallUI(JComponent c)
           
protected  void unistallListeners()
           
 
Methods inherited from class javax.swing.plaf.basic.BasicPanelUI
getBaseline, getBaselineResizeBehavior, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toolWindowTitleButtonPanel

protected ToolWindowTitleButtonPanel toolWindowTitleButtonPanel

toolWindow

protected MyDoggyToolWindow toolWindow

descriptor

protected ToolWindowDescriptor descriptor

containerLayout

protected info.clearthought.layout.TableLayout containerLayout

focusable

protected Component focusable
Constructor Detail

ToolWindowTitleButtonPanelUI

public ToolWindowTitleButtonPanelUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener

cleanup

public void cleanup()
Specified by:
cleanup in interface Cleaner

getFocusable

public Component getFocusable()

installUI

public void installUI(JComponent c)
Overrides:
installUI in class BasicPanelUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class BasicPanelUI

installDefaults

protected void installDefaults(JPanel p)
Overrides:
installDefaults in class BasicPanelUI

installComponents

protected void installComponents()

installListeners

protected void installListeners()

unistallListeners

protected void unistallListeners()

uninstallComponents

protected void uninstallComponents()

setType

protected void setType(org.noos.xing.mydoggy.ToolWindowType oldType,
                       org.noos.xing.mydoggy.ToolWindowType toolWindowType)

storeCurrentLayout

protected void storeCurrentLayout(org.noos.xing.mydoggy.ToolWindowType toolWindowType)

loadFromLayout

protected int loadFromLayout(org.noos.xing.mydoggy.ToolWindowAction toolWindowAction)

addToolWindowAction

protected Component addToolWindowAction(org.noos.xing.mydoggy.ToolWindowAction toolWindowAction)

addToolWindowAction

protected Component addToolWindowAction(org.noos.xing.mydoggy.ToolWindowAction toolWindowAction,
                                        int index)

removeToolWindowAction

protected void removeToolWindowAction(org.noos.xing.mydoggy.ToolWindowAction toolWindowAction)

replaceToolWindowAction

protected void replaceToolWindowAction(org.noos.xing.mydoggy.ToolWindowAction oldToolWindowAction,
                                       org.noos.xing.mydoggy.ToolWindowAction newToolWindowAction)

setVisible

protected boolean setVisible(Component component,
                             boolean visible)


Copyright © 2012. All Rights Reserved.