|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.ibm.as400.resource.ResourceListEvent
public class ResourceListEvent extends EventObject
The ResourceListEvent class represents a resource list event.
| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH_CHANGED
Deprecated. Event ID indicating that the length of the list changed. |
static int |
LIST_CLOSED
Deprecated. Event ID indicating that the list is closed. |
static int |
LIST_COMPLETED
Deprecated. Event ID indicating that the list is completely loaded. |
static int |
LIST_IN_ERROR
Deprecated. Event ID indicating that the list is not completely loaded due to an error. |
static int |
LIST_OPENED
Deprecated. Event ID indicating that the list is opened. |
static int |
RESOURCE_ADDED
Deprecated. Event ID indicating that a resource is added to the list. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor and Description |
|---|
ResourceListEvent(Object source,
int eventID)
Deprecated. Constructs a ResourceListEvent object. |
ResourceListEvent(Object source,
int eventID,
long length)
Deprecated. Constructs a ResourceListEvent object. |
ResourceListEvent(Object source,
int eventID,
Resource resource,
long index)
Deprecated. Constructs a ResourceListEvent object. |
| Modifier and Type | Method and Description |
|---|---|
int |
getID()
Deprecated. Returns the event ID. |
long |
getIndex()
Deprecated. Returns the index of the associated resource within the list. |
long |
getLength()
Deprecated. Returns the length of the list. |
Resource |
getResource()
Deprecated. Returns the associated resource. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int LENGTH_CHANGED
public static final int LIST_CLOSED
public static final int LIST_COMPLETED
public static final int LIST_IN_ERROR
public static final int LIST_OPENED
public static final int RESOURCE_ADDED
| Constructor Detail |
|---|
public ResourceListEvent(Object source,
int eventID)
source - The source.eventID - The event ID.
public ResourceListEvent(Object source,
int eventID,
Resource resource,
long index)
source - The source.eventID - The event ID.resource - The associated resource, or null if none.index - The index of the associated resource within the list.
public ResourceListEvent(Object source,
int eventID,
long length)
source - The source.eventID - The event ID.length - The list length.| Method Detail |
|---|
public int getID()
public long getIndex()
public long getLength()
public Resource getResource()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||