portlettabevent.java
来自「GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。」· Java 代码 · 共 47 行
JAVA
47 行
/* * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a> * @version $Id: PortletTabEvent.java 4496 2006-02-08 20:27:04Z wehrens $ */package org.gridsphere.layout.event;/** * A <code>PortletTabEvent</code> is triggered by a <code>PortletTab</code> * when a tab has been selected. */public interface PortletTabEvent extends PortletComponentEvent { /** * An Action defines a single tab event action: * <p/> * <ul><li>TAB_SELECTED</li></ul> */ public static final class TabAction implements ComponentAction { public static final TabAction TAB_SELECTED = new TabAction(1); private int action = 0; /** * Action is immutable and cannot be created outside of this class * * @param action a unique integer id */ private TabAction(int action) { this.action = action; } public int getID() { return action; } } /** * Returns the component id of the portlet tab * * @return the component id of the portlet tab */ public int getID();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?