Package org.zkoss.zk.ui.event
Class MaximizeEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- 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
Constructors Constructor Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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.
-
-