|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.explodingpixels.macwidgets.IAppWidgetFactory
public class IAppWidgetFactory
A factory for iApp style widgets.
Method Summary | |
---|---|
static JScrollPane |
createScrollPane(Component view)
Creates an iApp style JScrollPane , with vertical and horizontal scrollbars shown as
needed. |
static JScrollPane |
createScrollPane(Component view,
int verticalScrollBarPolicy,
int horizontalScrollBarPolicy)
Creates an iApp style JScrollPane using the given scroll bar policies. |
static JComponent |
createScrollPaneCorner()
Creates an iApp style scrollpane corner. |
static JScrollPane |
makeIAppScrollPane(JScrollPane scrollPane)
Makes the given JScrollPane an iApp style scroll pane that looks like this:
![]() |
static void |
setIAppScrollBarButtonsSeparate(boolean buttonsApart)
Sets the default "buttons separate" status for scroll bars. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JScrollPane createScrollPane(Component view)
JScrollPane
, with vertical and horizontal scrollbars shown as
needed. The increment/decrement buttons will be placed together or separatebased on the value
of IAppScrollBarUI.areButtonsSeparate()
.
view
- the view to wrap inside the JScrollPane
.
JScrollPane
.makeIAppScrollPane(javax.swing.JScrollPane)
public static JScrollPane createScrollPane(Component view, int verticalScrollBarPolicy, int horizontalScrollBarPolicy)
JScrollPane
using the given scroll bar policies. The
increment/decrement buttons will be placed together or separatebased on the value of
IAppScrollBarUI.areButtonsSeparate()
.
view
- the view to wrap inside the JScrollPane
.verticalScrollBarPolicy
- the vertical scroll bar policy.horizontalScrollBarPolicy
- the horizontal scroll bar policy.
JScrollPane
using the given scroll bar policies.makeIAppScrollPane(javax.swing.JScrollPane)
public static JScrollPane makeIAppScrollPane(JScrollPane scrollPane)
JScrollPane
an iApp style scroll pane that looks like this:
scrollPane
- the JScrollPane
to make an iApp style scroll pane.
public static void setIAppScrollBarButtonsSeparate(boolean buttonsApart)
false
, meaning that the buttons will be placed together at the right or bottom of the
scroll bar. A value of true
means that the buttons will be placed at opposite ends of
the scroll bar.
buttonsApart
- the "buttons apart" status.public static JComponent createScrollPaneCorner()
JComponent
that represents the scroll pane corner.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |