JIDE 3.5.15

com.jidesoft.plaf.basic
Class BasicDockableFrameUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by com.jidesoft.plaf.DockableFrameUI
          extended by com.jidesoft.plaf.basic.BasicDockableFrameUI
Direct Known Subclasses:
AquaDockableFrameUI, EclipseDockableFrameUI, VsnetDockableFrameUI

public class BasicDockableFrameUI
extends DockableFrameUI

A basic L&F implementation of DockableFrame.


Nested Class Summary
 class BasicDockableFrameUI.DockableFrameLayout
           
 class BasicDockableFrameUI.DockableFramePropertyChangeListener
           
 
Field Summary
protected  LayoutManager _dockableFrameLayout
           
protected  JComponent _eastPane
           
protected  DockableFrame _frame
           
protected  JComponent _northPane
           
protected  PropertyChangeListener _propertyChangeListener
           
protected  JComponent _southPane
           
protected  BasicDockableFrameTitlePane _titlePane
           
protected  JComponent _westPane
           
 
Constructor Summary
BasicDockableFrameUI()
           
BasicDockableFrameUI(DockableFrame f)
           
 
Method Summary
protected  JComponent createEastPane(DockableFrame w)
           
protected  LayoutManager createLayoutManager()
           
protected  JComponent createNorthPane(DockableFrame w)
           
protected  PropertyChangeListener createPropertyChangeListener()
           
protected  JComponent createSouthPane(DockableFrame w)
           
static ComponentUI createUI(JComponent b)
           
protected  JComponent createWestPane(DockableFrame w)
           
protected  void deinstallMouseHandlers(JComponent c)
           
 JComponent getEastPane()
           
 Dimension getMaximumSize(JComponent x)
           
 Dimension getMinimumSize(JComponent x)
           
 JComponent getNorthPane()
           
 ThemePainter getPainter()
           
 Dimension getPreferredSize(JComponent x)
           
 JComponent getSouthPane()
           
 Component getTitlePane()
           
 JComponent getWestPane()
           
protected  void installComponents()
           
protected  void installDefaults()
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
protected  void installMouseHandlers(JComponent c)
           
 void installUI(JComponent c)
           
 boolean isKeyBindingActive()
           
protected  boolean isKeyBindingRegistered()
           
 void paint(Graphics g, JComponent c)
           
protected  void replacePane(JComponent currentPane, JComponent newPane)
          Installs necessary mouse handlers on newPane and adds it to the frame.
protected  void setEastPane(JComponent c)
           
protected  void setKeyBindingActive(boolean b)
           
protected  void setKeyBindingRegistered(boolean b)
           
protected  void setNorthPane(JComponent c)
           
protected  void setSouthPane(JComponent c)
           
protected  void setupMenuCloseKey()
           
protected  void setupMenuOpenKey()
           
protected  void setWestPane(JComponent c)
           
protected  void uninstallComponents()
           
protected  void uninstallDefaults()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_frame

protected DockableFrame _frame

_propertyChangeListener

protected PropertyChangeListener _propertyChangeListener

_dockableFrameLayout

protected LayoutManager _dockableFrameLayout

_northPane

protected JComponent _northPane

_southPane

protected JComponent _southPane

_westPane

protected JComponent _westPane

_eastPane

protected JComponent _eastPane

_titlePane

protected BasicDockableFrameTitlePane _titlePane
Constructor Detail

BasicDockableFrameUI

public BasicDockableFrameUI()

BasicDockableFrameUI

public BasicDockableFrameUI(DockableFrame f)
Method Detail

createUI

public static ComponentUI createUI(JComponent b)

installUI

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

uninstallUI

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

installDefaults

protected void installDefaults()

installKeyboardActions

protected void installKeyboardActions()

installComponents

protected void installComponents()

installListeners

protected void installListeners()

uninstallDefaults

protected void uninstallDefaults()

uninstallComponents

protected void uninstallComponents()

uninstallListeners

protected void uninstallListeners()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

getTitlePane

public Component getTitlePane()
Specified by:
getTitlePane in class DockableFrameUI

createLayoutManager

protected LayoutManager createLayoutManager()

createPropertyChangeListener

protected PropertyChangeListener createPropertyChangeListener()

getPreferredSize

public Dimension getPreferredSize(JComponent x)
Overrides:
getPreferredSize in class ComponentUI

getMinimumSize

public Dimension getMinimumSize(JComponent x)
Overrides:
getMinimumSize in class ComponentUI

getMaximumSize

public Dimension getMaximumSize(JComponent x)
Overrides:
getMaximumSize in class ComponentUI

replacePane

protected void replacePane(JComponent currentPane,
                           JComponent newPane)
Installs necessary mouse handlers on newPane and adds it to the frame. Reverse process for the currentPane.


deinstallMouseHandlers

protected void deinstallMouseHandlers(JComponent c)

installMouseHandlers

protected void installMouseHandlers(JComponent c)

createNorthPane

protected JComponent createNorthPane(DockableFrame w)

createSouthPane

protected JComponent createSouthPane(DockableFrame w)

createWestPane

protected JComponent createWestPane(DockableFrame w)

createEastPane

protected JComponent createEastPane(DockableFrame w)

isKeyBindingRegistered

protected final boolean isKeyBindingRegistered()

setKeyBindingRegistered

protected final void setKeyBindingRegistered(boolean b)

isKeyBindingActive

public final boolean isKeyBindingActive()

setKeyBindingActive

protected final void setKeyBindingActive(boolean b)

setupMenuOpenKey

protected void setupMenuOpenKey()

setupMenuCloseKey

protected void setupMenuCloseKey()

getNorthPane

public JComponent getNorthPane()

setNorthPane

protected void setNorthPane(JComponent c)

getSouthPane

public JComponent getSouthPane()

setSouthPane

protected void setSouthPane(JComponent c)

getWestPane

public JComponent getWestPane()

setWestPane

protected void setWestPane(JComponent c)

getEastPane

public JComponent getEastPane()

setEastPane

protected void setEastPane(JComponent c)

getPainter

public ThemePainter getPainter()

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class ComponentUI

JIDE 3.5.15