com.jidesoft.plaf.basic
Class BasicDockableFrameUI
java.lang.Object
javax.swing.plaf.ComponentUI
com.jidesoft.plaf.DockableFrameUI
com.jidesoft.plaf.basic.BasicDockableFrameUI
- Direct Known Subclasses:
- AquaDockableFrameUI, EclipseDockableFrameUI, VsnetDockableFrameUI
public class BasicDockableFrameUI
- extends DockableFrameUI
A basic L&F implementation of DockableFrame.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_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
BasicDockableFrameUI
public BasicDockableFrameUI()
BasicDockableFrameUI
public BasicDockableFrameUI(DockableFrame f)
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