com.jaxfront.swing.ui.beans
Class Scrolling

java.lang.Object
  extended by com.jaxfront.swing.ui.beans.Scrolling

public abstract class Scrolling
extends java.lang.Object


Field Summary
static int BOTTOM
           
static int CENTER
           
static int FIRST
           
static int HCENTER
           
static int LAST
           
static int LEFT
           
static int NONE
           
static int RIGHT
           
static int TOP
           
static int UNCHANGED
           
static int VCENTER
           
static int VIEWPORT
           
 
Method Summary
static void center(javax.swing.JComponent c, java.awt.Rectangle r, boolean withInsets)
           
static void centerHorizontally(javax.swing.JComponent c, int from, int to, boolean withInsets)
           
static void centerHorizontally(javax.swing.JComponent c, java.awt.Rectangle r, boolean withInsets)
           
static void centerVertically(javax.swing.JComponent c, int from, int to, boolean withInsets)
           
static void centerVertically(javax.swing.JComponent c, java.awt.Rectangle r, boolean withInsets)
           
static boolean isHorizontallyVisible(javax.swing.JComponent c, int from, int to)
           
static boolean isHorizontallyVisible(javax.swing.JComponent c, java.awt.Rectangle r)
           
static boolean isVerticallyVisible(javax.swing.JComponent c, int from, int to)
           
static boolean isVerticallyVisible(javax.swing.JComponent c, java.awt.Rectangle r)
           
static boolean isVisible(javax.swing.JComponent c, java.awt.Rectangle r)
           
static void scroll(javax.swing.JComponent c, int part)
           
static void scroll(javax.swing.JComponent c, int horizontal, int vertical)
           
static void scroll(javax.swing.JComponent c, java.awt.Rectangle r, int bias)
           
static void scroll(javax.swing.JComponent c, java.awt.Rectangle r, int horizontalBias, int verticalBias)
           
static void scrollHorizontally(javax.swing.JComponent c, int from, int to)
           
static void scrollHorizontally(javax.swing.JComponent c, int from, int to, int bias)
           
static void scrollHorizontally(javax.swing.JComponent c, java.awt.Rectangle r)
           
static void scrollHorizontally(javax.swing.JComponent c, java.awt.Rectangle r, int bias)
           
static void scrollVertically(javax.swing.JComponent c, int from, int to)
           
static void scrollVertically(javax.swing.JComponent c, int from, int to, int bias)
           
static void scrollVertically(javax.swing.JComponent c, java.awt.Rectangle r)
           
static void scrollVertically(javax.swing.JComponent c, java.awt.Rectangle r, int bias)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEWPORT

public static final int VIEWPORT
See Also:
Constant Field Values

UNCHANGED

public static final int UNCHANGED
See Also:
Constant Field Values

FIRST

public static final int FIRST
See Also:
Constant Field Values

CENTER

public static final int CENTER
See Also:
Constant Field Values

LAST

public static final int LAST
See Also:
Constant Field Values

NONE

public static final int NONE
See Also:
Constant Field Values

TOP

public static final int TOP
See Also:
Constant Field Values

VCENTER

public static final int VCENTER
See Also:
Constant Field Values

BOTTOM

public static final int BOTTOM
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

HCENTER

public static final int HCENTER
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values
Method Detail

scroll

public static void scroll(javax.swing.JComponent c,
                          int part)

scroll

public static void scroll(javax.swing.JComponent c,
                          int horizontal,
                          int vertical)

scroll

public static void scroll(javax.swing.JComponent c,
                          java.awt.Rectangle r,
                          int bias)

scroll

public static void scroll(javax.swing.JComponent c,
                          java.awt.Rectangle r,
                          int horizontalBias,
                          int verticalBias)

scrollHorizontally

public static void scrollHorizontally(javax.swing.JComponent c,
                                      java.awt.Rectangle r)

scrollHorizontally

public static void scrollHorizontally(javax.swing.JComponent c,
                                      int from,
                                      int to)

scrollHorizontally

public static void scrollHorizontally(javax.swing.JComponent c,
                                      java.awt.Rectangle r,
                                      int bias)

scrollHorizontally

public static void scrollHorizontally(javax.swing.JComponent c,
                                      int from,
                                      int to,
                                      int bias)

scrollVertically

public static void scrollVertically(javax.swing.JComponent c,
                                    java.awt.Rectangle r)

scrollVertically

public static void scrollVertically(javax.swing.JComponent c,
                                    int from,
                                    int to)

scrollVertically

public static void scrollVertically(javax.swing.JComponent c,
                                    java.awt.Rectangle r,
                                    int bias)

scrollVertically

public static void scrollVertically(javax.swing.JComponent c,
                                    int from,
                                    int to,
                                    int bias)

center

public static void center(javax.swing.JComponent c,
                          java.awt.Rectangle r,
                          boolean withInsets)

centerHorizontally

public static void centerHorizontally(javax.swing.JComponent c,
                                      java.awt.Rectangle r,
                                      boolean withInsets)

centerHorizontally

public static void centerHorizontally(javax.swing.JComponent c,
                                      int from,
                                      int to,
                                      boolean withInsets)

centerVertically

public static void centerVertically(javax.swing.JComponent c,
                                    java.awt.Rectangle r,
                                    boolean withInsets)

centerVertically

public static void centerVertically(javax.swing.JComponent c,
                                    int from,
                                    int to,
                                    boolean withInsets)

isVisible

public static boolean isVisible(javax.swing.JComponent c,
                                java.awt.Rectangle r)

isHorizontallyVisible

public static boolean isHorizontallyVisible(javax.swing.JComponent c,
                                            int from,
                                            int to)

isHorizontallyVisible

public static boolean isHorizontallyVisible(javax.swing.JComponent c,
                                            java.awt.Rectangle r)

isVerticallyVisible

public static boolean isVerticallyVisible(javax.swing.JComponent c,
                                          int from,
                                          int to)

isVerticallyVisible

public static boolean isVerticallyVisible(javax.swing.JComponent c,
                                          java.awt.Rectangle r)