|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScreenDockWindowBorder
This border can be used by ScreenDockWindows to paint a border. The border itself may offer methods
to paint indications whether the user currently moves or presses the mouse over it. The states will be set by
the window itself.
| Nested Class Summary | |
|---|---|
static class |
ScreenDockWindowBorder.Position
various positions where the user can grab this border |
| Method Summary | |
|---|---|
void |
setController(DockController controller)
Sets the DockController which should be monitored for receiving colors. |
void |
setCornerSize(int cornerSize)
Sets the size of the corners in pixels. |
void |
setMouseOver(ScreenDockWindowBorder.Position mouseOver)
Sets where the mouse is currently hovering. |
void |
setMousePressed(ScreenDockWindowBorder.Position mousePressed)
Sets where the mouse is currently pressed. |
void |
setMoveSize(int moveSize)
Sets the size of the area at the top that can be grabbed and used to move the window. |
| Methods inherited from interface javax.swing.border.Border |
|---|
getBorderInsets, isBorderOpaque, paintBorder |
| Method Detail |
|---|
void setController(DockController controller)
DockController which should be monitored for receiving colors.
controller - the new controller, can be nullvoid setMousePressed(ScreenDockWindowBorder.Position mousePressed)
mousePressed - the position, null equals ScreenDockWindowBorder.Position.NOTHINGvoid setMouseOver(ScreenDockWindowBorder.Position mouseOver)
mouseOver - the position, null equals ScreenDockWindowBorder.Position.NOTHINGvoid setCornerSize(int cornerSize)
cornerSize - the size in pixels, at least 0void setMoveSize(int moveSize)
moveSize - the size, at least 0
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||