|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.keang.swingaddons.FocusAutoScroller
public class FocusAutoScroller
Listener to keep track of the components as they are added and removed from this wizard page.
Nested Class Summary | |
---|---|
static class |
FocusAutoScroller.BiasH
|
static class |
FocusAutoScroller.BiasV
|
static class |
FocusAutoScroller.ViewComponent
|
Constructor Summary | |
---|---|
FocusAutoScroller(javax.swing.JScrollPane scrollPane)
Creates a scroller for this scroll pane based on each child component with horizontal bias of right and vertical bias of center |
|
FocusAutoScroller(javax.swing.JScrollPane scrollPane,
FocusAutoScroller.ViewComponent comp,
FocusAutoScroller.BiasH h,
FocusAutoScroller.BiasV v)
|
Method Summary | |
---|---|
void |
componentAdded(java.awt.event.ContainerEvent e)
|
void |
componentRemoved(java.awt.event.ContainerEvent e)
|
FocusAutoScroller.BiasH |
getHorizontalBias()
Gets the horizontal bias |
java.awt.Insets |
getScrollInsets()
Gets the insets applied when auto scrolling |
FocusAutoScroller.BiasV |
getVerticalBias()
Gets the vertical bias |
void |
setHorizontalBias(FocusAutoScroller.BiasH align)
Sets the horizontal bias |
void |
setScrollInsets(java.awt.Insets ins)
Sets the insets to apply when auto scrolling |
void |
setScrollInsets(int top,
int left,
int bottom,
int right)
Sets the insets to apply when auto scrolling |
void |
setVerticalBias(FocusAutoScroller.BiasV align)
Sets the vertical bias |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FocusAutoScroller(javax.swing.JScrollPane scrollPane)
scrollPane
- the scrollpane to scroll.public FocusAutoScroller(javax.swing.JScrollPane scrollPane, FocusAutoScroller.ViewComponent comp, FocusAutoScroller.BiasH h, FocusAutoScroller.BiasV v)
Method Detail |
---|
public java.awt.Insets getScrollInsets()
public void setScrollInsets(java.awt.Insets ins)
ins
- the insetspublic void setScrollInsets(int top, int left, int bottom, int right)
top
- left
- bottom
- right
- public void componentAdded(java.awt.event.ContainerEvent e)
componentAdded
in interface java.awt.event.ContainerListener
public void componentRemoved(java.awt.event.ContainerEvent e)
componentRemoved
in interface java.awt.event.ContainerListener
public void setHorizontalBias(FocusAutoScroller.BiasH align)
align
- the biaspublic FocusAutoScroller.BiasH getHorizontalBias()
public void setVerticalBias(FocusAutoScroller.BiasV align)
the
- biaspublic FocusAutoScroller.BiasV getVerticalBias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |