Package org.zkoss.zk.ui.event
Class AfterSizeEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- org.zkoss.zk.ui.event.AfterSizeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class AfterSizeEvent extends Event
Represents an event that resize a component and provides the new size of the component.- Since:
- 6.5.2
- Author:
- Vincent
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AfterSizeEvent(java.lang.String name, Component target, int width, int height)
Constructs an AfterSizeEvent.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AfterSizeEvent
getAfterSizeEvent(AuRequest request)
Converts an AU request to a AfterSizeEvent.int
getHeight()
int
getWidth()
-
Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
-
-
-
Constructor Detail
-
AfterSizeEvent
public AfterSizeEvent(java.lang.String name, Component target, int width, int height)
Constructs an AfterSizeEvent.
-
-
Method Detail
-
getAfterSizeEvent
public static AfterSizeEvent getAfterSizeEvent(AuRequest request)
Converts an AU request to a AfterSizeEvent.
-
getWidth
public int getWidth()
- Returns:
- the offsetWidth of the component after sized
-
getHeight
public int getHeight()
- Returns:
- the offsetHeight of the component after sized
-
-