com.starteam.events
Class WebCacheLabelEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.starteam.events.WebCacheLabelEvent
All Implemented Interfaces:
java.io.Serializable

public final class WebCacheLabelEvent
extends java.util.EventObject

An event triggered whenever a WebCacheLabel is added, changed or deleted on the server.

See Also:
WebCacheLabelListener, View.WebCacheView.addLabelListener(com.starteam.events.WebCacheLabelListener), Serialized Form

Method Summary
 Label.WebCacheLabel getLabel()
          Gets the WebCacheLabel that has been added, changed or deleted, in its new state.
 java.lang.String toString()
          Gets a short description of this WebCacheLabelEvent.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLabel

public Label.WebCacheLabel getLabel()
Gets the WebCacheLabel that has been added, changed or deleted, in its new state.

Returns a WebCacheLabel object that is not a member of the View's WebCacheLabel collection (that is, it is not among the WebCacheLabel objects returned by View.getWebCacheLabels()). There may be a WebCacheLabel in the collection with the same ID, but it would be a physically different object that is likely to have different properties.

If an application wants to refresh the WebCacheLabel objects in the View's WebCacheLabel collection, it must explicitly call View.refreshWebCacheLabels().

Returns:
The WebCacheLabel that has been added, changed or deleted, in its new state.
See Also:
Label.WebCacheLabel, View.WebCacheView.getLabels()

toString

public java.lang.String toString()
Gets a short description of this WebCacheLabelEvent.

Overrides:
toString in class java.util.EventObject
Returns:
A short description of this WebCacheLabelEvent.


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.