org.zkoss.zk.ui.event
Class AfterSizeEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by 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
AfterSizeEvent(java.lang.String name, Component target, int width, int height)
          Constructs an AfterSizeEvent.
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo