|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.apache.batik.apps.svgbrowser.PreferenceDialog.JConfigurationPanel
protected class PreferenceDialog.JConfigurationPanel
A paged panel for configuration windows.
Nested Class Summary | |
---|---|
protected class |
PreferenceDialog.JConfigurationPanel.ResizingCardLayout
A CardLayout that returns a preferred height based on the currently displayed component. |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected ButtonGroup |
group
The button group for the configuration page buttons. |
protected CardLayout |
layout
The layout manager for the configuration pages. |
protected int |
page
The currently selected page. |
protected JPanel |
panel
The panel that holds the configuration pages. |
protected JToolBar |
toolbar
The toolbar that allows selection between the pages. |
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 |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
PreferenceDialog.JConfigurationPanel()
Creates a new JConfigurationPanel. |
Method Summary | |
---|---|
void |
addPanel(String text,
Icon icon,
Icon icon2,
JPanel p)
Adds a panel to this configuration panel. |
protected int |
getComponentIndex(Component c)
Returns the index of the given configuration page. |
protected void |
select(JToggleButton b)
Updates the style of the given button to indicate that it is selected. |
protected void |
unselect(JToggleButton b)
Updates the style of the given button to indicate that it is unselected. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected JToolBar toolbar
protected JPanel panel
protected CardLayout layout
protected ButtonGroup group
protected int page
Constructor Detail |
---|
public PreferenceDialog.JConfigurationPanel()
Method Detail |
---|
public void addPanel(String text, Icon icon, Icon icon2, JPanel p)
text
- the text to use on the toolbar buttonicon
- the icon to use on the toolbar buttonicon2
- the icon to use on the toolbar button when the mouse
button is held downp
- the configuration panel pageprotected int getComponentIndex(Component c)
protected void select(JToggleButton b)
protected void unselect(JToggleButton b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |