com.jidesoft.action
Class DefaultInternalFrameDockableBarDockableHolder
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JInternalFrame
com.jidesoft.docking.DefaultInternalFrameDockableHolder
com.jidesoft.action.DefaultInternalFrameDockableBarDockableHolder
- All Implemented Interfaces:
- DockableBarDockableHolder, DockableBarHolder, DockableHolder, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
public class DefaultInternalFrameDockableBarDockableHolder
- extends DefaultInternalFrameDockableHolder
- implements DockableBarDockableHolder
A JInternalFrame implementation DockableBarDockableHolder
which can support
both DockableBars (of JIDE Action Framework) and DockableFrames (of JIDE Docking Framework).
- 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 |
DefaultInternalFrameDockableBarDockableHolder()
|
DefaultInternalFrameDockableBarDockableHolder(String title)
|
DefaultInternalFrameDockableBarDockableHolder(String title,
boolean resizable)
|
DefaultInternalFrameDockableBarDockableHolder(String title,
boolean resizable,
boolean closable)
|
DefaultInternalFrameDockableBarDockableHolder(String title,
boolean resizable,
boolean closable,
boolean maximizable)
|
DefaultInternalFrameDockableBarDockableHolder(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, 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 |
DefaultInternalFrameDockableBarDockableHolder
public DefaultInternalFrameDockableBarDockableHolder()
DefaultInternalFrameDockableBarDockableHolder
public DefaultInternalFrameDockableBarDockableHolder(String title)
DefaultInternalFrameDockableBarDockableHolder
public DefaultInternalFrameDockableBarDockableHolder(String title,
boolean resizable)
DefaultInternalFrameDockableBarDockableHolder
public DefaultInternalFrameDockableBarDockableHolder(String title,
boolean resizable,
boolean closable)
DefaultInternalFrameDockableBarDockableHolder
public DefaultInternalFrameDockableBarDockableHolder(String title,
boolean resizable,
boolean closable,
boolean maximizable)
DefaultInternalFrameDockableBarDockableHolder
public DefaultInternalFrameDockableBarDockableHolder(String title,
boolean resizable,
boolean closable,
boolean maximizable,
boolean iconifiable)
initFrame
protected void initFrame(Container container)
- Create a content container and add it to CENTER of JFrame content pane.
- Overrides:
initFrame
in class DefaultInternalFrameDockableHolder
- Parameters:
container
- the container where the DockableBarManager
is installed.
createDockableBarManager
protected DockableBarManager createDockableBarManager(Container contentContainer)
createContentContainer
protected ContentContainer createContentContainer()
getDockableBarManager
public DockableBarManager getDockableBarManager()
- Gets the default dockable bar manager.
- Specified by:
getDockableBarManager
in interface DockableBarHolder
- Returns:
- dockable bar manager
getLayoutPersistence
public LayoutPersistence getLayoutPersistence()
- Gets the layout persistence. In the case of DefaultDockableBarDockableHolder,
it's an instance of LayoutPersistenceManager that manages both DockingManager
and DockableBarManager.
- Overrides:
getLayoutPersistence
in class DefaultInternalFrameDockableHolder
- Returns:
- layout persistence.
getJMenuBar
public JMenuBar getJMenuBar()
- Override in DefaultDockableBarHolder to return the menu bar in DockableBarManager.
- Overrides:
getJMenuBar
in class JInternalFrame
- Returns:
- the menubar for this frame
dispose
public void dispose()
- Description copied from class:
DefaultInternalFrameDockableHolder
- 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 DefaultInternalFrameDockableHolder
- See Also:
Component.isDisplayable()
,
JInternalFrame.pack()
,
JInternalFrame.show()