public final class HeaderStyle
extends java.lang.Object
BorderStyle.BorderStyle| Modifier and Type | Field and Description |
|---|---|
static HeaderStyle |
BOTH |
private java.lang.String |
name |
static HeaderStyle |
SINGLE |
| Modifier | Constructor and Description |
|---|---|
private |
HeaderStyle(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static HeaderStyle |
from(javax.swing.JMenuBar menuBar)
Looks up the client property for the
HeaderStyle
from the JToolBar. |
static HeaderStyle |
from(javax.swing.JToolBar toolBar)
Looks up the client property for the
HeaderStyle
from the JToolBar. |
private static HeaderStyle |
from0(javax.swing.JComponent c)
Looks up the client property for the
HeaderStyle
from the specified JComponent. |
java.lang.String |
toString() |
private static HeaderStyle |
valueOf(java.lang.String name)
Looks up and answers the
HeaderStyle with the specified name. |
public static final HeaderStyle SINGLE
public static final HeaderStyle BOTH
private final java.lang.String name
public static HeaderStyle from(javax.swing.JMenuBar menuBar)
HeaderStyle
from the JToolBar.menuBar - the menu bar to inspectpublic static HeaderStyle from(javax.swing.JToolBar toolBar)
HeaderStyle
from the JToolBar.toolBar - the tool bar to inspectprivate static HeaderStyle from0(javax.swing.JComponent c)
HeaderStyle
from the specified JComponent.c - the component to inspectprivate static HeaderStyle valueOf(java.lang.String name)
HeaderStyle with the specified name.name - the name of the HeaderStyle object to lookuppublic java.lang.String toString()
toString in class java.lang.Object