|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.uva.vlet.vrs.ResourceEvent
public class ResourceEvent
Field Summary | |
---|---|
VAttribute[] |
attributes
Parent VRL if Applicable |
boolean |
boolVal
|
VRL[] |
childs
child locations if applicable |
EventType |
eventType
The Event Type |
VRL |
location
Single node or list of nodes for which this event applies |
java.lang.String |
message
|
VRL |
newLocation
newLocation for rename events (old location=this.location) |
ResourceEventListener |
specificListener
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public EventType eventType
public VRL location
public VRL newLocation
public VRL[] childs
public VAttribute[] attributes
public boolean boolVal
public java.lang.String message
public ResourceEventListener specificListener
Method Detail |
---|
public java.lang.String getMessage()
public EventType getType()
public VRL getSource()
public java.lang.String toString()
toString
in class java.lang.Object
public static ResourceEvent createChildAddedEvent(VRL node, VRL child)
public static ResourceEvent createChildsAddedEvent(VRL node, VRL[] childs)
public static ResourceEvent createSetChildsEvent(VRL node, VRL[] childs)
public static ResourceEvent createDeletedEvent(VRL node)
public static ResourceEvent createRefreshEvent(VRL node2)
public static ResourceEvent createRenameEvent(VRL oldLocation, VRL newLocation)
public static ResourceEvent createAttributesChangedEvent(VRL node, VAttribute[] attrs)
public static ResourceEvent createSetAttributeEvent(VRL source, java.lang.String name, java.lang.String value)
public static ResourceEvent createBusyEvent(VRL node, boolean val)
public static ResourceEvent createMessageEvent(VRL node, java.lang.String message)
public static void fireMessageEvent(VRL source, java.lang.String message)
public static void addResourceEventListener(ResourceEventListener listener)
public static void removeResourceEventListener(ResourceEventListener listener)
public static void fireEvent(ResourceEvent event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |