|
||||||||||
| 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
ucar.unidata.ui.ButtonTabbedPane
public class ButtonTabbedPane
This is a vast catchall class to old various utilities for doing GUI things.
| Nested Class Summary | |
|---|---|
static class |
ButtonTabbedPane.ComponentPanel
Class ComponentPanel _more_ |
| 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 | |
|---|---|
static Color |
BUTTON_FG_COLOR
_more_ |
static Color |
BUTTON_LINE_COLOR
_more_ |
static Color |
BUTTON_ON_COLOR
_more_ |
| 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 | |
|---|---|
ButtonTabbedPane()
_more_ |
|
ButtonTabbedPane(int width)
_more_ |
|
ButtonTabbedPane(JComponent label)
_more_ |
|
ButtonTabbedPane(JComponent label,
int width)
_more_ |
|
| Method Summary | |
|---|---|
void |
addTab(JToggleButton button,
Component contents)
_more_ |
JToggleButton |
addTab(String label,
Component contents)
_more_ |
Image |
getIcon()
_more_ |
String |
getTitleAt(int i)
_more_ |
boolean |
imageUpdate(Image img,
int flags,
int x,
int y,
int width,
int height)
_more_ |
protected void |
paintButton(Graphics g,
AbstractButton button)
_more_ |
void |
remove(JToggleButton button,
Component contents)
_more_ |
void |
selectTabForComponent(Component comp)
Select the tab that holds the component. |
void |
setDeleteEnabled(boolean b)
_more_ |
void |
setSelectedIndex(int i)
_more_ |
void |
show(Component content)
_more_ |
| 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 |
|---|
public static final Color BUTTON_FG_COLOR
public static final Color BUTTON_ON_COLOR
public static final Color BUTTON_LINE_COLOR
| Constructor Detail |
|---|
public ButtonTabbedPane()
public ButtonTabbedPane(int width)
width - _more_public ButtonTabbedPane(JComponent label)
label - _more_
public ButtonTabbedPane(JComponent label,
int width)
label - _more_width - _more_| Method Detail |
|---|
public Image getIcon()
protected void paintButton(Graphics g,
AbstractButton button)
g - _more_button - _more_
public boolean imageUpdate(Image img,
int flags,
int x,
int y,
int width,
int height)
imageUpdate in interface ImageObserverimageUpdate in class Componentimg - _more_flags - _more_x - _more_y - _more_width - _more_height - _more_
public void setSelectedIndex(int i)
i - _more_public String getTitleAt(int i)
i - _more_
public void show(Component content)
content - _more_
public void remove(JToggleButton button,
Component contents)
button - _more_contents - _more_public void selectTabForComponent(Component comp)
comp - component in the hierarchy of the tabs main component
public JToggleButton addTab(String label,
Component contents)
label - _more_contents - _more_
public void setDeleteEnabled(boolean b)
b - _more_
public void addTab(JToggleButton button,
Component contents)
button - _more_contents - _more_
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||