SilverStream
Application Server 3.5

com.sssw.shr.page
Class AgpTabPanel

java.lang.Object
 |
 +--com.sssw.shr.page.AgpTag
       |
       +--com.sssw.shr.page.AgpControlBase
             |
             +--com.sssw.shr.page.AgpBlock
                   |
                   +--com.sssw.shr.page.AgpContainer
                         |
                         +--com.sssw.shr.page.AgpTabPanel
All Implemented Interfaces:
AgiJavaScriptEnhanced, AgiPageControl, Cloneable, Externalizable, Serializable

public class AgpTabPanel
extends AgpContainer

AgpTabPanel is a type of AgpContainer which allows users to tab between different blocks of HTML.

Properties:
Alignmnent, Background Color, Background Image, Border Color, Border Size, Extended Attributes, Height, Inactive Background Color, Inactive Background Image, Inactive Transparent Background, Name, Padding, Programmable, Show Tabs At Runtime, Tab Spacing, Transparent Background, Width
See Also:
Serialized Form

Fields inherited from class com.sssw.shr.page.AgpTag
UNIT_PERCENT, UNIT_PIXEL
 
Constructor Summary
AgpTabPanel()
           
 
Method Summary
 int getCurrentPane()
          Returns the current pane.
 void setCurrentPane(int pane)
          Sets the current pane.
 
Methods inherited from class com.sssw.shr.page.AgpContainer
getBlock, getBlockCount, getGroup, getGroupCount
 
Methods inherited from class com.sssw.shr.page.AgpBlock
getControls
 
Methods inherited from class com.sssw.shr.page.AgpControlBase
getName
 
Methods inherited from class com.sssw.shr.page.AgpTag
getBoolProperty, getEnableHTMLGeneration, getIntArrayProperty, getIntProperty, getIntPropertyUnit, getProperty, getStringArrayProperty, invalidateHTML, removeProperty, setEnableHTMLGeneration, setIntProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods implemented from interface com.sssw.shr.page.AgiJavaScriptEnhanced
generateFunction, generateRepaintScript, generateScriptInitializers, getFunctionNameForMethod, getFunctionNames, getMethodNames, getScriptObjectName, isHTMLRepaintPending, isJavaScriptRepaintPending
 
Methods implemented from interface com.sssw.shr.page.AgiPageControl
generateHTML, getPrefix, notifyPageLoaded, notifyPageRequestBegin, notifyPageRequestEnd, notifyPostValue, notifyPostValues
 
Methods implemented from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

AgpTabPanel

public AgpTabPanel()
Method Detail

getCurrentPane

public int getCurrentPane()
Returns the current pane.
See Also:
AgpTabPanel.setCurrentPane(int pane)

setCurrentPane

public void setCurrentPane(int pane)
Sets the current pane.
Parameters:
pane - an int identifying the pane.
Example:

This code example changes the current pane to 2.

 	AgpTabPanel tabpanel = ...
 	tabpanel.setCurrentPanel(2);
 
See Also:
AgpTabPanel.getCurrentPane()

SilverStream
Application Server 3.5