public class CDockableLocationEvent extends Object
CDockableLocationListener if the location or the visibility to the
user of a CDockable changed.null.| Constructor and Description |
|---|
CDockableLocationEvent(CDockable dockable,
boolean oldShowing,
boolean newShowing,
CLocation oldLocation,
CLocation newLocation)
Creates a new event.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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 nullpublic 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()
Copyright © 2018. All rights reserved.