Class 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)  
    • 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.