com.datamessenger.awt
Class DMScrollPane


java.lang.Object

  |

  +--java.awt.Component

        |

        +--java.awt.Container

              |

              +--com.datamessenger.awt.DMPanel

                    |

                    +--com.datamessenger.awt.DMScrollPane

Direct Known Subclasses:
DMTable

public class DMScrollPane
extends DMPanel
implements java.awt.event.AdjustmentListener, DMConstants

See Also:
Serialized Form

Field Summary
protected  DMPanel body
           
static java.lang.String center
           
protected  DMComponent header
           
protected  DMScrollbar hscroll
           
static java.lang.String left
           
protected  DMComponent runner
           
static java.lang.String top
           
protected  DMPanel viewport
           
protected  Layout viewportLayout
           
protected  DMScrollbar vscroll
           
 
Fields inherited from class com.datamessenger.awt.DMPanel
colors, pane
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.datamessenger.awt.graphics.DMConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, BOTH, BOTTOM, CENTER, HORIZONTAL, LEFT, MIDDLE, NONE, RIGHT, TOP, VERTICAL
 
Constructor Summary
DMScrollPane(int srolltype)
           
 
Method Summary
protected  void addImpl(java.awt.Component comp, java.lang.Object constraints, int index)
           
 void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
           
 void doLayout()
           
 AdjustableLayout getHorizontal()
           
 java.awt.Dimension getMinimumSize()
           
 java.awt.Rectangle getScrollBounds()
           
 java.awt.Point getScrollPosition()
           
 AdjustableLayout getVertical()
           
 DMPanel getViewport()
           
 Layout getViewportLayout()
           
 java.awt.Rectangle getVisibleBounds()
           
 void setScrollPosition(int x, int y)
           
 void setViewportLayout(Layout l)
           
 
Methods inherited from class com.datamessenger.awt.DMPanel
addNotify, getColorScheme, getComponent, getGraphicsPane, getLayoutBounds, paint, setColorScheme, setGraphicsPane, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setCursor, setFont, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

top


public static final java.lang.String top

left


public static final java.lang.String left

center


public static final java.lang.String center

hscroll


protected DMScrollbar hscroll

vscroll


protected DMScrollbar vscroll

body


protected DMPanel body

header


protected DMComponent header

runner


protected DMComponent runner

viewport


protected DMPanel viewport

viewportLayout


protected Layout viewportLayout
Constructor Detail

DMScrollPane


public DMScrollPane(int srolltype)
Method Detail

getViewportLayout


public Layout getViewportLayout()

setViewportLayout


public void setViewportLayout(Layout l)

getViewport


public DMPanel getViewport()

getVertical


public AdjustableLayout getVertical()

getHorizontal


public AdjustableLayout getHorizontal()

getScrollPosition


public java.awt.Point getScrollPosition()

setScrollPosition


public void setScrollPosition(int x,

                              int y)

getScrollBounds


public java.awt.Rectangle getScrollBounds()

getVisibleBounds


public java.awt.Rectangle getVisibleBounds()

getMinimumSize


public java.awt.Dimension getMinimumSize()
Overrides:
getMinimumSize in class DMPanel

doLayout


public void doLayout()
Overrides:
doLayout in class DMPanel

adjustmentValueChanged


public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
Specified by:
adjustmentValueChanged in interface java.awt.event.AdjustmentListener

addImpl


protected void addImpl(java.awt.Component comp,

                       java.lang.Object constraints,

                       int index)
Overrides:
addImpl in class java.awt.Container


Comments, suggestions, and bug reports are welcomed and encouraged.
Please refer them to our support page. Thank you.

Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.