|
SilverStream Application Server 3.5 |
||||||||
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.sssw.rt.jform.AgcJTabbedPane
A lightweight container control that organizes the components of the user interface on several layered panes. The user clicks on tabs along the edge to select among the panes. AgcJTabbedPane can contain any of the SilverStream and Swing controls.
AgcJTabbedPane extends the basic Swing JTabbedPane to
provide additional
color settings. The definitions of these parameters are:
There is also a "highlight" color in BasicTabbedPaneUI, but it
is not used as of JDK 1.2.2. Note that "lightHighlightColor" is
called "Highlight Color" in the user interface guidelines.
Inner classes inherited from class javax.swing.JTabbedPane |
JTabbedPane.AccessibleJTabbedPane,
JTabbedPane.ModelListener |
Inner classes inherited from class javax.swing.JComponent |
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 | |
AgcJTabbedPane()
Creates a tabbed pane with tabs on the top edge. |
|
AgcJTabbedPane(int tabPlacement)
Creates a tabbed pane with tabs on the specified edge. |
Method Summary | |
Color |
getDarkShadowColor()
Gets the darkShadowColor. |
Color |
getInactiveTabColor()
Gets the inactiveTabColor. |
Color |
getLightHighlightColor()
Gets the hightlightColor. |
Color |
getShadowColor()
Gets the shadowColor. |
void |
setColors(Color backgroundColor,
Color lightHighlightColor,
Color shadowColor,
Color darkShadowColor,
Color inactiveTabColor)
Sets all the shading colors for the control. |
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,
printComponents,
processContainerEvent,
processEvent,
remove,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Methods implemented from interface com.sssw.rt.form.AgiHelpInfo |
getHelpInfo,
setHelpInfo |
Constructor Detail |
public AgcJTabbedPane()
public AgcJTabbedPane(int tabPlacement)
tabPlacement
- the side of the control on which the tabs appear.
Possible values are defined in the SwingConstants
interface:
Method Detail |
public void setColors(Color backgroundColor, Color lightHighlightColor, Color shadowColor, Color darkShadowColor, Color inactiveTabColor)
For a description of the color parameters, see the parameter definitions in the overview of AgcJTabbedPane.
backgroundColor
- a Color objectlightHighlightColor
- a Color objectshadowColor
- a Color objectdarkShadowColor
- a Color objectinactiveTabColor
- a Color objectTab1.setColors( new Color(240, 240, 200), new Color(240, 240, 230), Color.darkGray, Color.black, Color.lightGray );
AgcJTabbedPane.getDarkShadowColor()
,
AgcJTabbedPane.getInactiveTabColor()
,
AgcJTabbedPane.getLightHighlightColor()
,
AgcJTabbedPane.getShadowColor()
public Color getLightHighlightColor()
For a description of the color parameters, see the parameter definitions in the overview of AgcJTabbedPane.
AgcJTabbedPane.setColors(Color, Color, Color, Color, Color)
public Color getShadowColor()
For a description of the color parameters, see the parameter definitions in the overview of AgcJTabbedPane.
AgcJTabbedPane.setColors(Color, Color, Color, Color, Color)
public Color getDarkShadowColor()
For a description of the color parameters, see the parameter definitions in the overview of AgcJTabbedPane.
AgcJTabbedPane.setColors(Color, Color, Color, Color, Color)
public Color getInactiveTabColor()
For a description of the color parameters, see the parameter definitions in the overview of AgcJTabbedPane.
AgcJTabbedPane.setColors(Color, Color, Color, Color, Color)
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |