|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame com.jidesoft.swing.ResizableFrame com.jidesoft.docking.FrameFloatingContainer
public class FrameFloatingContainer
Container to hold DockableFrame when they are floating. This implementation is based on Frame
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
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 |
Nested classes/interfaces inherited from interface com.jidesoft.docking.FloatingContainer |
---|
FloatingContainer.FloatingContainerManager |
Field Summary |
---|
Fields inherited from class com.jidesoft.swing.ResizableFrame |
---|
_resizablePanel |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
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, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
FrameFloatingContainer(DockingManager dockingManager,
FloatingContainer.FloatingContainerManager floatingContainerManager)
|
|
FrameFloatingContainer(DockingManager dockingManager,
FloatingContainer.FloatingContainerManager floatingContainerManager,
String title)
|
Method Summary | |
---|---|
Component |
asComponent()
|
protected void |
beginResizing()
|
protected void |
doHideFloatingFrame()
|
int |
getDockID()
Gets the dock ID. |
DockingManager |
getDockingManager()
Return the DockingManager that manages the DockableHolder . |
Rectangle |
getInitialBounds(Rectangle savedBounds)
|
Component |
getMostRecentFocusOwner()
Overridden to ask the embedded dockableFrame for its most recently focused subcomponent. |
Component |
getRoutingComponent()
|
boolean |
hasTitleBar()
|
void |
hideItselfIfEmpty()
|
protected void |
initListeners()
|
void |
resetDockID()
Resets dock ID. |
void |
setDockID(int id)
Sets the dock ID. |
void |
setResizable(boolean resizable)
|
void |
updateBorders()
|
void |
updateTitle()
|
void |
updateUndecorated()
|
Methods inherited from class com.jidesoft.swing.ResizableFrame |
---|
endResizing, getBorder, getResizable, initComponents, isRoutingKeyStrokes, resizing, setBorder, setRoutingKeyStrokes |
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.jidesoft.docking.FloatingContainer |
---|
addWindowListener, dispose, getBounds, getContentPane, getHeight, getLayeredPane, getLocationOnScreen, getWidth, isUndecorated, isVisible, pack, removeAll, removeNotify, removeWindowListener, repaint, setBounds, setBounds, setContentPane, setLocation, setVisible, toFront, validate |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Constructor Detail |
---|
public FrameFloatingContainer(DockingManager dockingManager, FloatingContainer.FloatingContainerManager floatingContainerManager) throws HeadlessException
HeadlessException
public FrameFloatingContainer(DockingManager dockingManager, FloatingContainer.FloatingContainerManager floatingContainerManager, String title) throws HeadlessException
HeadlessException
Method Detail |
---|
protected void initListeners()
protected void doHideFloatingFrame()
public boolean hasTitleBar()
hasTitleBar
in interface FloatingContainer
public Rectangle getInitialBounds(Rectangle savedBounds)
getInitialBounds
in interface FloatingContainer
public void updateUndecorated()
updateUndecorated
in interface FloatingContainer
public void updateBorders()
updateBorders
in interface FloatingContainer
public Component getRoutingComponent()
getRoutingComponent
in class ResizableFrame
public DockingManager getDockingManager()
DockableHolder
DockableHolder
. There is only one
Dockingmanager
allowed in each DockableHolder
.
getDockingManager
in interface DockableHolder
getDockingManager
in interface FloatingContainer
DockableHolder
.public Component asComponent()
asComponent
in interface FloatingContainer
public void hideItselfIfEmpty()
hideItselfIfEmpty
in interface FloatingContainer
public void updateTitle()
updateTitle
in interface FloatingContainer
public int getDockID()
getDockID
in interface FloatingContainer
public void setDockID(int id)
setDockID
in interface FloatingContainer
id
- new IDpublic void resetDockID()
resetDockID
in interface FloatingContainer
public Component getMostRecentFocusOwner()
getMostRecentFocusOwner
in interface FloatingContainer
getMostRecentFocusOwner
in class Window
public void setResizable(boolean resizable)
setResizable
in interface FloatingContainer
setResizable
in class Frame
protected void beginResizing()
beginResizing
in class ResizableFrame
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |