public class StationDropItem
extends java.lang.Object
Dockable
that is going to be dropped. The properties include:
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,
java.awt.Dimension size,
java.awt.Dimension minimum)
Creates a new item
|
Modifier and Type | Method and Description |
---|---|
Dockable |
getDockable()
Gets the item that is moved around
|
java.awt.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
|
java.awt.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, java.awt.Dimension size, java.awt.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 dockable
minimum
- the original minimum size of dockable
public Dockable getDockable()
public java.awt.Dimension getOriginalSize()
Dockable
, the size it had when the drag and drop operation started.public java.awt.Dimension getMinimumSize()
Dockable
.public int getMouseX()
public int getMouseY()
public int getTitleX()
public int getTitleY()