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

📄 portlettitlebarevent.java

📁 GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。GridSphere 是在欧盟提供基金的 GridLab 项目下开发的
💻 JAVA
字号:
/* * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a> * @version $Id: PortletTitleBarEvent.java 5032 2006-08-17 18:15:06Z novotny $ */package org.gridsphere.layout.event;import javax.portlet.PortletMode;import javax.portlet.WindowState;/** * A <code>PortletTitleBarEvent</code> is created by a <code>PortletTitleBar</code> * when a title bar event has been triggered. */public interface PortletTitleBarEvent extends PortletComponentEvent {    /**     * Action is an immutable representing the window state and portlet mode     * of the portlet title bar.     */    public static final class TitleBarAction implements ComponentAction {        public static final TitleBarAction WINDOW_MODIFY = new TitleBarAction(1);        public static final TitleBarAction MODE_MODIFY = new TitleBarAction(5);        private int action = 0;        /**         * Action cannot be instantiated outside of this class         */        private TitleBarAction(int action) {            this.action = action;        }        public int getID() {            return action;        }    }    /**     * Returns the portlet title bar mode     *     * @return mode the portlet title bar mode     */    public PortletMode getMode();    /**     * Returns the portlet title bar window state     *     * @return the portlet title bar window state     */    public WindowState getState();    /**     * Returns true if this title bar event signals a window state change     *     * @return true if this title bar event signals a window state change     */    public boolean hasWindowStateAction();    /**     * Returns true if this title bar event signals a portlet mode change     *     * @return true if this title bar event signals a portlet mode change     */    public boolean hasPortletModeAction();    /**     * Returns the portlet title bar component id     *     * @return the portlet title bar component id     */    public int getID();}

⌨️ 快捷键说明

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