|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.TabBar
public class TabBar
The TabBar is a sub-class of CompositePanel that implements the TabBarInterface
to contain TabButtonInterface components. It supports creating and adding the
TabButtonInterface objects, as well as laying out the tabButtons in a multi-row
or a single row style. Other layout options include orientation and justification
of the tabButtons. The tabButtons can also be enabled or hidden using the TabBarInterface.
Notes:
TabbedView
,
TabBarInterface
,
TabButtonInterface
,
Serialized FormField Summary | |
---|---|
protected BorderInterface |
border
|
protected int |
orientation
|
static java.lang.String |
RB_KEY
|
protected SpinButton |
spinBtn
|
protected java.awt.Dimension |
spinBtnSize
|
protected int |
style
|
Fields inherited from interface com.sas.visuals.TabBarInterface |
---|
BOTTOM, LEFT, MULTIGROUP, NONE, RIGHT, SCROLLABLE, TOP |
Fields inherited from interface com.sas.visuals.Justification |
---|
FULL |
Fields inherited from interface com.sas.visuals.Alignment |
---|
BEGIN, CENTER, END |
Fields inherited from interface com.sas.visuals.Direction |
---|
BOTTOM_TO_TOP, COLUMN_MAJOR, LEFT_TO_RIGHT, RIGHT_TO_LEFT, ROW_MAJOR, TOP_TO_BOTTOM |
Fields inherited from interface com.sas.visuals.Sizing |
---|
PROPORTIONAL, UNIFORM |
Constructor Summary | |
---|---|
TabBar()
Default Constructor |
|
TabBar(int orientation)
Constructor to set the orientation of the TabBar. |
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener listener)
Add the specified action listener to receive action events from this TabBar when a tab is selected. |
protected void |
addImpl(java.awt.Component comp,
java.lang.Object constraints,
int index)
Overriden to only add TabButtonInterface objects to the TabBar. |
java.awt.Component |
addItem(java.lang.Object tabItem)
Construct and add a TabButtonInterface component to the container with the specified item in the first group. |
java.awt.Component |
addItem(java.lang.Object tabItem,
int index)
Construct and add a TabButtonInterface component to the container with the specified item in the specified group. |
java.awt.Component |
addItem(java.lang.Object tabItem,
java.lang.Integer grpIndex)
Construct and add a TabButtonInterface component to the container with the specified item in the specified group. |
java.awt.Component |
addItem(java.lang.Object item,
java.lang.Integer grpIndex,
int index)
Construct and add a TabButtonInterface component to the container with the specified item in the specified group. |
void |
addItemListener(java.awt.event.ItemListener listener)
Add the specified item listener to receive item events from this TabBar when a tab is selected. |
protected java.awt.Component |
addModelItem(java.lang.Object tabItem,
java.lang.Integer grpIndex,
int index)
Construct and add a TabButtonInterface component to the container with the item from the model in the specified group. |
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent evt)
Handle AdjustmentEvents from the spinButton when the style is SCROLLABLE. |
void |
contentsChanged(com.sas.collection.ContentsChangedEvent evt)
Handle a change in the contents of the model. |
void |
detachModel(com.sas.ModelInterface model)
Detach the specified model from the TabBar. |
void |
doLayout()
Layout the component based on the style and orientation of the TabBar. |
int |
dragOver(java.awt.Point point,
int representation,
int keyState,
java.util.Vector data)
Used to support Drag and Drop in webAF at design time. |
int |
getBottomMargin()
Get the amount of the bottom margin on the layout. |
static int |
getDefaultHeight()
|
static int |
getDefaultWidth()
|
com.sas.util.transforms.TransformInterface |
getDisplayTransform()
Get the transform used by the TabButtonInterface to display the item object. |
static com.sas.beans.ExtendedBeanInfo |
getExtendedBeanInfo()
|
int |
getFillFrom()
Get the direction to fill the row of tabs from. |
int |
getGroupCount()
Get the number of groups in this TabBar. |
int |
getIndex(TabButtonInterface tab)
Get the index of the specified tab. |
java.lang.String[] |
getInitialItems()
Get the item values in the defaultModel. |
com.sas.util.transforms.TransformInterface |
getInputTransform()
Get the transform used by any methods that use the TabButtonInterface item property as an input parameter. |
int |
getJustification()
Get the justification of the tabs on the tab row. |
int |
getLeftMargin()
Get the amount of the left margin. |
int |
getOrientation()
Get the orientation of the tabs |
com.sas.util.transforms.TransformInterface |
getOutputTransform()
Get the transform used by any methods that use the TabButtonInterface item property as an return value. |
java.util.Vector |
getRequiredInterfaces()
Returns the required interfaces Vector for this component. |
int |
getRightMargin()
Get the amount of the right margin. |
BorderInterface |
getRowBorder()
Get the Border used to draw the rows. |
int |
getRowSpacing()
Get the pixel amount of spacing between rows. |
int |
getSelectedGroupIndex()
Get the group index of the selected tab. |
int |
getSelectedIndex()
Get the index of the selected tab. |
java.lang.Object |
getSelectedItem()
Get the item property of the selected tab. |
java.lang.Object[] |
getSelectedObjects()
Get the selected item or null if no item is selected. |
SelectionGroupInterface |
getSelectionGroup()
Get the SelectionGroupInterface that the tabs belong to. |
int |
getSizing()
Get the type of sizing done on the tabs. |
int |
getSpinButtonAlignment()
Get the alignment of the SpinButton |
int |
getSpinButtonGap()
Get the minium pixel gap between the SpinButton and the tabs. |
int |
getSpinButtonOrientation()
Get the orientation of the SpinButton. |
int |
getStartIndex()
Get the index of the starting tab. |
int |
getStyle()
Get the style of the RowLayout. |
java.lang.Class |
getTabButtonClass()
Get the class of the default tabs created when an addItem() method is called. |
int |
getTabGroupIndex(TabButtonInterface tab)
Get the item property of the selected TabButtonInterface object. |
java.awt.Dimension |
getTabSize()
Get the tabSize used when the sizing is set to UNIFORM tabs. |
int |
getTabSpacing()
Get the pixel space between the tab components. |
int |
getTopMargin()
Get the amount of the topMargin. |
void |
initialize()
The initialize() method was designed to be a synchronization point after the constructor for the object has completed and a number of methods have been called on the component. |
void |
itemStateChanged(java.awt.event.ItemEvent e)
Invoked when the selectionGroup's state has been changed. |
void |
paint(java.awt.Graphics g)
Paint the tab children into an offscreen buffer, then blast entire image at once. |
protected void |
paintRowBorder(java.awt.Graphics g)
Paint the row Border for the tabs. |
protected void |
processActionEvent(java.awt.event.ActionEvent e)
Processes action events occurring on the tabs. |
protected void |
processEvent(java.awt.AWTEvent e)
Processes events occurring on the tabs. |
protected void |
processItemEvent(java.awt.event.ItemEvent e)
Processes item events occurring on the tabs. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Handle the changes in property. |
void |
refresh(com.sas.ModelInterface model)
Refresh the TabBar with the model information. |
void |
remove(java.awt.Component comp)
Remove the specified tab component from the TabBar |
void |
remove(int index)
Remove the tab at the specified index. |
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes the specified action listener so it no longer receives action events from this TabBar. |
void |
removeAll()
Remove all tabs from this TabBar |
void |
removeItem(java.lang.Object item)
Remove the tab with the specified item property |
void |
removeItemListener(java.awt.event.ItemListener listener)
Removes the specified item listener so it no longer receives item events from this TabBar. |
protected void |
reorderComponents()
Reorder all components because of change to layout. |
void |
setBackground(java.awt.Color c)
Set the background color of the TabBar. |
void |
setBottomMargin(int margin)
Set the bottomMargin of the TabBar. |
static void |
setDefaultHeight(int newHeight)
|
void |
setDefaultValues()
Set all default values for the TabBar. |
static void |
setDefaultWidth(int newWidth)
|
void |
setDisplayTransform(com.sas.util.transforms.TransformInterface transform)
Set the displayTransform for the TabBarInterface. |
void |
setEnabled(boolean enabled)
Set the entire TabBar enabled or disabled. |
void |
setFillFrom(int direction)
Set the direction to fill the row of tabs from. |
void |
setForeground(java.awt.Color c)
Set the foreground color of the TabBar. |
void |
setInitialItems(java.lang.String[] items)
Set the item values in the defaultModel. |
void |
setInputTransform(com.sas.util.transforms.TransformInterface transform)
Set the transform used by any methods that use the TabButtonInterface item property as an input parameter. |
void |
setJustification(int justify)
Set the justification of the tabs on the container. |
void |
setLeftMargin(int margin)
Set the leftMargin of the container. |
void |
setOrientation(int orient)
Set the orientation of the tabs on this container. |
void |
setOutputTransform(com.sas.util.transforms.TransformInterface transform)
Set the transform used by any methods that use the TabButtonInterface item property as an return value. |
void |
setRightMargin(int margin)
Set the rightMargin of the container. |
void |
setRowBorder(BorderInterface border)
Set the row border of the TabBarInterface |
void |
setRowSpacing(int spacing)
Set the pixel space between the rows of tab components. |
void |
setSelectedIndex(int index)
Select the tab at the specified index. |
void |
setSelectedItem(java.lang.Object item)
Select the tab with specified item property. |
void |
setSelectionGroup(SelectionGroupInterface selectionGrp)
Set the Selection Group for all tabs to belong to. |
void |
setSizing(int sizing)
Set the type of sizing of the tabs. |
void |
setSpinButtonAlignment(int align)
Set the SpinButton justification. |
void |
setSpinButtonGap(int gap)
Set the pixel gap between the spinButton and the tabs. |
protected void |
setSpinButtonOrientation(int orient)
Set the SpinButtonOrienation to the specified orientation. |
void |
setStartIndex(int start)
Get the index of the starting tab. |
void |
setStyle(int newStyle)
Set the style of the RowLayout. |
void |
setTabButtonClass(java.lang.Class tClass)
Set the class of the default tabs created when an addItem() method is called. |
void |
setTabEnabled(boolean enabled,
int index)
Set the enabled state of the tab at the specified index. |
void |
setTabEnabled(boolean enabled,
java.lang.Object item)
Set the enabled state of the tab with the specified item. |
void |
setTabSize(java.awt.Dimension size)
Get the tabSize used when the sizing is set to UNIFORM tabs. |
void |
setTabSpacing(int spacing)
Set the pixel space between the tab components. |
void |
setTabVisible(boolean visible,
int index)
Set the visisble state of the tab at the specified index. |
void |
setTabVisible(boolean visible,
java.lang.Object item)
Set the visible state of the tab with the specified item. |
void |
setTopMargin(int margin)
Set the topMargin of the container. |
void |
update(java.awt.Graphics g)
override update to *not* erase the background before painting |
void |
validateObject()
|
Methods inherited from interface com.sas.visuals.TabBarInterface |
---|
add, getLayout |
Methods inherited from interface com.sas.awt.ContainerInterface |
---|
getComponents, getLayout, invalidate, setLayout, validate |
Field Detail |
---|
public static final java.lang.String RB_KEY
protected SpinButton spinBtn
protected java.awt.Dimension spinBtnSize
protected int style
protected int orientation
protected BorderInterface border
Constructor Detail |
---|
public TabBar()
public TabBar(int orientation)
orientation
- the orientation of the buttons in the TabBarMethod 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 void addActionListener(java.awt.event.ActionListener listener)
addActionListener
in interface ActionSource
listener
- the ActionEvent listenerremoveActionListener(java.awt.event.ActionListener)
protected void addImpl(java.awt.Component comp, java.lang.Object constraints, int index)
addImpl
in class java.awt.Container
comp
- the component to add to the TabBarconstraints
- the group to add the component toindex
- the index to add the tab atpublic void addItemListener(java.awt.event.ItemListener listener)
addItemListener
in interface java.awt.ItemSelectable
listener
- the ItemEvent listenerremoveItemListener(java.awt.event.ItemListener)
public java.awt.Component addItem(java.lang.Object tabItem)
tabItem
- the item to set on the TabButtonInterface.
public java.awt.Component addItem(java.lang.Object tabItem, int index)
tabItem
- the item to set on the TabButtonInterface.index
- the position at which to insert the component.
-1 means insert at the end.
public java.awt.Component addItem(java.lang.Object tabItem, java.lang.Integer grpIndex)
tabItem
- the item to set on the TabButtonInterface.grpIndex
- the index of the group to add the tab to.
public java.awt.Component addItem(java.lang.Object item, java.lang.Integer grpIndex, int index)
addItem
in interface TabBarInterface
tabItem
- the item to set on the TabButtonInterface.grpIndex
- the index of the group to add the tab to.index
- the position at which to insert the component.
-1 means insert at the end.
protected java.awt.Component addModelItem(java.lang.Object tabItem, java.lang.Integer grpIndex, int index)
tabItem
- the item to set on the TabButtonInterface.grpIndex
- the index of the group to add the tab to.index
- the position at which to insert the component.
-1 means insert at the end.
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent evt)
adjustmentValueChanged
in interface java.awt.event.AdjustmentListener
evt
- the AdjustmentEvent changing the start tab when the
style is SCROLLABLEAdjustmentListener
public void contentsChanged(com.sas.collection.ContentsChangedEvent evt)
contentsChanged
in interface com.sas.collection.ContentsChangedListener
evt
- the ContentsChangedEvent from the model that changed.ContentsChangedListener
public void detachModel(com.sas.ModelInterface model)
detachModel
in interface com.sas.ViewInterface
detachModel
in class PanelVisualComponent
model
- the model to detachViewInterface.detachModel(com.sas.ModelInterface)
public void doLayout()
doLayout
in class java.awt.Container
public int dragOver(java.awt.Point point, int representation, int keyState, java.util.Vector data)
dragOver
in interface ContainerInterface
dragOver
in interface com.sas.DesignTimeDropTargetInterface
dragOver
in class PanelContainerComponent
point
- The x/y coordinates of the mouse cursor inside the component.representation
- One of com.sas.DesignTimeDropResult.{representationComponent,representationModel,representationAttribute,representationViewer}keyState
- Unused.data
- A Vector containing information about the drag.
DesignTimeDropTargetInterface.dragOver(java.awt.Point, int, int, java.util.Vector)
public int getBottomMargin()
public int getIndex(TabButtonInterface tab)
tab
- the tab to get the index of
public com.sas.util.transforms.TransformInterface getDisplayTransform()
setDisplayTransform(com.sas.util.transforms.TransformInterface)
public int getFillFrom()
public int getGroupCount()
getGroupCount
in interface TabBarInterface
public com.sas.util.transforms.TransformInterface getInputTransform()
setInputTransform(com.sas.util.transforms.TransformInterface)
public java.lang.String[] getInitialItems()
setInitialItems(java.lang.String[])
public void setInitialItems(java.lang.String[] items)
items
- an array of strings containing the items to be set
on the defaultModelgetInitialItems()
public int getJustification()
Justification
,
setJustification(int)
public int getLeftMargin()
setLeftMargin(int)
public int getOrientation()
getOrientation
in interface TabBarInterface
Orientation
,
setOrientation(int)
public com.sas.util.transforms.TransformInterface getOutputTransform()
setOutputTransform(com.sas.util.transforms.TransformInterface)
public java.util.Vector getRequiredInterfaces()
getRequiredInterfaces
in interface com.sas.ViewInterface
getRequiredInterfaces
in class PanelVisualComponent
ViewInterface.getRequiredInterfaces()
public int getRightMargin()
setLeftMargin(int)
public BorderInterface getRowBorder()
getRowBorder
in interface TabBarInterface
setRowBorder(com.sas.visuals.BorderInterface)
public int getRowSpacing()
setRowSpacing(int)
public int getStyle()
getStyle
in interface TabBarInterface
setStyle(int)
public SelectionGroupInterface getSelectionGroup()
getSelectionGroup
in interface TabBarInterface
setSelectionGroup(com.sas.visuals.SelectionGroupInterface)
public int getSelectedGroupIndex()
public java.lang.Object[] getSelectedObjects()
getSelectedObjects
in interface java.awt.ItemSelectable
ItemSelectable
public int getSizing()
public int getTabSpacing()
setTabSpacing(int)
public java.lang.Class getTabButtonClass()
setTabButtonClass(java.lang.Class)
public int getSpinButtonAlignment()
setSpinButtonAlignment(int)
public int getSpinButtonOrientation()
setSpinButtonOrientation(int)
public int getSpinButtonGap()
setSpinButtonGap(int)
public int getStartIndex()
setStartIndex(int)
public int getSelectedIndex()
getSelectedIndex
in interface TabBarInterface
setSelectedIndex(int)
public java.lang.Object getSelectedItem()
getSelectedItem
in interface TabBarInterface
setSelectedItem(java.lang.Object)
public int getTabGroupIndex(TabButtonInterface tab)
getTabGroupIndex
in interface TabBarInterface
tab
- the tab to determine which group it is in
setSelectedItem(java.lang.Object)
public java.awt.Dimension getTabSize()
setTabSize(java.awt.Dimension)
public int getTopMargin()
public void initialize()
ComponentInterface
initialize() should be called on a component after is it constructed :
ListBox listBox = new ListBox(); listBox.initialize(); container.add( listBox );
Overriding initialize is now discouraged since it is generally better to override setDefaultValues and readObject to perform initialization.
By default (in the ComponentInterface implementation), initialize() does nothing. However, various components override initialize() to perform operations, and it should be called.
Although use of initialize() is now discouraged, initialize() is also called by the validateObject method after a component is deserialized. This allows components which need processing during creation and deserialization to have a common place to perform operations. Adding event handlers to subcomponents is a typical use of the initialize method.
initialize
in interface com.sas.ComponentInterface
initialize
in class PanelVisualComponent
ComponentInterface.initialize()
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
public void paint(java.awt.Graphics g)
paint
in class PanelVisualComponent
VisualInterfaceSupport.paint(com.sas.ComponentInterface, com.sas.awt.VisualInterface, java.awt.Component, java.awt.Graphics)
protected void paintRowBorder(java.awt.Graphics g)
g
- the Graphics contentsprotected void processEvent(java.awt.AWTEvent e)
processEvent
in class java.awt.Container
protected void processActionEvent(java.awt.event.ActionEvent e)
protected void processItemEvent(java.awt.event.ItemEvent e)
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class PanelVisualComponent
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)
public void validateObject()
validateObject
in interface java.io.ObjectInputValidation
validateObject
in class PanelVisualComponent
ComponentInterfaceSupport.validateObject(com.sas.ComponentInterface)
public void refresh(com.sas.ModelInterface model)
refresh
in interface com.sas.ViewInterface
refresh
in class PanelVisualComponent
model
- Model that has just been updatedViewInterface.refresh(com.sas.ModelInterface)
public void removeActionListener(java.awt.event.ActionListener listener)
removeActionListener
in interface ActionSource
listener
- the ActionEvent listeneraddActionListener(java.awt.event.ActionListener)
public void removeItemListener(java.awt.event.ItemListener listener)
removeItemListener
in interface java.awt.ItemSelectable
listener
- the itemEvent listeneraddItemListener(java.awt.event.ItemListener)
public void remove(java.awt.Component comp)
remove
in interface TabBarInterface
remove
in class Panel
comp
- the component to remove from the TabBarpublic void remove(int index)
remove
in class Panel
index
- index of the tab to removepublic void removeItem(java.lang.Object item)
removeItem
in interface TabBarInterface
item
- the item property of the TabButtonInterface object to removepublic void removeAll()
removeAll
in interface TabBarInterface
removeAll
in class Panel
protected void reorderComponents()
public void setBackground(java.awt.Color c)
setBackground
in class java.awt.Component
c
- the new background colorpublic void setForeground(java.awt.Color c)
setForeground
in class java.awt.Component
c
- the new foreground colorpublic void setBottomMargin(int margin)
margin
- the new bottomMargingetBottomMargin()
public void setDefaultValues()
setDefaultValues
in interface ContainerInterface
setDefaultValues
in interface VisualInterface
setDefaultValues
in interface com.sas.ComponentInterface
setDefaultValues
in class CompositePanel
ContainerInterface.setDefaultValues()
public void setDisplayTransform(com.sas.util.transforms.TransformInterface transform)
transform
- the displayTransformgetDisplayTransform()
public void setFillFrom(int direction)
direction
- a com.sas.visuals.Direction valueDirection
public void setInputTransform(com.sas.util.transforms.TransformInterface transform)
transform
- the inputTransformgetInputTransform()
public void setJustification(int justify)
justify
- a justification value of: BEGIN, CENTER, END, or FULL.getJustification()
,
Justification
public void setLeftMargin(int margin)
margin
- the leftMargingetLeftMargin()
public void setOrientation(int orient)
setOrientation
in interface TabBarInterface
orient
- an orientation value: TOP, BOTTOM, LEFT, or RIGHTgetOrientation()
public void setOutputTransform(com.sas.util.transforms.TransformInterface transform)
transform
- the outputTransformgetOutputTransform()
public void setRightMargin(int margin)
margin
- the rightMargingetRightMargin()
public void setRowBorder(BorderInterface border)
setRowBorder
in interface TabBarInterface
border
- the border drawn for each rowgetRowBorder()
public void setRowSpacing(int spacing)
spacing
- the pixel space between the rows of tabsgetRowSpacing()
public void setSelectedIndex(int index)
setSelectedIndex
in interface TabBarInterface
index
- the index of the tab to selectgetSelectedIndex()
public void setSelectedItem(java.lang.Object item)
setSelectedItem
in interface TabBarInterface
item
- the item property of the tab to selectgetSelectedItem()
public void setSelectionGroup(SelectionGroupInterface selectionGrp)
selectionGrp
- the selectionGrp for all tabs to belong togetSelectionGroup()
public void setSizing(int sizing)
sizing
- a com.sas.visuals.Sizing value: PROPORTIONAL or UNIFORMSizing
public void setTabSpacing(int spacing)
spacing
- the pixel space between the tabsgetTabSpacing()
public void setSpinButtonGap(int gap)
gap
- the pixel gap between the spinButton and the tabsgetSpinButtonGap()
public void setSpinButtonAlignment(int align)
align
- an alignment value of: TOP, LEFT, BOTTOM, or TOPgetSpinButtonAlignment()
protected void setSpinButtonOrientation(int orient)
orient
- the orientation of the spinButton when SCROLLABLE style is used.getSpinButtonOrientation()
public void setStartIndex(int start)
start
- the index of the starting tabgetStartIndex()
public void setStyle(int newStyle)
setStyle
in interface TabBarInterface
newStyle
- a style value: SCROLLABLE or MULTIGROUPgetStyle()
public void setTabButtonClass(java.lang.Class tClass)
setTabButtonClass
in interface TabBarInterface
tClass
- the class of the tab to create by defaultpublic void setEnabled(boolean enabled)
setEnabled
in interface VisualInterface
setEnabled
in class PanelVisualComponent
enabled
- if true the TabBar is enabled; otherwise it is disabledVisualInterface.setEnabled(boolean)
public void setTabEnabled(boolean enabled, java.lang.Object item)
setTabEnabled
in interface TabBarInterface
enabled
- the enabled state of the tabitem
- the item property of the tab to set the enabled property of.public void setTabEnabled(boolean enabled, int index)
setTabEnabled
in interface TabBarInterface
enabled
- the enabled state of the tabindex
- the index of the tab to set the enabled property of.public void setTabSize(java.awt.Dimension size)
size
- the size of the tabsgetTabSize()
public void setTabVisible(boolean visible, java.lang.Object item)
setTabVisible
in interface TabBarInterface
visible
- the visible state of the tabitem
- the item property of the tab to set the visible property of.public void setTabVisible(boolean visible, int index)
setTabVisible
in interface TabBarInterface
visisble
- the visisble state of the tabindex
- the index of the tab to set the visisble property of.public void setTopMargin(int margin)
margin
- the topMarginpublic void update(java.awt.Graphics g)
update
in class PanelVisualComponent
VisualInterfaceSupport.update(com.sas.ComponentInterface, com.sas.awt.VisualInterface, java.awt.Component, java.awt.Graphics)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |