com.explodingpixels.macwidgets
Class IAppWidgetFactory

java.lang.Object
  extended by com.explodingpixels.macwidgets.IAppWidgetFactory

public class IAppWidgetFactory
extends java.lang.Object

A factory for iApp style widgets.


Method Summary
static javax.swing.JScrollPane createScrollPaneWithButtonsTogether(java.awt.Component view)
          Creates an iApp style JScrollPane, with vertical and horizontal scrollbars shown as needed.
static javax.swing.JScrollPane createScrollPaneWithButtonsTogether(java.awt.Component view, int verticalScrollBarPolicy, int horizontalScrollBarPolicy)
          Creates an iApp style JScrollPane using the given scroll bar policies.
static javax.swing.JScrollPane makeIAppScrollPane(javax.swing.JScrollPane scrollPane)
          Makes the given JScrollPane an iApp style scroll pane that looks like this:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createScrollPaneWithButtonsTogether

public static javax.swing.JScrollPane createScrollPaneWithButtonsTogether(java.awt.Component view)
Creates an iApp style JScrollPane, with vertical and horizontal scrollbars shown as needed.

Parameters:
view - the view to wrap inside the JScrollPane.
Returns:
an iApp style JScrollPane.
See Also:
makeIAppScrollPane(javax.swing.JScrollPane)

createScrollPaneWithButtonsTogether

public static javax.swing.JScrollPane createScrollPaneWithButtonsTogether(java.awt.Component view,
                                                                          int verticalScrollBarPolicy,
                                                                          int horizontalScrollBarPolicy)
Creates an iApp style JScrollPane using the given scroll bar policies.

Parameters:
view - the view to wrap inside the JScrollPane.
verticalScrollBarPolicy - the vertical scroll bar policy.
horizontalScrollBarPolicy - the horizontal scroll bar policy.
Returns:
an iApp style JScrollPane using the given scroll bar policies.
See Also:
makeIAppScrollPane(javax.swing.JScrollPane)

makeIAppScrollPane

public static javax.swing.JScrollPane makeIAppScrollPane(javax.swing.JScrollPane scrollPane)
Makes the given JScrollPane an iApp style scroll pane that looks like this:

Parameters:
scrollPane - the JScrollPane to make an iApp style scroll pane.
Returns:
an iApp style scroll pane.