yu.ac.bg.etf.javaqx.qswing.events
Class ContainerEvent
java.lang.Object
java.util.EventObject
yu.ac.bg.etf.javaqx.qswing.events.QSwingEvent
yu.ac.bg.etf.javaqx.qswing.events.ComponentEvent
yu.ac.bg.etf.javaqx.qswing.events.ContainerEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ContainerEvent
- extends ComponentEvent
Container Event.
- Version:
- 0.2.0
- Author:
- Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)
- See Also:
- Serialized Form
Fields inherited from class yu.ac.bg.etf.javaqx.qswing.events.QSwingEvent |
ACTION_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTEXT_MENU_EVENT_MASK, CUSTOM_CONTEXT_MENU_EVENT_MASK, FOCUS_EVENT_MASK, id, KEY_EVENT_MASK, LOCATION_TOOL_TIP_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, PAINT_VIEW_EVENT_MASK, WINDOW_EVENT_MASK |
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMPONENT_ADDED
public static final int COMPONENT_ADDED
- Component added id.
- See Also:
- Constant Field Values
COMPONENT_REMOVED
public static final int COMPONENT_REMOVED
- Component removed id.
- See Also:
- Constant Field Values
ContainerEvent
public ContainerEvent(JQContainer source,
int id,
JQComponent child)
- Constructs new FocusEvent object.
- Parameters:
source
- the source container of the eventid
- the event idchild
- the child component
- Throws:
java.lang.IllegalArgumentException
- if the source is null
java.lang.IllegalArgumentException
- if the child is null
getContainer
public JQContainer getContainer()
- Returns the source container of the event.
- Returns:
- the source container of the event
getChild
public JQComponent getChild()
- Returns the component that was added or removed.
- Returns:
- the component that was added or removed
paramString
public java.lang.String paramString()
- Returns string representation of the event.
- Overrides:
paramString
in class ComponentEvent
Copyright © 2007 ETF and contributors. All Rights Reserved.