java.awt.peer
Interface ScrollPanePeer

All Superinterfaces:
ComponentPeer, ContainerPeer

public interface ScrollPanePeer
extends ContainerPeer

Disabled: no SafeJ information.

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.


Field Summary
 
Fields inherited from interface java.awt.peer.ComponentPeer
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
 
Method Summary
 void childResized(int w, int h)
          Called when the child component changes its size.
 int getHScrollbarHeight()
          Returns the height of the horizontal scroll bar.
 int getVScrollbarWidth()
          Returns the width of the vertical scroll bar.
 void setScrollPosition(int x, int y)
          Sets the scroll position of the child.
 void setUnitIncrement(Adjustable adj, int u)
          Sets the unit increment of one of the scroll pane's adjustables.
 void setValue(Adjustable adj, int v)
          Sets the value for one of the scroll pane's adjustables.
 
Methods inherited from interface java.awt.peer.ContainerPeer
beginLayout, beginValidate, endLayout, endValidate, getInsets
 
Methods inherited from interface java.awt.peer.ComponentPeer
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, setZOrder, updateCursorImmediately, updateGraphicsData
 

Method Detail

getHScrollbarHeight

int getHScrollbarHeight()
Class is disabled.

Returns the height of the horizontal scroll bar.

Returns:
the height of the horizontal scroll bar
See Also:
ScrollPane.getHScrollbarHeight()

getVScrollbarWidth

int getVScrollbarWidth()
Class is disabled.

Returns the width of the vertical scroll bar.

Returns:
the width of the vertical scroll bar
See Also:
ScrollPane.getVScrollbarWidth()

setScrollPosition

void setScrollPosition(int x,
                       int y)
Class is disabled.

Sets the scroll position of the child.

Parameters:
x - the X coordinate of the scroll position
y - the Y coordinate of the scroll position
See Also:
ScrollPane.setScrollPosition(int, int)

childResized

void childResized(int w,
                  int h)
Class is disabled.

Called when the child component changes its size.

Parameters:
w - the new width of the child component
h - the new height of the child component
See Also:
ScrollPane.layout()

setUnitIncrement

void setUnitIncrement(Adjustable adj,
                      int u)
Class is disabled.

Sets the unit increment of one of the scroll pane's adjustables.

Parameters:
adj - the scroll pane adjustable object
u - the unit increment
See Also:
ScrollPaneAdjustable.setUnitIncrement(int)

setValue

void setValue(Adjustable adj,
              int v)
Class is disabled.

Sets the value for one of the scroll pane's adjustables.

Parameters:
adj - the scroll pane adjustable object
v - the value to set