|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeprecatedDockingManager
This interface hold all methods that are implement only for backward compatibility. In the future this class and all the contain methods will not longer be supported. In most cases the functionality is supported by another function.
In some cases the functions represented internal event handling and are now perform no operation.
Method Summary | |
---|---|
void |
autohideFrame(DockableFrame frame,
int side,
int index)
Deprecated. use #autohideFrame(String,int,int) instead. |
MouseListener |
createAutoHideMouseListener(DockableFrame frame,
int side)
Deprecated. This was for internal eventing and is no longer needed. |
void |
dockFrame(DockableFrame dockableFrame,
int side,
int index)
Deprecated. use #dockFrame(String,int,int) instead. |
void |
doLayout()
Deprecated. This was for internal eventing and is no longer needed. |
void |
floatFrame(DockableFrame dockableFrame,
Rectangle bounds,
boolean isSingle)
Deprecated. use #floatFrame(String, Rectangle, boolean) . All frame accessor should use keys to prevents
memory leaks |
void |
floatingFrameActivated(WindowEvent windowEvent)
Deprecated. This was for internal eventing and is no longer needed. |
void |
floatingFrameDeactivated(WindowEvent windowEvent)
Deprecated. This was for internal eventing and is no longer needed. |
DockableFrame |
getActiveFrame()
Deprecated. use #getActiveFrameKey() instead. |
AutoHideContainer |
getAutoHideContaner(int side)
Deprecated. use #getAutoHideContainer(int) . This method had a typo. |
Component |
getDefaultFocusComponent()
Deprecated. The Docking Manager doesn't have it's own focus policy. It routes all focus to the individual frames or the workspace because these components implement Refocusable. Refocusable.getDefaultFocusComponent() . |
DockableFrame |
getFirstFrame()
Deprecated. use #getFirstFrameKey() . All frame accessor should use keys to prevents memory leaks |
DockableFrame |
getLastFrame()
Deprecated. use #getLastFrameKey() . All frame accessor should use keys to prevents memory leaks |
JFrame |
getMainFrame()
Deprecated. use getRootPaneContainer instead since DockingManager can support all RootPaneContainer, not just JFrame |
DockableFrame |
getMaximizedFrame()
Deprecated. use getMaximizedFrame() . All frame accessor should use keys to prevents memory leaks |
DockableFrame |
getNextFrame(DockableFrame frame)
Deprecated. use #getNextFrameKey(String) . All frame accessor should use keys to prevents memory leaks |
DockableFrame |
getPreviousFrame(DockableFrame frame)
Deprecated. use #getPreviousFrameKey(String) . All frame accessor should use keys to prevents memory
leaks |
void |
handleEscapeKey(AWTEvent event)
Deprecated. This was for internal eventing and is no longer needed. |
void |
hideActiveAutohideFrame()
Deprecated. use #stopShowingAutohideFrame() . This method had confusing but similar functionality |
boolean |
isAllowRequestFocus()
Deprecated. This was for internal eventing and is no longer needed. |
boolean |
isFocusDuringLoadLayout()
Deprecated. This was for internal eventing and is no longer needed. |
void |
setAutohideShowingFrame(DockableFrame frame)
Deprecated. This was for internal eventing and is no longer needed. |
void |
setDefaultFocusComponent(Component defaultFocusComponent)
Deprecated. The Docking Manager doesn't have it's own focus policy. It routes all focus to the individual frames or the workspace because these components implement Refocusable. Refocusable.setDefaultFocusComponent(Component defaultFocusComponent) .
The approach is to now call setDefaultFocusComponent() on Workspace or DockableFrame. This will mean
that whenever the getMainContainer() (which is what is added to the user's provided content pane)
receives focus it will transfer it to the active pane's (Workspace or DockableFrame)
defaultFocusComponent. By default, we will use workspace.getDefaultFocusComponent and put focus on
it. If you want the focus to be in a DockableFrame, you can call dockingManager.activateFrame after
loadLayoutData is called. |
void |
setFocusDuringLayout(boolean doFocus)
Deprecated. This was for internal eventing and is no longer needed. |
void |
startShowingAutohideFrame(DockableFrame frame,
int side,
int delay)
Deprecated. use #startShowingAutohideFrame(String,int,int) instead. |
void |
startShowingAutohideFrame(DockableFrame frame,
int side,
int delay,
boolean forceFocus)
Deprecated. use #startShowingAutohideFrame(String,int,int) instead. |
void |
toggleAutohideState(DockableFrame frame)
Deprecated. use #toggleAutohideState(String) . All frame accessor should use keys to prevents memory
leaks |
void |
toggleDockable(DockableFrame frame)
Deprecated. use #toggleDockable(String) . All frame accessor should use keys to prevents memory leaks |
void |
toggleMaximizeState(DockableFrame f)
Deprecated. use #toggleMaximizeState(String) . All frame accessor should use keys to prevents memory
leaks |
void |
toggleState(DockableFrame frame,
boolean single)
Deprecated. use #toggleState(String,java.awt.Rectangle,boolean) instead. * |
Method Detail |
---|
@Deprecated DockableFrame getActiveFrame()
#getActiveFrameKey()
instead.
@Deprecated void startShowingAutohideFrame(DockableFrame frame, int side, int delay)
#startShowingAutohideFrame(String,int,int)
instead.
frame
- side
- delay
- @Deprecated void startShowingAutohideFrame(DockableFrame frame, int side, int delay, boolean forceFocus)
#startShowingAutohideFrame(String,int,int)
instead.
frame
- side
- delay
- forceFocus
- if delay == 0@Deprecated void toggleState(DockableFrame frame, boolean single)
#toggleState(String,java.awt.Rectangle,boolean)
instead. *
frame
- the frame to change modesingle
- change mode for all frames in the same tabbed pane or just the frame itself.@Deprecated void toggleDockable(DockableFrame frame)
#toggleDockable(String)
. All frame accessor should use keys to prevents memory leaks
@Deprecated void toggleAutohideState(DockableFrame frame)
#toggleAutohideState(String)
. All frame accessor should use keys to prevents memory
leaks
frame
- the frame to be toggled.@Deprecated void autohideFrame(DockableFrame frame, int side, int index)
#autohideFrame(String,int,int)
instead.
frame
- side
- index
- @Deprecated void floatFrame(DockableFrame dockableFrame, Rectangle bounds, boolean isSingle)
#floatFrame(String, Rectangle, boolean)
. All frame accessor should use keys to prevents
memory leaks
@Deprecated void dockFrame(DockableFrame dockableFrame, int side, int index)
#dockFrame(String,int,int)
instead.
dockableFrame
- side
- index
- @Deprecated DockableFrame getFirstFrame()
#getFirstFrameKey()
. All frame accessor should use keys to prevents memory leaks
#getAllVisibleFrameKeys()
to figure out which is the first
one. It is the first one in the array that is returned from getAllVisibleFrameKeys method.
@Deprecated DockableFrame getLastFrame()
#getLastFrameKey()
. All frame accessor should use keys to prevents memory leaks
#getAllVisibleFrameKeys()
to figure out which is the last
one. It is the last one in the array that is returned from getAllVisibleFrameKeys method.
@Deprecated DockableFrame getNextFrame(DockableFrame frame)
#getNextFrameKey(String)
. All frame accessor should use keys to prevents memory leaks
#getAllVisibleFrameKeys()
to figure out which is the next
one. It is the next one in the array that is returned from getAllVisibleFrameKeys method. If the frame is the
last one, the first frame will be returned. Or if the frame is hidden, this method will return the first frame
too. So unless you have no dockable frame at all, this method will never return null.
frame
- the current frame.
@Deprecated DockableFrame getPreviousFrame(DockableFrame frame)
#getPreviousFrameKey(String)
. All frame accessor should use keys to prevents memory
leaks
#getAllVisibleFrameKeys()
to figure out which is the
previous one. It is the next one in the array that is returned from getAllVisibleFrameKeys method. If the frame
is the first one, the last frame will be returned. Or if the frame is hidden, this method will return the last
frame too. So unless you have no dockable frame at all, this method will never return null.
frame
- the current frame.
@Deprecated DockableFrame getMaximizedFrame()
getMaximizedFrame()
. All frame accessor should use keys to prevents memory leaks
@Deprecated void toggleMaximizeState(DockableFrame f)
#toggleMaximizeState(String)
. All frame accessor should use keys to prevents memory
leaks
f
- @Deprecated void hideActiveAutohideFrame()
#stopShowingAutohideFrame()
. This method had confusing but similar functionality
@Deprecated AutoHideContainer getAutoHideContaner(int side)
#getAutoHideContainer(int)
. This method had a typo.
side
-
@Deprecated void doLayout()
@Deprecated JFrame getMainFrame()
@Deprecated void setAutohideShowingFrame(DockableFrame frame)
@Deprecated void floatingFrameDeactivated(WindowEvent windowEvent)
windowEvent
- @Deprecated void floatingFrameActivated(WindowEvent windowEvent)
windowEvent
- @Deprecated void handleEscapeKey(AWTEvent event)
@Deprecated MouseListener createAutoHideMouseListener(DockableFrame frame, int side)
frame
- the dockable frame.side
- the side.
@Deprecated boolean isFocusDuringLoadLayout()
@Deprecated void setFocusDuringLayout(boolean doFocus)
doFocus
- should focus requests be enabled during load layout@Deprecated boolean isAllowRequestFocus()
@Deprecated Component getDefaultFocusComponent()
Refocusable.getDefaultFocusComponent()
.
@Deprecated void setDefaultFocusComponent(Component defaultFocusComponent)
Refocusable.setDefaultFocusComponent(Component defaultFocusComponent)
.
The approach is to now call setDefaultFocusComponent() on Workspace or DockableFrame. This will mean
that whenever the getMainContainer() (which is what is added to the user's provided content pane)
receives focus it will transfer it to the active pane's (Workspace or DockableFrame)
defaultFocusComponent. By default, we will use workspace.getDefaultFocusComponent and put focus on
it. If you want the focus to be in a DockableFrame, you can call dockingManager.activateFrame after
loadLayoutData is called.
defaultFocusComponent
-
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |