com.jidesoft.docking
Class DefaultInternalFrameDockableHolder
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JInternalFrame
com.jidesoft.docking.DefaultInternalFrameDockableHolder
- All Implemented Interfaces:
- DockableHolder, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
- Direct Known Subclasses:
- DefaultInternalFrameDockableBarDockableHolder
public class DefaultInternalFrameDockableHolder
- extends JInternalFrame
- implements DockableHolder
A JInternalFrame implementation of DockableHolder
.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.JInternalFrame |
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
Constructor Summary |
DefaultInternalFrameDockableHolder()
|
DefaultInternalFrameDockableHolder(String title)
|
DefaultInternalFrameDockableHolder(String title,
boolean resizable)
|
DefaultInternalFrameDockableHolder(String title,
boolean resizable,
boolean closable)
|
DefaultInternalFrameDockableHolder(String title,
boolean resizable,
boolean closable,
boolean maximizable)
|
DefaultInternalFrameDockableHolder(String title,
boolean resizable,
boolean closable,
boolean maximizable,
boolean iconifiable)
|
Methods inherited from class javax.swing.JInternalFrame |
addImpl, addInternalFrameListener, createRootPane, doDefaultCloseAction, fireInternalFrameEvent, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, isSelected, moveToBack, moveToFront, pack, paintComponent, paramString, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setClosed, setContentPane, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setRootPane, setRootPaneCheckingEnabled, setSelected, setTitle, setUI, show, toBack, toFront, 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, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, 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, setVisible, 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, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, 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, 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, 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, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle |
_dockingManager
protected DockingManager _dockingManager
_contentContainer
protected JPanel _contentContainer
DefaultInternalFrameDockableHolder
public DefaultInternalFrameDockableHolder()
DefaultInternalFrameDockableHolder
public DefaultInternalFrameDockableHolder(String title)
DefaultInternalFrameDockableHolder
public DefaultInternalFrameDockableHolder(String title,
boolean resizable)
DefaultInternalFrameDockableHolder
public DefaultInternalFrameDockableHolder(String title,
boolean resizable,
boolean closable)
DefaultInternalFrameDockableHolder
public DefaultInternalFrameDockableHolder(String title,
boolean resizable,
boolean closable,
boolean maximizable)
DefaultInternalFrameDockableHolder
public DefaultInternalFrameDockableHolder(String title,
boolean resizable,
boolean closable,
boolean maximizable,
boolean iconifiable)
initFrame
protected void initFrame(Container container)
- Creates a content container and add it to CENTER of JFrame content pane. It will also create a default
DockingManager.
- Parameters:
container
- the container where the docking manager is installed.
createDockingManager
protected DockingManager createDockingManager(Container contentContainer)
- Creates the docking manager.
- Parameters:
contentContainer
- the container where the docking manager is installed.
- Returns:
- docking manager.
getDockingManager
public DockingManager getDockingManager()
- Gets the default docking manager.
- Specified by:
getDockingManager
in interface DockableHolder
- Returns:
- docking manager.
getLayoutPersistence
public LayoutPersistence getLayoutPersistence()
- Gets the layout persistence. In the case of DefaultDockableHolder, it's the same value that is returned from
getDockingManager().
- Returns:
- layout persistence.
dispose
public void dispose()
- Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned
children. That is, the resources for these Components will be destroyed, any memory they consume will be returned
to the OS, and they will be marked as undisplayable. The Window and its subcomponents can be made
displayable again by rebuilding the native resources with a subsequent call to
pack
or
show
. The states of the recreated Window and its subcomponents will be identical to the states of
these objects at the point where the Window was disposed (not accounting for additional modifcations between
those actions).
- Overrides:
dispose
in class JInternalFrame
- See Also:
Component.isDisplayable()
,
JInternalFrame.pack()
,
JInternalFrame.show()
isContentPaneCheckingEnabled
protected boolean isContentPaneCheckingEnabled()
setContentPaneCheckingEnabled
protected void setContentPaneCheckingEnabled(boolean contentPaneCheckingEnabled)