|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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 oldVisible,
boolean newVisible,
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 |
getNewVisible()
Tells whether the user can see the dockable after this event |
CLocation |
getOldLocation()
Gets the location of the dockable before this event |
boolean |
getOldVisible()
Tells whether the user could see the dockable before this event |
boolean |
isLocationChanged()
Tells whether the location of the dockable changed. |
boolean |
isVisibleChanged()
Tells whether the visibility state of the dockable changed |
java.lang.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 oldVisible, boolean newVisible, CLocation oldLocation, CLocation newLocation)
dockable
- the source of the eventoldVisible
- the old visibility statenewVisible
- the new visibility stateoldLocation
- the old location, may be null
newLocation
- the new location, may be null
Method Detail |
---|
public CDockable getDockable()
public boolean isLocationChanged()
public CLocation getOldLocation()
null
public CLocation getNewLocation()
null
public boolean isVisibleChanged()
public boolean getOldVisible()
public boolean getNewVisible()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |