1 5 package com.opensymphony.webwork.util; 6 7 import java.util.Vector ; 8 9 10 17 public class TabbedPane { 18 20 protected String tabAlign = null; 21 22 protected Vector content = null; 24 protected int selectedIndex = 0; 25 26 28 public TabbedPane(int defaultIndex) { 30 selectedIndex = defaultIndex; 31 } 32 33 35 public void setContent(Vector content) { 36 this.content = content; 37 } 38 39 public Vector getContent() { 40 return content; 41 } 42 43 public void setSelectedIndex(int selectedIndex) { 44 this.selectedIndex = selectedIndex; 45 } 46 47 public int getSelectedIndex() { 48 return selectedIndex; 49 } 50 51 public void setTabAlign(String tabAlign) { 52 this.tabAlign = tabAlign; 53 } 54 55 public String getTabAlign() { 56 return tabAlign; 57 } 58 } 59 | Popular Tags |