| java.awt.AWTEvent org.wings.event.SComponentEvent org.wings.event.SContainerEvent
Field Summary | |
final public static int | COMPONENT_ADDED An event with this ID indicates, that a component was added to
the container. | final public static int | COMPONENT_REMOVED An event with this ID indicates, that a component was removed from
the container. | final public static int | CONTAINER_FIRST The first number of used IDs for container events. | final public static int | CONTAINER_LAST The last number of used IDs for container events. |
Constructor Summary | |
public | SContainerEvent(SContainer source, int id, SComponent child) create a new container event issued by 'source' and affecting
'child'.
Parameters: source - the Container issuing this event Parameters: id - the integer ID describing the action; one ofCOMPONENT_ADDED or COMPONENT_REMOVED . Parameters: child - the component that is affected by this event, i.e. |
COMPONENT_ADDED | final public static int COMPONENT_ADDED(Code) | | An event with this ID indicates, that a component was added to
the container.
|
COMPONENT_REMOVED | final public static int COMPONENT_REMOVED(Code) | | An event with this ID indicates, that a component was removed from
the container.
|
CONTAINER_FIRST | final public static int CONTAINER_FIRST(Code) | | The first number of used IDs for container events.
|
CONTAINER_LAST | final public static int CONTAINER_LAST(Code) | | The last number of used IDs for container events.
|
SContainerEvent | public SContainerEvent(SContainer source, int id, SComponent child)(Code) | | create a new container event issued by 'source' and affecting
'child'.
Parameters: source - the Container issuing this event Parameters: id - the integer ID describing the action; one ofCOMPONENT_ADDED or COMPONENT_REMOVED . Parameters: child - the component that is affected by this event, i.e. thatis added or removed. |
getChild | public SComponent getChild()(Code) | | returns the child component, whose new status in the container
is reported by this event.
|
getContainer | public SContainer getContainer()(Code) | | returns the source container, this event origins from.
|
|
|