|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.miginfocom.calendar.category.CategoryStructureEvent
public class CategoryStructureEvent
An event that has information abount changes of date ranges.
| Field Summary | |
|---|---|
static int |
ADDED
One or more categories was added but usually not as a result of a direct creation. |
static int |
ADDED_CREATED
One or more categories was added as a result of creation. |
static int |
CHILDREN_REARRANGED
Children of the category was rearranged. |
static int |
EXCHANGED
A category was exchanged for another one. |
static int |
REMOVED
One or more categories was removed but usually not as a result of a direct deletion. |
static int |
REMOVED_DELETED
One or more categories was removed as a result of deletion. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
CategoryStructureEvent(java.lang.Object source,
Category category,
Category parent,
int type)
Constructor. |
|
| Method Summary | |
|---|---|
Category |
getCategory()
Returns The category that was affected. |
Category |
getParent()
Returns the parent of the category that was affected. |
java.lang.Object |
getSource()
Returns the source at which the event happened. |
int |
getType()
Returns the type, E.g. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ADDED
public static final int REMOVED
public static final int EXCHANGED
public static final int ADDED_CREATED
public static final int REMOVED_DELETED
public static final int CHILDREN_REARRANGED
| Constructor Detail |
|---|
public CategoryStructureEvent(java.lang.Object source,
Category category,
Category parent,
int type)
source - The source of the event. Just provided for reference.category - The category that was affected.parent - The parent of the category that was affected.type - The type, E.g. REMOVED.DateRange.getImmutable()| Method Detail |
|---|
public final java.lang.Object getSource()
getSource in class java.util.EventObjectpublic final Category getCategory()
public final Category getParent()
public final int getType()
ADDED. As a contract between the producer and reciever of the event and can assume
any value.
REMOVED. As a contract between the producer and reciever of the event and can assume
any value.public java.lang.String toString()
toString in class java.util.EventObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||