|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JTabbedPane | +--com.ibm.dse.gui.SpTabbedPane
The SpTabbedPane class is a Bean that provides a tabbed view for other components.
Inner classes inherited from class javax.swing.JTabbedPane |
javax.swing.JTabbedPane.AccessibleJTabbedPane,
javax.swing.JTabbedPane.ModelListener |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JTabbedPane |
changeEvent,
changeListener,
model,
tabPlacement |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
SpTabbedPane()
This constructor creates a SpTabbedPane object. |
|
SpTabbedPane(int tabPlacement)
Creates an empty SpTabbedPane with the specified tab placement of either: TOP, BOTTOM, LEFT, or RIGHT. |
Method Summary | |
void |
clear(java.lang.String typeClear)
For each EmbeddedPanel component will execute clear method. |
boolean |
getActivatedOkKey()
Gets the activatedOkKey property (boolean) value. |
java.lang.String |
getHelpID()
Gets the helpID property (java.lang.String) value. |
static SpTabbedPane |
getSpTabbedPane(java.awt.Component c)
Components can use this method to reach the SpTabbedPane they are inside. |
static SpTabbedPane |
getSpTabbedPaneParent(java.awt.Component c)
Components can use this method to reach the SpTabbedPane they are inside. |
void |
insertTab(java.lang.String title,
javax.swing.Icon icon,
java.awt.Component component,
java.lang.String tip,
int index)
Inserts a component, at index, represented by a title and/or icon, either of which may be null. |
void |
keyPressed(java.awt.event.KeyEvent e)
Handles events for the KeyListener interface. |
void |
repeat()
For each EmbeddedPanel component will execute repeat method. |
void |
setActivatedOkKey(boolean activatedOkKey)
Sets the activatedOkKey property (boolean) value. |
void |
setEnabled(boolean b)
Enables or disables this component and all of its components, depending on the value of the parameter b . |
void |
setHelpID(java.lang.String helpID)
Sets the helpID property (java.lang.String) value. |
Methods inherited from class javax.swing.JTabbedPane |
add,
add,
add,
add,
add,
addChangeListener,
addTab,
addTab,
addTab,
createChangeListener,
fireStateChanged,
getAccessibleContext,
getBackgroundAt,
getBoundsAt,
getComponentAt,
getDisabledIconAt,
getForegroundAt,
getIconAt,
getModel,
getSelectedComponent,
getSelectedIndex,
getTabCount,
getTabPlacement,
getTabRunCount,
getTitleAt,
getToolTipText,
getUI,
getUIClassID,
indexOfComponent,
indexOfTab,
indexOfTab,
isEnabledAt,
paramString,
remove,
removeAll,
removeChangeListener,
removeTabAt,
setBackgroundAt,
setComponentAt,
setDisabledIconAt,
setEnabledAt,
setForegroundAt,
setIconAt,
setModel,
setSelectedComponent,
setSelectedIndex,
setTabPlacement,
setTitleAt,
setUI,
updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addNotify,
addPropertyChangeListener,
addPropertyChangeListener,
addVetoableChangeListener,
computeVisibleRect,
contains,
createToolTip,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getMinimumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paint,
paintBorder,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processComponentKeyEvent,
processFocusEvent,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
setVisible,
unregisterKeyboardAction,
update |
Methods inherited from class java.awt.Container |
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public SpTabbedPane()
public SpTabbedPane(int tabPlacement)
tabPlacement
- the placement for the tabs relative to the contentMethod Detail |
public void clear(java.lang.String typeClear)
typeClear
- String, One of the following constants defined in DataDirectionEditor: public boolean getActivatedOkKey()
setActivatedOkKey(boolean)
public java.lang.String getHelpID()
setHelpID(java.lang.String)
public static SpTabbedPane getSpTabbedPane(java.awt.Component c)
c
- java.awt.Component, the component.public static SpTabbedPane getSpTabbedPaneParent(java.awt.Component c)
c
- java.awt.Component, the component.public void insertTab(java.lang.String title, javax.swing.Icon icon, java.awt.Component component, java.lang.String tip, int index)
title
- the title to be displayed in this tabicon
- the icon to be displayed in this tabcomponent
- The component to be displayed when this tab is clicked.tip
- the tooltip to be displayed for this tabindex
- the position to insert this new tabpublic void keyPressed(java.awt.event.KeyEvent e)
e
- java.awt.event.KeyEventpublic void repeat()
public void setActivatedOkKey(boolean activatedOkKey)
activatedOkKey
- The new value for the property.getActivatedOkKey()
public void setEnabled(boolean b)
b
. An enabled component can
respond to user input and generate events. Components are enabled initially
by default.b
- If true
, this component is
enabled; otherwise this component is disabled.public void setHelpID(java.lang.String helpID)
helpID
- String, the new value for the property.getHelpID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |