public final class BorderStyle
extends java.lang.Object
HeaderStyles.HeaderStyle| Modifier and Type | Field and Description |
|---|---|
static BorderStyle |
EMPTY |
static BorderStyle |
ETCHED |
private java.lang.String |
name |
static BorderStyle |
SEPARATOR |
| Modifier | Constructor and Description |
|---|---|
private |
BorderStyle(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static BorderStyle |
from(javax.swing.JMenuBar menuBar,
java.lang.String clientPropertyKey)
Looks up the client property for the header style from the JMenuBar.
|
static BorderStyle |
from(javax.swing.JToolBar toolBar,
java.lang.String clientPropertyKey)
Looks up the client property for the header style from the JToolBar.
|
private static BorderStyle |
from0(javax.swing.JComponent c,
java.lang.String clientPropertyKey)
Looks up the client property for the header style from the specified
JComponent.
|
java.lang.String |
toString() |
private static BorderStyle |
valueOf(java.lang.String name) |
public static final BorderStyle EMPTY
public static final BorderStyle SEPARATOR
public static final BorderStyle ETCHED
private final java.lang.String name
public static BorderStyle from(javax.swing.JToolBar toolBar, java.lang.String clientPropertyKey)
toolBar - the tool bar to inspectclientPropertyKey - the key used to lookup the propertypublic static BorderStyle from(javax.swing.JMenuBar menuBar, java.lang.String clientPropertyKey)
menuBar - the menu bar to inspectclientPropertyKey - the key used to lookup the propertyprivate static BorderStyle from0(javax.swing.JComponent c, java.lang.String clientPropertyKey)
c - the compoent to inspectclientPropertyKey - the key used to lookup the propertyprivate static BorderStyle valueOf(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Object