Save This Page
Home » openjdk-7 » java » awt » peer » [javadoc | source]
java.awt.peer
public interface: ScrollPanePeer [javadoc | source]

All Implemented Interfaces:
    ContainerPeer

The peer interface for ScrollPane . The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
Method from java.awt.peer.ScrollPanePeer Summary:
childResized,   getHScrollbarHeight,   getVScrollbarWidth,   setScrollPosition,   setUnitIncrement,   setValue
Method from java.awt.peer.ScrollPanePeer Detail:
 public  void childResized(int w,
    int h)
    Called when the child component changes its size.
 public int getHScrollbarHeight()
    Returns the height of the horizontal scroll bar.
 public int getVScrollbarWidth()
    Returns the width of the vertical scroll bar.
 public  void setScrollPosition(int x,
    int y)
    Sets the scroll position of the child.
 public  void setUnitIncrement(Adjustable adj,
    int u)
    Sets the unit increment of one of the scroll pane's adjustables.
 public  void setValue(Adjustable adj,
    int v)
    Sets the value for one of the scroll pane's adjustables.