|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CMaximizeBehavior
The maximize-behavior is used by the MaximizedMode
to decide, what
happens when the user maximizes or un-maximizes some CDockable
.
Clients can use CControl.setMaximizeBehavior(CMaximizeBehavior)
to
change the behavior.
Field Summary | |
---|---|
static CMaximizeBehavior |
STACKED
|
static CMaximizeBehavior |
TOPMOST
A behavior that allows only one Dockable to be maximized at
a time. |
Method Summary | |
---|---|
Dockable |
getMaximizingElement(Dockable dockable)
Gets the element which must be maximized when the user requests that dockable is maximized. |
Dockable |
getMaximizingElement(Dockable old,
Dockable dockable)
Gets the element which would be maximized if old is currently
maximized, and dockable is or will not be maximized. |
Field Detail |
---|
static final CMaximizeBehavior TOPMOST
Dockable
to be maximized at
a time.
static final CMaximizeBehavior STACKED
Method Detail |
---|
Dockable getMaximizingElement(Dockable dockable)
dockable
is maximized. Normally dockable
itself
is returned, or a parent DockStation
of dockable
.
dockable
- some element, not null
dockable
itself, not null
Dockable getMaximizingElement(Dockable old, Dockable dockable)
old
is currently
maximized, and dockable
is or will not be maximized.
old
- some elementdockable
- some element, might be old
dockable
is
no longer maximized, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |