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

📄 tabbedpane.java

📁 webwork source
💻 JAVA
字号:
/* * WebWork, Web Application Framework * * Distributable under Apache license. * See terms of license at opensource.org */package webwork.util;import java.util.Vector;/** * A bean that helps implement a tabbed pane *	@author Onyeje Bose (digi9ten@yahoo.com) *	@author Rickard 謆erg (rickard@middleware-company.com) *	@version $Revision: 1.10 $ */public class TabbedPane{    // Attributes ----------------------------------------------------    protected Vector content = null;    protected int selectedIndex = 0;    protected String tabAlign = null;    // Public --------------------------------------------------------    public TabbedPane( int defaultIndex )    {        selectedIndex = defaultIndex;    }    public int getSelectedIndex()    {        return selectedIndex;    }    public void setSelectedIndex( int selectedIndex )    {        this.selectedIndex = selectedIndex;    }    public Vector getContent()    {        return content;    }    public void setContent( Vector content )    {        this.content = content;    }    public String getTabAlign()    {        return tabAlign;    }    public void setTabAlign( String tabAlign )    {        this.tabAlign = tabAlign;    }}

⌨️ 快捷键说明

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