JIDE 3.5.15

com.jidesoft.plaf.basic
Class BasicJidePopupUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by com.jidesoft.plaf.PopupUI
          extended by com.jidesoft.plaf.basic.BasicJidePopupUI

public class BasicJidePopupUI
extends PopupUI

A basic L&F implementation of Popup.


Nested Class Summary
 class BasicJidePopupUI.PopupLayout
           
 class BasicJidePopupUI.PopupPropertyChangeListener
           
 
Field Summary
protected  LayoutManager _dockableFrameLayout
           
protected  JComponent _eastPane
           
protected  JComponent _northPane
           
protected  JidePopup _popup
           
protected  PropertyChangeListener _propertyChangeListener
           
protected  JComponent _southPane
           
protected  Gripper _titlePane
           
protected  JComponent _westPane
           
 
Constructor Summary
BasicJidePopupUI()
           
BasicJidePopupUI(JidePopup f)
           
 
Method Summary
protected  JComponent createEastPane(JidePopup w)
           
protected  LayoutManager createLayoutManager()
           
protected  JComponent createNorthPane(JidePopup w)
           
protected  PropertyChangeListener createPropertyChangeListener()
           
protected  JComponent createSouthPane(JidePopup w)
           
static ComponentUI createUI(JComponent b)
           
protected  JComponent createWestPane(JidePopup w)
           
protected  void deinstallMouseHandlers(JComponent c)
           
 JComponent getEastPane()
           
 Component getGripper()
           
 Dimension getMaximumSize(JComponent x)
           
 Dimension getMinimumSize(JComponent x)
           
 JComponent getNorthPane()
           
 Dimension getPreferredSize(JComponent x)
           
 JComponent getSouthPane()
           
 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()
           
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, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_popup

protected JidePopup _popup

_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 Gripper _titlePane
Constructor Detail

BasicJidePopupUI

public BasicJidePopupUI()

BasicJidePopupUI

public BasicJidePopupUI(JidePopup 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()

getGripper

public Component getGripper()
Specified by:
getGripper in class PopupUI

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(JidePopup w)

createSouthPane

protected JComponent createSouthPane(JidePopup w)

createWestPane

protected JComponent createWestPane(JidePopup w)

createEastPane

protected JComponent createEastPane(JidePopup 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)

JIDE 3.5.15