org.zkoss.zk.ui.event
Class MaximizeEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zk.ui.event.MaximizeEvent
All Implemented Interfaces:
java.io.Serializable

public class MaximizeEvent
extends Event

Represents an event caused by a component being maximized.

Since:
3.5.0
Author:
jumperchen
See Also:
Serialized Form

Constructor Summary
MaximizeEvent(java.lang.String name, Component target, java.lang.String left, java.lang.String top, java.lang.String width, java.lang.String height, boolean maximized)
           
 
Method Summary
 java.lang.String getHeight()
          Returns the height of the component, which is its original height.
 java.lang.String getLeft()
          Returns the left of the component, which is its original left.
static MaximizeEvent getMaximizeEvent(AuRequest request)
          Converts an AU request to a maximize event.
 java.lang.String getTop()
          Returns the top of the component, which is its original top.
 java.lang.String getWidth()
          Returns the width of the component, which is its original width.
 boolean isMaximized()
          Returns whether to be maximized.
 
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

MaximizeEvent

public MaximizeEvent(java.lang.String name,
                     Component target,
                     java.lang.String left,
                     java.lang.String top,
                     java.lang.String width,
                     java.lang.String height,
                     boolean maximized)
Method Detail

getMaximizeEvent

public static final MaximizeEvent getMaximizeEvent(AuRequest request)
Converts an AU request to a maximize event.

Since:
5.0.0

getWidth

public final java.lang.String getWidth()
Returns the width of the component, which is its original width.


getHeight

public final java.lang.String getHeight()
Returns the height of the component, which is its original height.


getLeft

public final java.lang.String getLeft()
Returns the left of the component, which is its original left.


getTop

public final java.lang.String getTop()
Returns the top of the component, which is its original top.


isMaximized

public final boolean isMaximized()
Returns whether to be maximized.



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