⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 portletframeevent.java

📁 GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。GridSphere 是在欧盟提供基金的 GridLab 项目下开发的
💻 JAVA
字号:
/* * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a> * @version $Id: PortletFrameEvent.java 4496 2006-02-08 20:27:04Z wehrens $ */package org.gridsphere.layout.event;/** * A <code>PortletFrameEvent</code> is created by a <code>PortletFrame</code> * when a window event has been triggered. */public interface PortletFrameEvent extends PortletComponentEvent {    /**     * An Action defines an immutable set of known window events.     * <p/>     * <ul>     * <li>FRAME_MAXIMIZED</li>     * <li>FRAME_MINIMIZED</li>     * <li>FRAME_RESTORED</li>     * </ul>     */    public static final class FrameAction implements ComponentAction {        public static final FrameAction FRAME_MAXIMIZED = new FrameAction(1);        public static final FrameAction FRAME_RESTORED = new FrameAction(2);        public static final FrameAction FRAME_MINIMIZED = new FrameAction(3);        public static final FrameAction FRAME_CLOSED = new FrameAction(4);        private int action = 0;        /**         * Constructs an instance of Action.         *         * @param action a unique integer id         */        private FrameAction(int action) {            this.action = action;        }        public int getID() {            return action;        }    }    /**     * Returns the type of PortletFrame action received     *     * @return the PortletFrameEvent.Action     */    public ComponentAction getAction();    /**     * Returns the component id of  the PortletFrame that triggered the event     *     * @return the component id of  the PortletFrame     */    public int getID();    /**     * Used in the case of portlet frame resize when it needs to know the original width of the frame     *     * @return the portlet frame original width     */    public String getOriginalWidth();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -