All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----powersoft.jcm.ui.Component | +----powersoft.jcm.ui.TabControl
protected EventListenerVector _selectVector
public TabControl()
public synchronized void addSelectListener(SelectListener l)
public synchronized EventListenerVector getSelectListeners()
public synchronized void handleSelect(SelectEvent data)
public synchronized void removeSelectListener(SelectListener l)
public int getCount()
public int getSelected()
public void setSelected(int id)
public int getTabHeight()
public void setTabHeight(int height)
public Dimension getTabSize()
public void setTabSize(Dimension size)
public void setTabSize(int width, int height)
public int getTabWidth()
public void setTabWidth(int width)
public Panel getPanel(int id)
public void setPanel(int id, Panel panel)
public String getText(int id)
public void setText(int id, String text)
public Object getUserData(int id)
public void setUserData(int id, Object userData)
public void add(int id, String text, Object userData)
public boolean delete(int index)
Notes: To remove all pages in the tab control use the deleteAll method.
public boolean deleteAll()
Notes: To remove a specific page from the tab control use the delete method.
true
if all pages were successfully removed;
false
if an error occurs (e.g., no pages were in
the tab control).
public Component findComponent(Component awtComp, boolean recurse)
protected Component createAWTComponent(Component parent)
public boolean processAWTEvent(Event event)
protected AWTTabControl getAWTTabControl()
All Packages Class Hierarchy This Package Previous Next Index