StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.comp.jawt.peer
Class ScrollPanePeer

java.lang.Object
  |
  +--com.sun.star.comp.jawt.peer.ComponentPeer
        |
        +--com.sun.star.comp.jawt.peer.ContainerPeer
              |
              +--com.sun.star.comp.jawt.peer.ScrollPanePeer
All Implemented Interfaces:
java.awt.peer.ComponentPeer, java.awt.peer.ContainerPeer, java.awt.peer.ScrollPanePeer, sun.awt.UpdateClient, com.sun.star.comp.jawt.peer.WinArgs

synchronized class ScrollPanePeer
extends com.sun.star.comp.jawt.peer.ContainerPeer
implements java.awt.peer.ScrollPanePeer


Field Summary
private static boolean DEBUG
           
(package private)  int SCROLLBAR_WIDTH
           
private  int componentXWindowPeerRef
           
private  int componentXWindowRef
           
private  int containerXWindowRef
           
(package private)  com.sun.star.comp.jawt.peer.AdjustmentListener hAdjustmentListener
           
private  int hXScrollbarRef
           
private  int hXWindowRef
           
(package private)  boolean ignore
           
(package private)  com.sun.star.comp.jawt.peer.AdjustmentListener vAdjustmentListener
           
private  int vXScrollbarRef
           
private  int vXWindowRef
           
 
Fields inherited from class com.sun.star.comp.jawt.peer.ContainerPeer
containerListenerId, xContainerRef
 
Fields inherited from class com.sun.star.comp.jawt.peer.ComponentPeer
POSSIZE_HEIGHT, POSSIZE_POS, POSSIZE_POSSIZE, POSSIZE_SIZE, POSSIZE_WIDTH, POSSIZE_X, POSSIZE_Y, VCL_BUTTONLEFT_MASK, VCL_BUTTONMIDDLE_MASK, VCL_BUTTONRIGHT_MASK, VCL_MOD1_MASK, VCL_MOD2_MASK, VCL_SHIFT_MASK, disposed, focusListenerId, font, fontMetricsImpl, instances, keyListenerId, listenersAdded, mouseListener, mouseMotionListenerId, paintListenerId, target, toolkit, updateX1, updateX2, updateY1, updateY2, windowListener, xDeviceRef, xInterfaceRef, xLayoutConstraintsRef, xVclWindowPeerRef, xWindowPeerRef, xWindowRef
 
Fields inherited from interface com.sun.star.comp.jawt.peer.WinArgs
WA_BORDER, WA_CENTER, WA_CLOSEABLE, WA_DEFBUTTON, WA_DEF_CANCEL, WA_DEF_NO, WA_DEF_OK, WA_DEF_RETRY, WA_DEF_YES, WA_DROPDOWN, WA_FULLSIZE, WA_GROUP, WA_HSCROLL, WA_LEFT, WA_MINSIZE, WA_MOVEABLE, WA_NONE, WA_OK, WA_OK_CANCEL, WA_OPTIMUMSIZE, WA_PASSWORD, WA_READONLY, WA_RETRY_CANCEL, WA_RIGHT, WA_SHOW, WA_SIZEABLE, WA_SORT, WA_SPIN, WA_VSCROLL, WA_YES_NO, WA_YES_NO_CANCEL
 
Constructor Summary
ScrollPanePeer(java.awt.Component c, com.sun.star.comp.jawt.peer.Toolkit t)
           
 
Method Summary
(package private) static boolean access$0()
           
protected  void addListener()
           
(package private)  void cb_hAdjustmentValueChanged(int i)
           
(package private)  void cb_vAdjustmentValueChanged(int i)
           
 void childResized(int i1, int i2)
           
protected  void createListener()
           
protected  void deleteListener()
           
 void freeInterface()
           
(package private)  java.awt.Dimension getChildSize()
           
 int getHScrollbarHeight()
           
 java.awt.Dimension getMinimumSize()
           
 java.awt.Dimension getPreferredSize()
           
private  java.awt.Component getScrollChild()
           
 int getVScrollbarWidth()
           
 int getXWindowRef()
           
(package private)  void relayout(java.awt.Dimension d)
           
protected  void removeListener()
           
 void setBounds(int i1, int i2, int i3, int i4)
           
protected  void setProperties()
           
 void setScrollPosition(int i1, int i2)
           
 void setUnitIncrement(java.awt.Adjustable a, int i)
           
 void setValue(java.awt.Adjustable a, int i)
           
 
Methods inherited from class com.sun.star.comp.jawt.peer.ContainerPeer
beginValidate, cb_componentAdded, cb_componentRemoved, countChildren, createInterface, endValidate, getChild, getInsets, insets, print
 
Methods inherited from class com.sun.star.comp.jawt.peer.ComponentPeer
addRepaintArea, cb_focusGained, cb_focusLost, cb_keyPressed, cb_keyReleased, cb_keyTyped, cb_mouseDragged, cb_mouseMoved, cb_repaint, checkImage, createImage, createImage, createWindowDescriptor, disable, dispose, enable, finalize, getBounds, getColorModel, getFontMetrics, getGraphics, getLocationOnScreen, getTarget, getToolkit, getXDeviceRef, getXInterfaceRef, getXVclWindowPeerRef, getXWindowPeerRef, handleEvent, hide, inherit, init, invalidate, isFocusTraversable, mapModifiers, minimumSize, paint, postEvent, preferredSize, prepareImage, repaint, requestFocus, reshape, setBackground, setCursor, setEnabled, setFont, setForeground, setVisible, show, toString, update, updateClient
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.peer.ContainerPeer
beginValidate, endValidate, getInsets, insets
 
Methods inherited from interface java.awt.peer.ComponentPeer
checkImage, createImage, createImage, disable, dispose, enable, getColorModel, getFontMetrics, getGraphics, getLocationOnScreen, getToolkit, handleEvent, hide, isFocusTraversable, minimumSize, paint, preferredSize, prepareImage, print, repaint, requestFocus, reshape, setBackground, setCursor, setEnabled, setFont, setForeground, setVisible, show
 

Field Detail

DEBUG

private static final boolean DEBUG

SCROLLBAR_WIDTH

final int SCROLLBAR_WIDTH

componentXWindowPeerRef

private int componentXWindowPeerRef

componentXWindowRef

private int componentXWindowRef

containerXWindowRef

private int containerXWindowRef

hAdjustmentListener

com.sun.star.comp.jawt.peer.AdjustmentListener hAdjustmentListener

hXScrollbarRef

private int hXScrollbarRef

hXWindowRef

private int hXWindowRef

ignore

boolean ignore

vAdjustmentListener

com.sun.star.comp.jawt.peer.AdjustmentListener vAdjustmentListener

vXScrollbarRef

private int vXScrollbarRef

vXWindowRef

private int vXWindowRef
Constructor Detail

ScrollPanePeer

public ScrollPanePeer(java.awt.Component c,
                      com.sun.star.comp.jawt.peer.Toolkit t)
Method Detail

access$0

static boolean access$0()

addListener

protected void addListener()

cb_hAdjustmentValueChanged

void cb_hAdjustmentValueChanged(int i)

cb_vAdjustmentValueChanged

void cb_vAdjustmentValueChanged(int i)

childResized

public void childResized(int i1,
                         int i2)
Specified by:
childResized in interface java.awt.peer.ScrollPanePeer

createListener

protected void createListener()

deleteListener

protected void deleteListener()

freeInterface

public void freeInterface()

getChildSize

java.awt.Dimension getChildSize()

getHScrollbarHeight

public int getHScrollbarHeight()
Specified by:
getHScrollbarHeight in interface java.awt.peer.ScrollPanePeer

getMinimumSize

public java.awt.Dimension getMinimumSize()
Specified by:
getMinimumSize in interface java.awt.peer.ComponentPeer

getPreferredSize

public java.awt.Dimension getPreferredSize()
Specified by:
getPreferredSize in interface java.awt.peer.ComponentPeer

getScrollChild

private java.awt.Component getScrollChild()

getVScrollbarWidth

public int getVScrollbarWidth()
Specified by:
getVScrollbarWidth in interface java.awt.peer.ScrollPanePeer

getXWindowRef

public int getXWindowRef()

relayout

void relayout(java.awt.Dimension d)

removeListener

protected void removeListener()

setBounds

public void setBounds(int i1,
                      int i2,
                      int i3,
                      int i4)
Specified by:
setBounds in interface java.awt.peer.ComponentPeer

setProperties

protected void setProperties()

setScrollPosition

public void setScrollPosition(int i1,
                              int i2)
Specified by:
setScrollPosition in interface java.awt.peer.ScrollPanePeer

setUnitIncrement

public void setUnitIncrement(java.awt.Adjustable a,
                             int i)
Specified by:
setUnitIncrement in interface java.awt.peer.ScrollPanePeer

setValue

public void setValue(java.awt.Adjustable a,
                     int i)
Specified by:
setValue in interface java.awt.peer.ScrollPanePeer

StarOffice 5.2 API
reverse engineered by classdoc