|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BoundaryRestriction
Restricts the boundaries of a ScreenDockDialog
, a restriction might be,
that the dialog can't be placed outside the screen.
Field Summary | |
---|---|
static BoundaryRestriction |
FREE
A restriction that allows all boundaries. |
static BoundaryRestriction |
HARD
A restriction that will ensure that every dialog is always visible, even if that means that in a multi screen environment some screens can't be used. |
Method Summary | |
---|---|
Rectangle |
check(ScreenDockDialog dialog)
Calculates the bounds which dialog can have. |
Rectangle |
check(ScreenDockDialog dialog,
Rectangle target)
Calculates the bounds which dialog can have. |
Field Detail |
---|
static final BoundaryRestriction FREE
static final BoundaryRestriction HARD
Method Detail |
---|
Rectangle check(ScreenDockDialog dialog)
dialog
can have.
dialog
- the dialog whose bounds should be checked.
dialog
, can be null
to indicate that the current boundaries are valid.Rectangle check(ScreenDockDialog dialog, Rectangle target)
dialog
can have.
dialog
- the dialog whose future bounds should be checked.target
- the bounds dialog
should have, this method
should not write into target
.
null
to indicate that
target
is valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |