|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.StationDropItem
public class StationDropItem
This class offers information about a Dockable that is going to be dropped. The properties include:
dockable itself mouseX and mouseY titleX and titleY
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 around
public 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 dockable| Method Detail |
|---|
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||