com.jidesoft.plaf.basic
Class BasicCollapsiblePaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
com.jidesoft.plaf.CollapsiblePaneUI
com.jidesoft.plaf.basic.BasicCollapsiblePaneUI
- Direct Known Subclasses:
- EclipseCollapsiblePaneUI, LonghornCollapsiblePaneUI, Office2003CollapsiblePaneUI, VsnetCollapsiblePaneUI, XertoCollapsiblePaneUI
public class BasicCollapsiblePaneUI
- extends CollapsiblePaneUI
A basic L&F implementation of CollapsiblePane.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_pane
protected CollapsiblePane _pane
_propertyChangeListener
protected PropertyChangeListener _propertyChangeListener
_collapsiblePaneLayout
protected LayoutManager _collapsiblePaneLayout
_northPane
protected JComponent _northPane
_southPane
protected JComponent _southPane
_westPane
protected JComponent _westPane
_eastPane
protected JComponent _eastPane
_titlePane
protected JComponent _titlePane
_collapseAction
protected Action _collapseAction
_collapseText
protected String _collapseText
BasicCollapsiblePaneUI
public BasicCollapsiblePaneUI()
BasicCollapsiblePaneUI
public BasicCollapsiblePaneUI(CollapsiblePane 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()
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
paint
in class ComponentUI
uninstallDefaults
protected void uninstallDefaults()
installKeyboardActions
protected void installKeyboardActions()
installComponents
protected void installComponents()
uninstallComponents
protected void uninstallComponents()
installListeners
protected void installListeners()
uninstallListeners
protected void uninstallListeners()
uninstallKeyboardActions
protected void uninstallKeyboardActions()
getTitlePane
public Component getTitlePane()
- Specified by:
getTitlePane
in class CollapsiblePaneUI
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
.
- Parameters:
currentPane
- the current panenewPane
- the new pane
createNorthPane
protected JComponent createNorthPane(CollapsiblePane pane)
createTitlePane
protected JComponent createTitlePane(CollapsiblePane w)
createSouthPane
protected JComponent createSouthPane(CollapsiblePane pane)
createWestPane
protected JComponent createWestPane(CollapsiblePane pane)
createEastPane
protected JComponent createEastPane(CollapsiblePane pane)
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()
getToggleAction
public Action getToggleAction()
- Specified by:
getToggleAction
in class CollapsiblePaneUI