JIDE 3.5.15

com.jidesoft.docking
Class DockableFramePopup

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by com.jidesoft.popup.JidePopup
                  extended by com.jidesoft.docking.DockableFramePopup
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, WindowConstants

public abstract class DockableFramePopup
extends JidePopup

DockableFramePopup is a component that integrates JidePopup with DockableFrame. In attached mode, DockableFramePopup is just like a regular JidePopup. However in detached mode, it becomes a DocakbleFrame.

This component, which is part of JidePopup component, is still in beta. You can use it but with caWe might change it in the future.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jidesoft.popup.JidePopup
JidePopup.AccessiblePopup
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
 DockableFrame _dockableFrame
           
 
Fields inherited from class com.jidesoft.popup.JidePopup
_actualOwner, _actualOwnerLocation, _detached, _insets, _panel, _previousSize, _resizableSupport, _window, ATTACHABLE_PROPERTY, CLIENT_PROPERTY_POPUP_ACTUAL_OWNER, CLIENT_PROPERTY_POPUP_TYPE, CLIENT_PROPERTY_VALUE_POPUP_TYPE_COMBOBOX, CLIENT_PROPERTY_WINDOW_OPACITY, CLIENT_PROPERTY_WINDOW_OPAQUE, CLIENT_PROPERTY_WINDOW_SHAPE, CONTENT_PANE_PROPERTY, DETACHED_PROPERTY, DISTANCE_TO_SCREEN_BORDER, DO_NOTHING_ON_MOVED, GLASS_PANE_PROPERTY, HEAVY_WEIGHT_POPUP, HIDE_ON_MOVED, LAYERED_PANE_PROPERTY, LIGHT_WEIGHT_POPUP, MENU_BAR_PROPERTY, MOVABLE_PROPERTY, MOVE_ON_MOVED, OWNER_PROPERTY, PROPERTY_GRIPPER_LOCATION, RESIZABLE_PROPERTY, ROOT_PANE_PROPERTY, TRANSIENT_PROPERTY, VISIBLE_PROPERTY
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
DockableFramePopup(DockingManager dockingManager)
           
 
Method Summary
abstract  DockableFrame createDockableFrame()
           
protected  ResizableWindow createHeavyweightPopupContainer(Component owner)
           
protected  void endDragging()
           
 DockableFrame getDockableFrame()
          Gets the dockable frame.
protected  void internalShowPopup(int x, int y)
           
protected  void internalShowPopup(int x, int y, Component owner)
           
 void setDetached(boolean detached)
          Changes the popup's detached mode.
 
Methods inherited from class com.jidesoft.popup.JidePopup
addExcludedComponent, addImpl, addPopupMenuListener, ancestorHidden, ancestorMoved, beginDragging, contentResized, createLightweightPopupContainer, createRootPane, createWindow, drag, firePopupMenuCanceled, firePopupMenuWillBecomeInvisible, firePopupMenuWillBecomeVisible, getAccessibleContext, getActualOwner, getAdjustedRectangle, getBackToOriginalInsets, getContentPane, getDefaultFocusComponent, getDefaultMoveOperation, getDisplayScreenBounds, getDisplayStartLocation, getFrame, getGlassPane, getGripperLocation, getJMenuBar, getLayeredPane, getOwner, getPopupBorder, getPopupBounds, getPopupLocation, getPopupMenuListeners, getPopupType, getRealParent, getRootPane, getTimeout, getTopLevelAncestor, getUI, getUIClassID, handleComponentEvent, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMousePressed, handleMouseReleased, handleWindowEvent, hidePopup, hidePopup, hidePopupImmediately, hidePopupImmediately, installBorder, installListeners, isAttachable, isClickOnPopup, isDetached, isDragging, isExcludedComponent, isKeepPreviousSize, isMovable, isPopupAncestorOf, isPopupVisible, isResizable, isReturnFocusToOwner, isRootPaneCheckingEnabled, isTransient, movePopup, packPopup, remove, removeAllExcludedComponents, removeExcludedComponent, removePopupMenuListener, setAttachable, setBackToOriginalInsets, setContentPane, setDefaultFocusComponent, setDefaultMoveOperation, setDisplayStartLocation, setGlassPane, setGripperLocation, setJMenuBar, setKeepPreviousSize, setLayeredPane, setLayout, setMovable, setOwner, setPopupBorder, setPopupType, setPreferredPopupSize, setResizable, setReturnFocusToOwner, setRootPane, setRootPaneCheckingEnabled, setTimeout, setTransient, setUI, setupResizeCorner, setVisible, shouldAWTEventListenerBeUsed, showPopup, showPopup, showPopup, showPopup, showPopup, showPopup, showPopup, showPopup, showPopupImmediately, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_dockableFrame

public DockableFrame _dockableFrame
Constructor Detail

DockableFramePopup

public DockableFramePopup(DockingManager dockingManager)
Method Detail

internalShowPopup

protected void internalShowPopup(int x,
                                 int y)
Overrides:
internalShowPopup in class JidePopup

internalShowPopup

protected void internalShowPopup(int x,
                                 int y,
                                 Component owner)
Overrides:
internalShowPopup in class JidePopup

createHeavyweightPopupContainer

protected ResizableWindow createHeavyweightPopupContainer(Component owner)
Overrides:
createHeavyweightPopupContainer in class JidePopup
Parameters:
owner - the owner for this popup container. It will be used to find the top level ancestor and use it as the parent for this popup window.
Returns:
a ResizableWindow.

createDockableFrame

public abstract DockableFrame createDockableFrame()

getDockableFrame

public DockableFrame getDockableFrame()
Gets the dockable frame. If the dockable frame is null, it will call createDockableFrame() to create one.

Returns:
the dockable frame.

setDetached

public void setDetached(boolean detached)
Description copied from class: JidePopup
Changes the popup's detached mode.

Overrides:
setDetached in class JidePopup
Parameters:
detached - true or false.

endDragging

protected void endDragging()
Overrides:
endDragging in class JidePopup

JIDE 3.5.15