|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.TabFolder
public class TabFolder
TabFolder is a subclass of Panel that has a TabButtonInterface property.
When the TabFolder is added to the TabbedView the tabButton property
is used as the tabButton for this panel. The default value for the
tabButton property is a TabButton instance.
Notes:
TabButton
,
TabButtonInterface
,
TabFolderInterface
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
RB_KEY
|
Constructor Summary | |
---|---|
TabFolder()
Default constructor. |
|
TabFolder(java.lang.Object item)
Constructor that sets the item object on the TabButtonInterface object. |
Method Summary | |
---|---|
static int |
getDefaultHeight()
|
static int |
getDefaultWidth()
|
static com.sas.beans.ExtendedBeanInfo |
getExtendedBeanInfo()
|
TabButtonInterface |
getTabButton()
Get the TabButtonInterface object associated with this panel. |
java.lang.String |
getText()
Get the text on the TabButtonInterface object if it implements the StringDataInterface. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Handle a change in the properties of the TabFolder. |
void |
setBackground(java.awt.Color c)
Set the background for the TabFolder. |
static void |
setDefaultHeight(int newHeight)
|
void |
setDefaultValues()
Set the default internal values for the BaseButton. |
static void |
setDefaultWidth(int newWidth)
|
void |
setTabButton(TabButtonInterface newTabButton)
Set the TabButtonInterface object associated with this panel. |
void |
setText(java.lang.String t)
Set the text on the TabButtonInterface object if it implements the StringDataInterface. |
Methods inherited from class com.sas.awt.Panel |
---|
remove, remove, removeAll |
Methods inherited from interface com.sas.awt.ContainerInterface |
---|
getComponents, getLayout, invalidate, setLayout, validate |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public TabFolder()
public TabFolder(java.lang.Object item)
item
- the item on the tabButton property.Method Detail |
---|
public static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()
public static int getDefaultHeight()
public static int getDefaultWidth()
public static void setDefaultHeight(int newHeight)
public static void setDefaultWidth(int newWidth)
public TabButtonInterface getTabButton()
getTabButton
in interface TabFolderInterface
setTabButton(com.sas.visuals.TabButtonInterface)
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class PanelVisualComponent
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)
public void setDefaultValues()
setDefaultValues
in interface ContainerInterface
setDefaultValues
in interface VisualInterface
setDefaultValues
in interface com.sas.ComponentInterface
setDefaultValues
in class Panel
ContainerInterface.setDefaultValues()
public void setTabButton(TabButtonInterface newTabButton)
setTabButton
in interface TabFolderInterface
newTabButton
- the TabButtonInterface associated with this panel.getTabButton()
public java.lang.String getText()
getText
in interface com.sas.lang.StringDataInterface
setText(java.lang.String)
,
StringDataInterface
public void setText(java.lang.String t)
setText
in interface com.sas.lang.StringDataInterface
t
- if tabButton implements the StringDataInterface set the text
property to this String.getText()
,
StringDataInterface
public void setBackground(java.awt.Color c)
setBackground
in class java.awt.Component
c
- the new background color
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |