|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.event.CDockableLocationEvent
public class CDockableLocationEvent
This event object is given to a CDockableLocationListener if the location or the visibility to the
user of a CDockable changed.
Please note that any location can be null.
| Constructor Summary | |
|---|---|
CDockableLocationEvent(CDockable dockable,
boolean oldShowing,
boolean newShowing,
CLocation oldLocation,
CLocation newLocation)
Creates a new event. |
|
| Method Summary | |
|---|---|
CDockable |
getDockable()
Gets the dockable whose state changed. |
CLocation |
getNewLocation()
Gets the location of the dockable after this event |
boolean |
getNewShowing()
Tells whether the user can see the dockable after this event |
boolean |
getNewVisible()
Deprecated. replaced by getNewShowing() |
CLocation |
getOldLocation()
Gets the location of the dockable before this event |
boolean |
getOldShowing()
Tells whether the user could see the dockable before this event |
boolean |
getOldVisible()
Deprecated. replaced by getOldShowing() |
boolean |
isLocationChanged()
Tells whether the location of the dockable changed. |
boolean |
isShowingChanged()
Tells whether the showing state of the dockable changed |
boolean |
isVisibleChanged()
Deprecated. this method gets replaced by isShowingChanged() |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CDockableLocationEvent(CDockable dockable,
boolean oldShowing,
boolean newShowing,
CLocation oldLocation,
CLocation newLocation)
dockable - the source of the eventoldShowing - the old visibility statenewShowing - the new visibility stateoldLocation - the old location, may be nullnewLocation - the new location, may be null| Method Detail |
|---|
public CDockable getDockable()
public boolean isLocationChanged()
public CLocation getOldLocation()
nullpublic CLocation getNewLocation()
null
@Deprecated
@Todo(compatibility=BREAK_MAJOR,
priority=ENHANCEMENT,
target=VERSION_1_1_3,
description="remove this method")
public boolean isVisibleChanged()
isShowingChanged()
public boolean isShowingChanged()
@Deprecated
@Todo(compatibility=BREAK_MAJOR,
priority=ENHANCEMENT,
target=VERSION_1_1_3,
description="remove this method")
public boolean getOldVisible()
getOldShowing()
public boolean getOldShowing()
@Todo(compatibility=BREAK_MAJOR,
priority=ENHANCEMENT,
target=VERSION_1_1_3,
description="remove this method")
@Deprecated
public boolean getNewVisible()
getNewShowing()
public boolean getNewShowing()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||