| Constructor and Description |
|---|
StationDropItem(int mouseX,
int mouseY,
int titleX,
int titleY,
Dockable dockable)
Creates a new item
|
StationDropItem(int mouseX,
int mouseY,
int titleX,
int titleY,
Dockable dockable,
Dimension size,
Dimension minimum)
Creates a new item
|
| Modifier and Type | Method and Description |
|---|---|
Dockable |
getDockable()
Gets the item that is moved around
|
Dimension |
getMinimumSize()
Gets the original minimum size of the
Dockable. |
int |
getMouseX()
Gets the position of the mouse on the screen
|
int |
getMouseY()
Gets the position of the mouse on the screen
|
Dimension |
getOriginalSize()
Gets the original size of the
Dockable, the size it had when the drag and drop operation started. |
int |
getTitleX()
Gets the position of the title on the screen
|
int |
getTitleY()
Gets the position of the title on the screen
|
public StationDropItem(int mouseX,
int mouseY,
int titleX,
int titleY,
Dockable dockable)
mouseX - the position of the mousemouseY - the position of the mousetitleX - the location of the titletitleY - the location of the titledockable - the item that is moved aroundpublic StationDropItem(int mouseX,
int mouseY,
int titleX,
int titleY,
Dockable dockable,
Dimension size,
Dimension minimum)
mouseX - the position of the mousemouseY - the position of the mousetitleX - the location of the titletitleY - the location of the titledockable - the item that is moved aroundsize - the original size of dockableminimum - the original minimum size of dockablepublic Dockable getDockable()
public Dimension getOriginalSize()
Dockable, the size it had when the drag and drop operation started.public Dimension getMinimumSize()
Dockable.public int getMouseX()
public int getMouseY()
public int getTitleX()
public int getTitleY()
Copyright © 2017 Docking Frames. All rights reserved.