com.jgoodies.looks
Class BorderStyle
java.lang.Object
com.jgoodies.looks.BorderStyle
public final class BorderStyle
extends java.lang.Object
Describes the border styles for JMenuBar and JToolBar. Border styles are
look-dependent and shadow look-independent HeaderStyle
s.
static BorderStyle | from(JMenuBar menuBar, String clientPropertyKey) - Looks up the client property for the header style from the JMenuBar.
|
static BorderStyle | from(JToolBar toolBar, String clientPropertyKey) - Looks up the client property for the header style from the JToolBar.
|
String | toString()
|
from
public static BorderStyle from(JMenuBar menuBar,
String clientPropertyKey)
Looks up the client property for the header style from the JMenuBar.
menuBar
- the menu bar to inspectclientPropertyKey
- the key used to lookup the property
- the border style used to choose a border in the UI delegate
from
public static BorderStyle from(JToolBar toolBar,
String clientPropertyKey)
Looks up the client property for the header style from the JToolBar.
toolBar
- the tool bar to inspectclientPropertyKey
- the key used to lookup the property
- the border style used to choose a border in the UI delegate
toString
public String toString()
Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.